πŸ’¬ AC-DC double solid state relay module


  • Hardware Contributor

    @XerOps do you have 230V on the input pins of the HLK ?



  • @Nca78 Well yeah, trough a completly soldered board tough, with both fuses and the varsisitator.



  • Hi,

    Many thanks for sharing this project!

    Is this also possible to post a picture of the other side of the PCB in order to get a better idea on how the Arduino is soldered?

    Kind regards,


  • Hardware Contributor



  • @laucarlier

    Hi Tonerre33,

    Thanks a lot for sharing the picture of your project!

    I really like the idea of the way you put the PSU and the arduino so that you win a lot of space!

    Kind regards,



  • Hi,

    it is very cool project. I assembled one but when I test it this is what I get:

    16:18:39.980 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:READ,101-101-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    16:18:39.981 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:BC
    16:18:39.982 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=101
    16:18:39.985 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:PNG:SEND,TO=0
    16:18:39.988 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:CKU:OK
    16:18:39.993 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:GWL OK
    16:18:40.963 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;Will not sign message for destination 101 as it does not require it
    16:18:41.004 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;!TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    16:18:41.010 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:READ,12-12-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    16:18:41.013 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:PINGED,ID=12,HP=1
    16:18:41.018 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;Skipping security for command 3 type 25
    16:18:41.029 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    16:18:44.038 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:READ,101-101-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    16:18:44.039 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:BC
    16:18:44.040 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=101
    16:18:44.041 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:CKU:OK,FCTRL
    16:18:44.044 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:GWL OK
    16:18:44.974 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;Will not sign message for destination 101 as it does not require it
    16:18:45.016 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;!TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0

    I guess it shows that radio has unreliable power. Please advise how should I debug?

    regards



  • The problem dissapeared when I changed 4.7uf capacitator to 47uf. works great!



  • Where to find a sketch with temperature read?


  • Mod

    @rzylius could you be a bit more specific? Do you want a way to read the temperature of the solid state relay?


  • Hardware Contributor



  • Hello,

    Thank you for sharing this project. I have built it and am testing it on my outdoor lights.
    .
    I have three issues I can't seem to figure out and am hoping others may have had similar problems and figured out a fix.

    First some background. I built a double relay board and have 120V 60 hz power. I am controlling it through MyNodes 2.0. I am using an unedited version of the source code. My networks includes about 7 other nodes that are only measuring temperature. Half of them are set up to be repeater nodes. I was suspicious that I may be getting interference from the other nodes causing the problem but have had the same problems with the other nodes disabled.

    Here are the issues I am trying to fix.

    1. I am finding that the relays will not stay in the position they are controlled to be in. Mostly they close when controlled to be open but also they are opening when controlled to be closed.
    2. When in a closed state relay 1 flickers every few minutes. I have replaced this relay and still have the same issue.
    3. The hardwired switch control isn't working for me work. The switch only causes a flicker in the lights.

    Any suggestions? For me Half of the fun in the projects is trouble shooting and making them work. I'll send updates on any fixes I come across.



  • Hi and Thank you for the Board!!!

    My question is, kann I user an usual old fashioned Light switch or must I buy a push button??



  • @nca78
    I used the code and it worked well with the remote control.-
    I can switch a LED (for testing purposes attached instead of a SSR) on and off.
    If I want to switch the LED with a push button I fail.

    This is what I have changed:

    #define RELAY_PIN 4 // Arduino Digital I/O pin number for relay
    #define RELAY_PIN_2 5
    #define BUTTON_PIN 3 // Arduino Digital I/O pin number for button
    #define BUTTON_PIN_2 7

    And this is the serial output I get, after I press the button:

    This is an ack from gateway
    1107867 TSF:MSG:SEND,10-10-0-0,s=111,c=1,t=2,pt=1,l=1,sg=0,ft=0,st=OK:1
    Sensor value changed, source=Physical switch, Sensor=111, New status: 0
    1107877 TSF:MSG:READ,0-0-10,s=111,c=1,t=2,pt=1,l=1,sg=0:1
    1107888 TSF:MSG:ACK
    This is an ack from gateway
    1108520 TSF:MSG:SEND,10-10-0-0,s=111,c=1,t=2,pt=1,l=1,sg=0,ft=0,st=OK:1
    Sensor value changed, source=Physical switch, Sensor=111, New status: 1
    1108531 TSF:MSG:READ,0-0-10,s=111,c=1,t=2,pt=1,l=1,sg=0:1
    1108541 TSF:MSG:ACK
    This is an ack from gateway



  • Hi,
    Any particular reason for the values of the thermal cut-offs? (73ΒΊC, 10A)?
    This temperature (73ΒΊC) makes it difficult to solder, I've burned a couple when trying to solder it... And why 10A? Shouldn't we get a lower current? I know the other fuse is limiting the current to 0.2A, but if we have a lower current on this one we may get cheaper components... Wouldn't this one, for instance, do the same function? https://www.ebay.com/itm/10-Pcs-Fuji-Microtemp-Thermal-Fuse-115-TF-Cutoff-1A-250V-New/322657006381

    If the PCB is inside a box, without any lossen wires, couldn't we limit the temperature to a sliglhly higher value (115ΒΊC)?

    Thanks


  • Hardware Contributor

    Hello @joaoabs,

    I think it is based on measurements here :
    https://lygte-info.dk/review/Power Mains to 5V 0.6A Hi-Link HLK-PM01 UK.html

    As you can see when he tests at full load (0.6A) for a long time, max temperature is a bit over 60Β°C. So temperature should not be too much higher than that if you want to detect abnormal overheating. 115Β° is higher than what is measured at the hottest point on the top of the enclosure after 15mn overloading at twice the maximum load, so I don't think it's safe to use a temp fuse that high.

    For the max current there might be a short inrush current when switching on, so 1A could be a bit low (and that's why the other fuse is a slow blow fuse), but feel free to try and report πŸ™‚



  • This looks like a great PCB and I'm interested in ordering a few from DirtyPCBs, however OpenHardware.io shows this project as "Work in Progress". Are there any plans to do additional updates to this PCB?



  • Hi,
    did you consider redesigning the PCB using mini nrf24l01+ like this:
    alt text
    It could compact the size of the whole device. Moreover it would be great to have GND and Vcc (3.3V or 5V), and 4 GPIO (ie. 2 analog, 2 digital) pins led out on the PCB (there are 6 holes on the edge not used as I understand?). It would be great to have an option to connect some additional sensors (I use 2 dht22 sensors for environment monitoring in some projects).



281
Online

8.3k
Users

9.1k
Topics

96.7k
Posts