💬 RS485 MCU Module
-
-
Hi feanor-anglin,
Did You considered powering the node over the rs-485 bus ? I found this paper (http://www.ti.com/lit/ug/tidu993/tidu993.pdf) that describes how to do it. It seem quite simple and I think that it would make the wiring much simpler (no need for PSU for every node).
-
Hello rozpruwacz,
Thank you for your comment. This idea seems quite interesting for me and certainly I will look into it in the future. But for now you need to know the best way to power up this modules is by using one PSU for the whole bus. It is very important to have common GND on every module on the bus. To do this you will need 4 wires though.
-
Hello,
I wan to make fork based on your work, i have some question:
- How many devices can be attached to one bus?
- Is this 328p loaded with Arduino boot loader?
- How to make OTA update if its possible please share some doc. ?
-
@tiana thank you for your interest. Reffering to your questions:
- Technically 32 with SP485EE. Soon we will try to check out different transceiver, e.g. ST485ECDR. According to the datasheet, it allows 256 devices.
- You mean by the manufacturer? No. To use FOTW updates you have to use Sensebender micro bootloader.
- We are still working on this feature, we have no tutorial yet, but we plan to write one. For now, the only instruction how to do it is here:
https://www.mysensors.org/about/fota
-
It is a very interesting board for RS485 applications (modbus etc.).
But not quite right for Mysensors serial bus. RS485 is not designed for multimaster bus.
CAN bus drivers are most preferable.
-
@kimot in theory you might be right, but in practice... it just works. The propability of collisions is extremely low and this is, as far as I know, the only problem you can worry about. After all, it was not my idea to use MySensors with RS485:
https://www.mysensors.org/build/rs485
Suggested Topics
-
MYSBootloader for atmega168
Development • 6 Oct 2020, 10:16 • pillarama 28 Mar 2021, 14:24 -
Problem with running MySensors gateway on NanoPi NEO with Armbian
Troubleshooting • 27 Jul 2021, 22:59 • mariuszjozala 11 Aug 2021, 08:05 -
Connecting sensor to gateway via RS485 instead of nRF24
Development • 20 Jan 2015, 14:48 • Johny Mielony 22 Oct 2015, 16:56 -
32 I2C Relay
My Project • 29 Apr 2016, 15:34 • dzairo 29 Apr 2016, 15:34 -
Multisensor
OpenHardware.io • 28 Mar 2016, 18:31 • openhardware.io 23 Apr 2016, 14:56 -
💬 MySGrowLED - MySensors control for Grow Lights or Greenhouse
OpenHardware.io • 9 May 2016, 06:03 • openhardware.io 27 Jul 2017, 20:51 -
💬 Mini Relay Box
OpenHardware.io • 15 Dec 2016, 18:39 • openhardware.io 23 May 2018, 17:58 -
Ethernet/NRF Network
OpenHardware.io • 24 Jan 2016, 15:39 • openhardware.io 24 Jan 2016, 15:39