Arduino based LDR volume and source selection controller

Why single sided? Also, why not use darlington transistor array (e.g. ULN2003) to ease the relay control and save some more PCB space? I would also "straighten" the layout a bit and group the control pins together. You also seems to have electrolytic capacitors in series with the relay coils... Which relays are you using? Without the schematic it is hard to see what is implemented.

Regards,
Oleg
 
Here we are, here's a version of the latest firmware but including the following changes:

  • Modified to support both 2004 and 1602 LCD display sizes by updating LCDCOLUMNS and LCDROWS constant values (3 x 2 font credited to digimike, Arduino forum user)
  • Added constants for cursor character and LCD address
  • Added support for IR remote repeat code '4' as seen on some clone remotes

The main reason for the change has been to enable support for 1602 LCD displays due to the difficulty had in sourcing suitable cases for 2004 LCDs. Cases that support 1602 LCDs are available from multiple sources.

Thanks
Chris

Nice work Chris! Can you elaborate on 1602 display support? Have you tested it? If so with which display?
 
Nice work Chris! Can you elaborate on 1602 display support? Have you tested it? If so with which display?

Hi, sure the changes to support 1602 displays are as follows:

  • Dynamic positioning of display text depending on specified display size
  • Addition of a smaller-height double-digit font which will be used instead when using a 1602 display.
  • Implementation of paging of setup menus and pages when using a 1602 display

I have fully tested the code on each type of display. I've also tested different combinations of number of inputs and outputs to ensure correct display positioning.

There's a brief demo of my unit here:

https://www.youtube.com/watch?v=YdbP6XfOub4

I have been using a 1602 display with I2C board, something like this would be fine:

TWI Interface 1602 Serial Character LCD Module Display Blue IIC I2C SPI | eBay

The main reason for 1602 support was to take advantage of cases that are already available. Pre-drilled cases for 2004 LCDs don't appear to be common:

1706 F6 preamp chassis Full Aluminum amplifier Enclosure/mini AMP case/dac box | eBay

I don't think that the PSU board with specified transformer and smothing capacitors will fit into that chassis (too tall), so I'm planning on obtaining a small 50VA toroidal transformer to mount directly to the base of the chassis.

Chris
 
Last edited:
Excellent! Thanks Chris. I have ordered a 1602 display to try.... I actually have a taller version of the case you linked above. But its no longer available with display cutouts and back panel drilled 🙁

Great, would be great to hear how you get on.

One thing to watch is the chip used on the I2C board as this could be one of two types and they have different address ranges. Caught me out when I connected the 1602 display for the first time. 🙂
 
I did a 12 in / 2 out (6x stereo) PCB based on Vincent's design. Also added the latching functionality which works well apart from a silly inversion mistake 😱

i-FpG8qjr-L.png