Powerline Communications
-
Has anyone tried the mysensors protocol over PLC?
I am looking at using the KQ130/KQ330 150KHz AC power line UART modules to connect over distance without radio or special cables (RS485 etc)
https://www.youtube.com/watch?v=aGlL4eDwM-k
P
-
@cloolalang
So I have two KQ-330 on the lab bench.
So far we find:- carrier 132.5khz FSK modulation.
- With two units connected together on 220 VAC mains - im seeing around 45-5- Baud, listening on an AM radio nearby the units it sounds like morse code at around 23WPM without mains, 30WPM with mains.
- Carrier is about 5v p-p on the scope, not very clean waveform.
- Uart is 9600 8n1
- Transmit buffer 253 Bytes
I will test with mysensors RS485 gateway and sensor mode, with the transport time-outs increased to maybe 10000ms!
p
-
@cloolalang
Update:- KQ-330 F AC powerline "Modems" tested working with Mysensors RS485 serial gateway and node.
- Line Baud rate is 100b, (Half duplex), Needs AC (50/60Hz) to work.
- Presentation not working due to low speed, but I have entered my own mysensors.json in HA.
- Using a Master/slave strategy whereby the gateway is polling the node/children.
- Typical poll/response (req/send) is about 8 seconds. so yeah slow like not really more then 7 nodes/children per minute.
- Range, you must avoid interference from AC loads, try to use the same AC phase, I have mine working over 60m but I dont know if they are on the same AC phase, Power line modems are plugged directly into wall socket or light fitting (in my garage), no multiplugs, or switch mode PSUs nearby.
- Why? Just to see if it works.
- Long-term results will be posted.
Cheers
P
-
@cloolalang If you can possibly avoid it, then power line is not the way to go. It turns your whole house wiring into a giant antenna and then some. Your neighbours can also be affected by this as there are currently no requirements for electrical (power) distribution systems to have chokes or filters of any kind.