Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.

Arduino based LDR volume and source selection controller
Arduino based LDR volume and source selection controller
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 16th November 2015, 09:26 AM   #101
Vincent77 is offline Vincent77  Europe
diyAudio Member
 
Vincent77's Avatar
 
Join Date: Jan 2011
Location: Bruxelles
Quote:
Originally Posted by tfboy View Post
Taking for example the variable trimmer pot RT1, let's say pin 1 is at the top and goes to Bias, pins 2 (middle variable one) and 3 are shorted together and go to R5, C2, C14, R6 and R8.

Looking at the Eagle PCB routing, the Bias pin 1 next to the pot screw is shorted with the middle pin 2. Pin 3 goes to R5, C2, C14...

So the PCB drawing shorts pins 1 and 2 whereas the schematic shorts pins 2 and 3.

Have I misunderstood something?
Hi,

You are right, the schematic and the board are not coherent about the direction of the trimmer pots. But it doesn't matter in fact, it works the same either way!

The pin numbers you added to the schematic are wrong - the arrow points from pin 1 to pin 3. So both the schematic and the board short pins 1 and 2, but the orientation is not the same. It works the same because it's just a variable resistor.
  Reply With Quote
Old 16th November 2015, 03:52 PM   #102
tfboy is offline tfboy  United Kingdom
diyAudio Member
 
Join Date: Feb 2006
Location: Reading, Berkshire
I thought as much, just wanted to check with the designer
Thanks for confirming
  Reply With Quote
Old 21st November 2015, 02:47 PM   #103
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
Arduino based LDR volume and source selection controller
Any possibility to obtain a fully assembled board? I'd be interested to go this route.

If the answer is no: what are alternative LDR boards? I am aware of the Tortuga Kit – anything else out there?
__________________
------
Group buy for augerpro waveguides for Scan Speak tweeters -- elliptical version -- circular version
  Reply With Quote
Old 21st November 2015, 03:02 PM   #104
Vincent77 is offline Vincent77  Europe
diyAudio Member
 
Vincent77's Avatar
 
Join Date: Jan 2011
Location: Bruxelles
Quote:
Originally Posted by mbrennwa View Post
Any possibility to obtain a fully assembled board? I'd be interested to go this route.

If the answer is no: what are alternative LDR boards? I am aware of the Tortuga Kit anything else out there?
There is wapo54001's LDR attenuator here on diyAudio, but without channel switching. http://http://www.diyaudio.com/forum...ttenuator.html
  Reply With Quote
Old 23rd November 2015, 04:59 PM   #105
Vincent77 is offline Vincent77  Europe
diyAudio Member
 
Vincent77's Avatar
 
Join Date: Jan 2011
Location: Bruxelles
Quote:
Originally Posted by wineds View Post
I am using IDE 1.6.5 in case that matters?

This is the cause you had problems with the remote - the newer Arduino IDE has changed the way "pulseIn" works. I developed the code using IDE 1.6.1.

So, please download version 1.6.1 from here: https://www.arduino.cc/en/Main/OldSo...eases#previous
  Reply With Quote
Old 23rd November 2015, 05:42 PM   #106
Vincent77 is offline Vincent77  Europe
diyAudio Member
 
Vincent77's Avatar
 
Join Date: Jan 2011
Location: Bruxelles
I have updated the project with the latest information.

Changelog:
- updated wrong pin header quantity in the BOM
- added LCD contrast adjustment information
- measuring the LDR R values and the +5v supply during setup are now optional (but recommended)
- the code is to be compiled with Arduino IDE v1.6.1 only!
Attached Files
File Type: zip VxD LDR Controller rev1.zip (930.5 KB, 1182 views)
File Type: zip Arduino libraries.zip (512.4 KB, 599 views)
  Reply With Quote
Old 25th November 2015, 01:40 PM   #107
Jeffs is offline Jeffs  United States
diyAudio Member
 
Join Date: Oct 2011
Location: Austin
Arduino based LDR volume and source selection controller
I don't see how else to subscribe to this thread other than to reply.
Looks interesting, might be time to start on my first Arduino project.
  Reply With Quote
Old 2nd December 2015, 12:19 AM   #108
wineds is offline wineds  Australia
diyAudio Member
 
Join Date: Apr 2006
Location: Melbourne
I received the input boards from ShenZhen2U a few days ago and have ordered parts...
Attached Images
File Type: jpg IMAG3158.jpg (807.6 KB, 2740 views)
  Reply With Quote
Old 2nd December 2015, 12:02 PM   #109
tfboy is offline tfboy  United Kingdom
diyAudio Member
 
Join Date: Feb 2006
Location: Reading, Berkshire
Vincent, presumably, if you manually programmed the response to emulate a log pot, it could be tweaked to have a more linear attenuation? I have some ideas that would work better with a linear behaviour I'd like to experiment with.

I'll start looking at the code to see if I can figure it out, but if you know for a fact it's not possible (one would have to start from scratch), it would be great to know.

Thanks
  Reply With Quote
Old 2nd December 2015, 01:33 PM   #110
Vincent77 is offline Vincent77  Europe
diyAudio Member
 
Vincent77's Avatar
 
Join Date: Jan 2011
Location: Bruxelles
Quote:
Originally Posted by tfboy View Post
Vincent, presumably, if you manually programmed the response to emulate a log pot, it could be tweaked to have a more linear attenuation?
It's very easy to do: in the function float getAttFromStep(byte step) , line 908, the local variable "p" contains the linear attenuation.

So you comment out the lines 910 to 915 and add the line:
return p;

You'll get a linear attenuation this way.
  Reply With Quote

Reply


Arduino based LDR volume and source selection controllerHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Modified PGA2311 kit with Arduino for volume control and input selection cjkpkg Analog Line Level 29 17th September 2019 12:04 PM
Passive Preamp: Arduino based, remote control, Relay R2R, input selection maxw Analog Line Level 104 18th July 2019 10:13 AM
LDR Based Input Selection udailey Analog Line Level 27 8th November 2018 04:37 PM
Source select and passive volume for microcontroller-based preamp? vputz Analog Line Level 3 21st July 2012 11:51 AM
WTB: LDR-based volume control / pre jdubs Swap Meet 7 2nd December 2010 02:50 AM


New To Site? Need Help?

All times are GMT. The time now is 12:41 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio
Wiki