MySensors ( http://mysensors.org ) is a community built around an easy to use IoT library. This library supports multiple sensors and actuators in any environment using low cost RF interfaces. It currently supports Arduino, Arduino Due, and ESP2866, as well as dozens of sensors and actuators. It is intended to be used for beginner hobbyists, although advanced engineers will find usefulness in its robust communication capability.
As this project is well suited for very small embedded AVRs, such as the Arduino mini pro, there are certainly opportunities and needs for much more sophisticated controllers, such as the Kinetis FlexIO. In particular, one component of a typical MySensors network is a gateway device which provides a communications bridge between the RF network and an automation controller (such as OpenHab, domoticz, etc). There are also opportunities in combining several sensors and actuators in one node where increased I/O and computational power may be required (weather station, multiroom IoT node, etc).
This goal of this project is to port the MySensors library core to the Kinetis K82 MCU architcture. This includes bringing the ported code into the main MySensors core distribution (possibly completed post contest end). The code will be shared on Github using the current MySensors license (open source). As a test harness for the port, I'll be building a MQTT client gateway for my own MySensors installation.
For most of the basis of the project, be sure to visit and review the genesis for this project here: https://www.mysensors.org/build/ethernet_gateway
A few words of additional merit concerning building this project:
- Avoid using Windows 10 if at all possible. You will likely (almost) brick your K82F. https://community.nxp.com/docs/DOC-330935
- There is much more power available on this board than this simple port provides. This particular MCU and board provide plenty of I/O support (more than the Arduino Uno R3 header, obviously). For example, J22 provides a connector that the nrf24L01+ module will plug directly into.
You can't use that connector and module with the WIZnet module, though. The WIZnet module is not friendly to others on the SPI bus.
- Keep in mind the power type used here: 3.3V. Both the modules specified for this project are based on this voltage and work well with it. Best to avoid the Arduino ethernet shield
- It's based on 5V, so isn't going to work well with this project (if at all).
Comments