I am currently working on a home control system with an Arduino Mega + ethernet shield.
My entire house makes use of Eltako modules to control the lights, dimmers, blinds,...
Now, since my wiring is made with the loads on the high side, I am forced to go with a pnp transistor to control the Eltako modules. The Arduino is effectively working in parallel with the other push buttons around the house to control the lights in different locations.
The current schematic is as shownbelow. However, the Eltako is not really a normal relay, so I don't think I'll have issues like flyback current (but I added a diode anyhow, just to be sure). The current when switching the Eltako's ranges from 0,1mA -> 0,3mA (depending on the type of module)
Now for the question:
I'm a bit afraid of connecting the 24V circuit ground to the Arduino ground. Should I add some kind of isolation between the power and arduino circuit, or am I being overprotective? How big is the risk of frying my Arduino with this setup?
To be clear, I tested this set up already for 4 outputs and it worked beautifully. In the final set up, I will have something around 35 of these circuits to control everything. On the Arduino side this shouldn't be a problem, as I am only sending pulses of ±150ms to one output at a time.
I am no electronics expert, so any suggestion on this or alternative solutions are very much apprectiated!
Örtliche Universal-Steuerspannung 8..230 V UC. Mit zusätzlichen Universalspannungs-Steuerein- gängen zentral ein und aus für 8..230 V UC, von den örtlichen Steuereingängen galvanisch getrennt.
From a 24V eltako transformer.
All the push buttons are also powered with the same transformer, and also some other eltake devices which work on 24V DC (like the staircase switches & timers).
PSS6:
Either way, would an optocoulpler on the eltako side matter? I would still have the 24V ground & Arduino ground connected?
You would be completely isolated. You would not have to share a ground between your device and the Arduino. The only thing that would be connected to the Arduino will be the LED in the optocoupler.
Thanks for the info.
I guess my reasoning was that in this way, no current would be able to flow backwards towards the circuit. But with the optocouplers I eliminate the risk of frying my Arduino altogether, so a diode won't be needed.
PSS6:
I guess my reasoning was that in this way, no current would be able to flow backwards towards the circuit. But with the optocouplers I eliminate the risk of frying my Arduino altogether, so a diode won't be needed.
You clearly have not understood at all what the diode is for.