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 19th September 2018, 03:45 PM   #1071
zdr is offline zdr  Belgium
diyAudio Member
 
zdr's Avatar
 
Join Date: Nov 2005
Location: Brussels, Beograd
I have another finished set for sale, pm me if interested.
__________________
Neb. [LDR Volume Control OLED firmware:]
https://drive.google.com/open?id=0B7...ENmRXNYUEtySVE
  Reply With Quote
Old 21st September 2018, 11:26 PM   #1072
zdr is offline zdr  Belgium
diyAudio Member
 
zdr's Avatar
 
Join Date: Nov 2005
Location: Brussels, Beograd
I found few serious bugs in the code:

1: If you set a volume in upper half and try to set bias, you will notice that lower LDRs (shunts) are way off. It's because the upper half of the volume values set LDRs range to high, causing shunt resistance to fail to be set properly. Workaround is to do bias setting with volume below 20. Fix will be to set the volume to 0 when entering setup menu, and to restore on exit.

2: Power off detect routine triggers saving of IO values into EEPROM. If you play trigger happy with power switch, not only that values might not get saved, it erases the whole EEPROM, and sometimes, even the whole program memory. It happened as often as in 1 attempt out of 10, on two different boards. I'm not sure if this is a problem with some Atmel batch, but I will kill this routine anyway and save values when screensaver kicks in instead. I will also try to rotate EEPROM address locations for IO and volume, to prolong it's lifespan.
__________________
Neb. [LDR Volume Control OLED firmware:]
https://drive.google.com/open?id=0B7...ENmRXNYUEtySVE

Last edited by zdr; 21st September 2018 at 11:30 PM.
  Reply With Quote
Old 22nd September 2018, 09:04 AM   #1073
nori1000 is offline nori1000  Austria
diyAudio Member
 
Join Date: Dec 2015
Location: Dornbirn
I understand this correctly, if I use the VxD_OLED_5x2 I can use the board for 5 inputs, but which is the fifth input?
  Reply With Quote
Old 30th September 2018, 04:35 PM   #1074
voxxonline is offline voxxonline  United Kingdom
diyAudio Member
 
voxxonline's Avatar
 
Join Date: Aug 2012
Location: Epsom, Surrey
Arduino based LDR volume and source selection controller
Gents, hoping to get back into hobby after long break.
I have Versatile and comfortable passive pre-amp ldr assembled and tested.
Can anybody give me quick heads up hpow different two approaches are and whether arduino based one is better or not.

Thank you.
__________________
How to find time to finish my projects ?
  Reply With Quote
Old 30th September 2018, 04:50 PM   #1075
voxxonline is offline voxxonline  United Kingdom
diyAudio Member
 
voxxonline's Avatar
 
Join Date: Aug 2012
Location: Epsom, Surrey
Arduino based LDR volume and source selection controller
And another one. For guys who use myref fremen with ldr and dcg3, what is the point of dcg3 in this chain?
__________________
How to find time to finish my projects ?
  Reply With Quote
Old 30th September 2018, 08:28 PM   #1076
zdr is offline zdr  Belgium
diyAudio Member
 
zdr's Avatar
 
Join Date: Nov 2005
Location: Brussels, Beograd
I haven't tried the other one, but it seems to be based either on motor pot or lightspeed attenuator which requires painful manual LDR matching. Nuff said.
__________________
Neb. [LDR Volume Control OLED firmware:]
https://drive.google.com/open?id=0B7...ENmRXNYUEtySVE
  Reply With Quote
Old 30th September 2018, 08:34 PM   #1077
voxxonline is offline voxxonline  United Kingdom
diyAudio Member
 
voxxonline's Avatar
 
Join Date: Aug 2012
Location: Epsom, Surrey
Arduino based LDR volume and source selection controller
It does. However I have mine assembled, just looking out for any fresh flavours
__________________
How to find time to finish my projects ?
  Reply With Quote
Old 1st October 2018, 05:54 AM   #1078
zdr is offline zdr  Belgium
diyAudio Member
 
zdr's Avatar
 
Join Date: Nov 2005
Location: Brussels, Beograd
I don't even know how lightspeed maintains the LDR current and resistance. VxD runs in constant loop to maintain the LDR resistance constant.
__________________
Neb. [LDR Volume Control OLED firmware:]
https://drive.google.com/open?id=0B7...ENmRXNYUEtySVE
  Reply With Quote
Old 1st October 2018, 06:42 AM   #1079
voxxonline is offline voxxonline  United Kingdom
diyAudio Member
 
voxxonline's Avatar
 
Join Date: Aug 2012
Location: Epsom, Surrey
Arduino based LDR volume and source selection controller
No idea how it implemented technically. Works well though
__________________
How to find time to finish my projects ?
  Reply With Quote
Old 12th October 2018, 01:37 AM   #1080
xmerlin is offline xmerlin  Italy
diyAudio Member
 
Join Date: Nov 2012
Location: Rimini
5LN01SP-AC looks discontinued, do you have found any replacement?
  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
Passive Preamp: Arduino based, remote control, Relay R2R, input selection maxw Analog Line Level 102 17th October 2017 08:05 AM
Another Modified PGA2311 kit with Arduino for volume control and input selection cjkpkg Analog Line Level 28 15th December 2015 09:21 AM
Source select and passive volume for microcontroller-based preamp? vputz Analog Line Level 3 21st July 2012 10:51 AM
LDR Based Input Selection udailey Analog Line Level 25 5th October 2011 10:03 PM
WTB: LDR-based volume control / pre jdubs Swap Meet 7 2nd December 2010 01:50 AM


New To Site? Need Help?

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


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