💬 AC-DC double solid state relay module
-
found 250V 0.25A o aliexpress - i believe this will be good enough - http://tiny.cc/h4fpiy
-
Hi @aproxx , very nice module! Just one question: after studying the board I still not quite understand how an existing light switch needs to be connected. There are 3 connecters, one for AC and two relays. Where do I connect the light switch to?
Cheers! Sacha
@Sacha-Telgenhof : It also took me bit of time. It is the PINs on the board 7 GND 4 for two switches 7 and 4 are the digital inputs on arduino.
-
hey @Aproxx, nice project, do you think a current sensor could be added to the PCB to monitor electrical consumption. the idea of adding triact to the circuit by @overlordt seems to work theoretically.
-
My parts are on the way and I"m looking forward to trying this one out. Thanks for sharing this project!!
-
I can't understand (scrub here) how to wire the regular light switch to the board.
Supposing I want to use only one relay, I have to wire the switch to the 7 PIN and GND right? -
I can't understand (scrub here) how to wire the regular light switch to the board.
Supposing I want to use only one relay, I have to wire the switch to the 7 PIN and GND right?@Marco-Lo-Grasso said in 💬 AC-DC double solid state relay module:
Yes you have to do this, but i don't know if the sketch is working fine with the light switch ;) I haven't tested this feature yet.
Caution, the light switch don't be connected to the 230V !
-
Any suggestions for front panels on the light switches? I've connected mine to normal switches to control the relays, but I'd really like a 4-8 soft button front panel that I could also wire into GPIO's on an ESP for "scene" control outside of the local relays. Auy suggestions or experience would be great
-
Hello, I'm not sure exactly of what you want to to, but you could use software i2c on those two pins and connect and i2c keypad. You can search mpr121 keypad on google or aliexpress.
But be careful you should add an isolating cover on top of it if you connect to this board as the crepage/cleatance between main voltage and 5V/3.3V is not sufficient in some part of the board and it could end up with low voltage circuit at main voltage... -
good to know clearence isn't there ... something i could correct though
An i2c and capacity touch could work great.. but i can't find any cleanly designed front panel that I could use in place of my light switches.
-
So if I understanded right the device needs also neutral to work? That's a problem because here in Finland we only circulate the phase through light switches. Neutral goes straight to the lamps.
@Misna said in 💬 AC-DC double solid state relay module:
So if I understanded right the device needs also neutral to work? That's a problem because here in Finland we only circulate the phase through light switches. Neutral goes straight to the lamps.
Yes it does. Same problem for most people, even here in Vietnam it's the same.
Solution is to put it in ceiling connected directly to the lights, and use radio switch to control it. -
Hi,
first of all you had an great idea to user a small layout with this functions.
The protection at the AC site is very good I think.Today I get ten boards with your current gerber files (v3.3.2).
But I think it does not work as expected:- Using a 5 V Arduino and the NRF without a level switcher with 3.3 V it will be break in the future.
- The big relay routes have no protection (I don't know if solder resist is the correct word).
- Maybe as pulldown resistor to the relay input could be useful.
- The three GND and Vcc Pins are not connected to each other.
- Maybe it could usefull to use fuse sockets for the not resetable fuse.
For the voltage problem we could use an 3.3 V Arduino mini pro with 8 MHz crystal.
In this case we don't need the LDO and could use LDO from the Arduino board. -
Sorry I forgot something.
For a 3.3 V Arduino we need a MOSFET or so to drive the SSR.
But there are cheep and small SMD packages available.@hugch no you don't need MOSFET for those SSR, the high level of input is below 3.3V. I've made a board with those and a 3.3V Arduino and didn't have any problem.
For this board it's missing fuses on the SSRs, if they fail and shortcut nothing will stop the short circuit at the moment.
-
@hugch no you don't need MOSFET for those SSR, the high level of input is below 3.3V. I've made a board with those and a 3.3V Arduino and didn't have any problem.
For this board it's missing fuses on the SSRs, if they fail and shortcut nothing will stop the short circuit at the moment.
@Nca78 My SSRs are with 5 V level but one with 3.3 V level would be better. You are right.
And the fuses are important but i think the step down have an over current protection, but a PTC could useful.
But a MOSFET or equal is also required:
It is not a good idea to drive current intensive peripheral directly with an micro controller.
The absolute maximum ratings for an ATmega328p is 40 mA. And a SSR is using 25 mA or so.
The better choice is using a driver or a simple transistor circuit.To drive the SSR directly would not damage the controller at this moment, but your are decrease the lifetime.
And the lifetime for an in wall module or so is very important. -
Hello!!, my name is Alejandro, I'm from Spain and I have been working on something quite similar to this project. I would like to contribute to reach a final design. What I have done until now is a prototype board similar than yours and I would like to add a top board with touch buttons to fit into Livolo glass panel switch.
https://es.aliexpress.com/store/product/Free-Shipping-Livolo-Luxury-White-Pearl-Crystal-Glass-151mm-80mm-EU-standard-Double-Glass-Panel-VL/500715_1684198410.html?spm=2114.12010608.0.0.6cyWwJAnd try to do something like this also including ws2812 rgb led for touchpad and a small speaker just to sound someting when touch the button.
https://z-uno.z-wave.me/projects/sensor-wall-switch-based-on-livolo-glass/
My development is based on ESP8266 without rf communication but as I have progressed I have checked that Wifi connection is a complex system compared to rf so I am thinking to change to arduino or esp + nrf.
-
What's happening if you switch it on then off in domoticz ?