RS485 MCU Module
License:
CERN Open Hardware License
Created:
6 years ago
Updated:
5 years ago
Views:
73165
7 Collect
0 Comments
Share
277 Download (8.13 MB)
Make a donation to feanor-anglin

RS485 Module Family

We are happy to introduce our RS485 MCU Module, a basis of our RS485 system. It is a small board, compatible with Arduino and ready for RS485 wired communication. It was created as a result of our experience with DIY home automation systems, therefore it benefits from lots of our observations and is designed to be convenient to use and install. The most important feature is although its versality - we designed it with having an idea in mind to make it compatible with various shields and wired extensions, which are meant to extend its functionality. A compatible 2 channel AC shield is already finished, but we plan to prepare many other shields such as dimmers, DIN mountable relays, heating modules, sensor extenions and others.

Technical Specification:

  • ATmega328p microcontroller,
  • SP485EE for RS485 wired bus communication (working on hardware serial, pin 0 & 1),
  • 64 kb external flash for FOTW updates,
  • 12-pin interface for shields (2.0 mm pitch),
  • 6 different connector interfaces (1.25 pitch) such as AVRSPI, 1Wire, I2C, Analog I/O pins, Digital I/O pins for buttons/binary sensors,
  • 5 PWM available,
  • I2C on both pin interface and connector interface,
  • Requires 5VDC power input,
  • Power consumption < 0.3 W,
  • Very small size of 39x25 mm.

Available pins:

  • Pin interface: Power (5V), GND, RS485 (A, B), I2C (A4, A5), A0, A7, D5, D6, D9, D10,
  • AVRSPI,
  • 1Wire - 5V, GND, A6,
  • I2C - 5V, GND, A4, A5,
  • Analog - 5V, GND, A1, A2
  • Multipurpose I/O 1 - A3, D4, GND,
  • Multipurpose I/O 2 - D2, D3, GND.

List of compatibile shields...

Every shield that will ever appear will be listed here.

...and other important modules

Firmware

Firmware is still under developement, but it is pretty usable right now.

Instructions

Design summary

An efficient way to understand what our idea is about. ![enter image description here](https://www.openhardware.io//uploads/5bf295659c59caf707efb66d/image/MCU instructions.jpg "Design summary")

Wiring instructions

If you have ever wondered how to put all this modules togother, this picture is for you. ![Brief wiring instruction](https://www.openhardware.io//uploads/5bf295659c59caf707efb66d/image/Wiring instructions 2.jpg "Wiring instructions")

Connecting to PC

To flash some code on the board you have to connect it to PC. Here is how to do it: ![Connecting to PC](https://www.openhardware.io//uploads/5bf295659c59caf707efb66d/image/Programming connection.jpg "Connecting to PC")

You need:
  • USBASP programmer, like this one,
  • Single head, 6-pin female connector wire, like this one,
  • 10-pin IDC female connector, like this one.

You have to fix the wire and the IDC connector together on your own. It is not too difficult, but be careful of mistakes. When you have the MCU connected to programmer as it is shown on a picture, you can now use your PC's USB port to flash software. If you are using Arduino IDE set Tools -> Programmer -> USBasp. Then Sketch -> Upload Using Programmer. That is it!

Q&A

Q: How to connect this module to Domoticz (or any other controller)?

A: Our RS485 Ethernet Gateway will be available soon. Before that please use MySensors RS485 Gateway. For details see wiring instructions above.

Q: How to upload software on this board (especially if there is no usb port on board!)?

A: Instructions above (Instructions -> Connecting to PC).

Q: What is FOTW?

A: Firmware Over The Wire, it is a method of uploading code through RS485 bus, without any need of removing modules from the wall. It is still an experimental feature and sometimes does not work well, but the MCU module is ready for it anyway.

Q: What kind of assembly is being offered?

A: Manufacturer provides complete SMD and THT assembly. No need of looking at soldering iron after purchase.

Q: Why is it so expensive?

A: Because of small quantities being produced. Growing interest will hopefully let the manufacturer lower the price.

Other information

Copyright feanor-anglin (2018). Released under the CERN Open Hardware Licence v1.2

We develop Arduino compatibile hardware for wired home automation systems. If you like what we do and want us to keep going, please donate!