💬 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
-
MySensors MQTT gateway and serial rs485 sensor node communication
Development • 5 Aug 2017, 06:31 • ehome 5 Aug 2017, 08:15 -
FOTA/MYSBootloader - Documentation enhacement - Make it clear that you must program only the MYSBootloader, without sketch
General Discussion • 19 May 2020, 17:27 • MatiasV 24 May 2020, 02:54 -
Problem with running MySensors gateway on NanoPi NEO with Armbian
Troubleshooting • 27 Jul 2021, 22:59 • mariuszjozala 11 Aug 2021, 08:05 -
💬 mySensor 3*Relay Din Format
OpenHardware.io • 27 Oct 2021, 17:03 • openhardware.io 27 Oct 2021, 17:03 -
💬 MDMSensor "Multisensor"
OpenHardware.io • 12 Oct 2016, 07:52 • openhardware.io 17 Apr 2017, 10:49 -
💬 Door/Windows AAA
OpenHardware.io • 30 Jun 2017, 15:02 • openhardware.io 27 May 2019, 19:22 -
Building a gateway with two transport layers
Hardware • 15 Aug 2021, 10:31 • Giovanni Chiva 15 Aug 2021, 18:02