Arduino based LDR volume and source selection controller

Hi bodo,

Ok i undestand.
So i am interesting by your setup guide !
Thank you.

nounouchet

Here comes the setup guide. I have to thank Vincent77 for getting this project started.

Bulding a 6 channel volume control based on the VxD boards:

- Build 3 VxD boards. One board will act as the master, two boards will act as slaves. Only one LCD display, one rotary encoder and one IR receiver is needed.
You can use a common (bigger) power supply for all channels.

- Solder a wire to the tx pin of the master board (blue wire on photo).
- Solder a wire to the rx pin of each slave board (yellow wire on photo).
- Upload the master software (firmware_LDR_v1_multi3) to the arduino of the master board.
- Connect power supply display, rotary encoder and power supply to the board.
- Run setup and calibration process on the master board.
- Turn the rotary encoder while watching the tx led on the arduino. The led should be flashing as long as you turn the rotary encoder.
- Upload the slave software (firmware_LDR_v1_slave3) to the arduino of the first slave board.
- Connect power supply display, rotary encoder and power supply to the board.
- Run setup and calibration process on the slave board.
- Repeat the procedure for the second slave board.
- Connect power supply to all boards, connect blue wire of the master board to yellow wires of the slave boards. Connect display and rotary encoder to master bord.
- Power up all boards. Turn the rotary encoder while watching the tx led on the master arduino and the rx leds on the slave arduinos. The rx leds should show the same flash sequence as the tx led but slightly delayed.
- Connect the volume control to your audio system.


Drawback of the current implementation:

- Code of master and slaves are based on the initial sketch provided by Vincent77 including some modifications regarding the handling of the rotary encoder. There is no

support for OLED displays
- There is no individual volume adjustment of single channels. All channels will show up the same attenuation.
- The code for serial communication needs additional memory. Using more then 40 volume steps might cause problems, as the arduinos might be running out of memory.

bodo
 

Attachments

  • firmware_LDR_v1_multi3.zip
    16.6 KB · Views: 97
  • firmware_LDR_v1_slave3.zip
    15.4 KB · Views: 84
  • arduino_serial.JPG
    arduino_serial.JPG
    69.6 KB · Views: 717