Arduino based LDR volume and source selection controller

Instead of MOSFETs you can always use a diffamp as the current source. A part like the LT1990, INA154 (dual)

Silonex has an equation for fitting the response, or you can derive your own. In practice, you only need 3 points for a reasonable fit. You do have to measure, however, because the parts vary from piece to piece.
 
... the two first boards...

I will use the EA ASSEMBLY eDIP128B-6LWTP (touch, wake-up on I2C).
 

Attachments

  • LDR_TOP_SKETCHUP_1.jpg
    LDR_TOP_SKETCHUP_1.jpg
    336.5 KB · Views: 2,517
Hello Vincent,

I´ve only one objection in your design: the use of the chinese display; it is not really long term availability and for some people really hard to purchase.

My idea is to modify your design by adding a LCD touchscreen display over the I2C interface (A4 and A5 pins from Arduino): one board with µC, LDR, IO´s interconnected with a 1mm ZIF connector, or other type, to a second board with supplies and LCD (the encoder is superfluous).

The candidate for this display would be from ELECTRONIC ASSEMBLY. I´ve used successfully this type of LCD with touchscreen in military application, but sorry, I´m not programmer!

They provide also OLED displays but in this case only over SPI.

ELECTRONIC ASSEMBLY - root LCD Module

Ok, you have to do some firmware modification to implement the LCD.

I know that a lot of people will then positivelly interested in a GB...

Regards,
Jean-Paul

Hello Jean-Paul,

The i2C 2004 LCD display is really easy to get and cheap - there are hundreds for sale on eBay or in Arduino-related online shops (LCD Display Blue 2004 (20x4) IIC, I2C, TWI )

But of course, any i2C display can be used, if you adapt the software.

You have a cool project going on, keep us updated!
 
... work in progress...

eDIP128B-6LWTP (with touchscreen); main power EMC filter and main power ON/OFF.

Fourth board in braining: RTC, elapsed time counter (super caps with charger), temperature sensor.

Missing something? I think about a current sensor? Anyone a schematics or tested circuit?
 

Attachments

  • LDR_3.png
    LDR_3.png
    794.6 KB · Views: 2,465
... work in progress...

eDIP128B-6LWTP (with touchscreen); main power EMC filter and main power ON/OFF.

Fourth board in braining: RTC, elapsed time counter (super caps with charger), temperature sensor.

Missing something? I think about a current sensor? Anyone a schematics or tested circuit?

Is this the display you are intending to use JP? It looks very nice but about 90 USD is quite expensive?

EA EDIP128B-6LWTP Electronic Assembly GmbH | 1481-1106-ND | DigiKey
 
You can also use the from Vincent recommended chinese LCD with free wiring!

I know this LCD very well then I use it in many military application, but you are right, it is not the cheapest!

Jp, I sincerely meant no offence to you with my previous remark. Just if you are heading towards a GB I think the cost may be a strong consideration for some people.
 
Jean-Paul asked how the I/O relay contacts are wired - see the attached examples.

The schematics are the same for input and for output channels (only the labels change, from "out" to "in".

For 2 inputs (or outputs), only one relay is used for both.
For 3 or more I/O, one relay is used for each input or output.
 

Attachments