433 MHz ESP 32 MQTT Gateway with proper antenna
cloolalang
@cloolalang
Best posts made by cloolalang
-
RE: What did you build today (Pictures) ?
-
RE: 💬 Connecting the Radio
Tips for connecting the LoRa Radios:
- Use de-coupling capacitor on power supplies (as per above other radios).
- Carefully select: MY_RFM95_TX_POWER_DBM and MY_RFM95_MAX_POWER_LEVEL_DBM as Semtech spec states +20dBm output power is only for 1% duty cycle operations, and some modules (AI-Thinker RA-02) are only rated as +18dbm.
- If you build a LoRa radio gateway using an ESP32 (for example), take care to provide a separate, low-noise 3.3V power supply to the radio as the on-board voltage regulator may not be able to supply enough current at the higher RF output power levels.
-
RE: Powerline Communications
@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
Latest posts made by cloolalang
-
Low Power Solutions - minibrick and megabrick
https://www.tindie.com/products/lps/lorawan-megabrick/
Has anyone tried this hardware with mysensors?
Cheers
P -
RE: cc1310/ 802.15.4 stack uart-ready radio: E70-433NW14S
@scalz
Hi yes, thanks for your response. -
cc1310/ 802.15.4 stack uart-ready radio: E70-433NW14S
I see the E70-433NW14S is a sub-GHz 15.4 radio with PHY and MAC built in.
Has anyone taken a look at using this?
I looked at other Ebyte modules (Lora) but this seems pretty cool as its UART and so I think we can use our RS485 with it.
Maybe we finally get the previously costly zigbee-style star/mesh radios for cheaper price?I would be very interested if anyone here has experience with this.
p -
RE: Powerline Communications
@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
-
RE: RS 485 very slow baud rates (100baud over half-duplex powerline) timing issues
Other parameters not yet tested;
- sleep or wait between sketch information and presentation messages and/or in other functions
- MY_RS485_MAX_MESSAGE_LENGTH (40)
- #define MY_RS485_SOH_COUNT (3)
- MY_TRANSPORT_WAIT_READY_MS 0
- MY_TRANSPORT_STATE_TIMEOUT_MS 2*1000ul
- In mysensors core:
// Wait configuration reply. (void)wait(2000, C_INTERNAL, I_CONFIG);
-
RS 485 very slow baud rates (100baud over half-duplex powerline) timing issues
I am trying to see if I can use the KQ-330 Powerline serial modems for Mysensors.
The modems have a 9600 8N1 TTL UART and the Powerline data rate is very much slower at 100 Baud.I am using mysensors RS485 and Arduino Uno's for both node and serial gateway to Home Assistant.
So far I have managed to get the node and gateway talking however I think that because the powerline data rate is super slow compared with the 112500 Baud Home Assistant-to-Serial Gateway, and the 9600 Baud serial gateway-to-KQ330.
I am seeing issues with collisions and TRX turn around timing during presentation and registration.As the link is so slow, I may actually just opt to use a master/slave approach with passive nodes in the end, for example a typical node-gateway heartbeat message takes about 4 seconds!
I am looking at the possibility of using Aloha on the bus however as I really don't want to throw out presentation as it really helps with setting up on Home Assistant.
So I am digging around the various transport timers and wondering how I can optimise it better for the super slow 100 baud link speed.
My first question here is regarding the collision control in mytransportrs485.cpp; line 256
while (_serialProcess()) { unsigned char del; del = rand() % 20; for (i = 0; i < del; i++) { delay(1); _serialProcess(); } timeout--; if (timeout == 0) { // Failed to transmit!!! return false; } }
Im I correct to say that the 1ms delay is based on 9600 baud and I might increase it to around 100ms for 100 baud?
-
RE: Powerline Communications
@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 -
Ebyte Lora UART radios - 433 MHz, Can only use Channels 433.00 and 434.00!
Re: Has anyone worked with e32-433t30d or any products related to EByte Company
I am looking into using these, but, wait... 1MHz channels:
ISM band 433MHz
Channels that you can use:
433.000
434,000
Thats it!
On no!... Why Ebyte?
P -
Semtech SX1262 LoRa radios please!
I wonder who is interested to upgrade RF95 to support the improved Lora chips
https://forum.mysensors.org/topic/10724/which-are-the-preferred-lora-modules-now
I dont think RadioHead is doing anything on it.
So far the only one I see is Radiolib
P
-
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