Nice project. Even though some items are in a language I do not understand, the sketch provided me with a better understanding of the MySensors work. Thank you for making the connection of what I know and what I was having trouble understanding.
@OldSurferDude yes, you are correct. this sensor is capable of 50A continuous, which safely I would make it working at 40A max., but for such an important load as in your case I would go for a beefier one, like the ACS75x, 77x, but at this point I would also change the node's form factor for space and insulation reasons.
On my application on the RV I have a max. curr. of 13A running on a AWG14-16 cable (European rules for RVs), so I did not ask myself too many questions beside, of course, safety.
About the signal, it will be a sinusoidal signal swinging around Vcc/2.
Vcc can be easily measured internally on the ATmega328. On all my DC sensors I measure Vcc at every loop, just before measuring the ADCs.
Honestly, when the space is not an issue like in my RV, I would rather use a ring core current transformer, and I would get rid of noise, response time, power dissipation, but over all no need to cut any cable.
Long story short, it has been a nice experiment and I used it for 6 months, and then I switched back to my RF-NANO based RS485-Modbus - Mysensors bridge connected to an off-the shelf power analyzer.
Just for fun I attach a pic of my 12Vdc sensors installed on my RV. Forgive me for the spaghetti wiring on the right side, but this is an area that needs improvement.
Hello everyone,
Firstly, I apologize for reviving such an old thread, but I find myself in a unique situation and was hoping some of you might be able to help.
I hope everyone's doing well. I have a specific inquiry that I couldn't find a recent solution for. Does anyone here know of a tool to generate "fake" Dooya remote (DC90) RF codes for curtains? I've acquired a few motors without controllers and am trying to integrate them with Home Assistant and Bradlink RF remote. Specifically, I'm searching for a way to generate codes for the Up, Down, Stop, and the "Set" button functions to configure curtain limits.
Any insights or guidance would be immensely appreciated. Thank you so much in advance!
@Kokosnoot good solution. I remember the discussion in the early days of MySensors. I've powered the radio's for most of my sensors from the 3.3v regulator on the arduino board and for me that works perfect. But for my latest designs I decided to add a separate ams regulator for my radio's like the guys suggested in the beginning. Because you basically want the on board regulator to power the mcu only.