Introducing MySensors on nRF24LE1
-
@Justin-Decker said:
nrf51822
module costs 6.18 euro on ebay, 32 bit arm 16k sram, 256k flash!!
compatible with nrf24 radio and bluetooth smart.
I'm impressed!
Seems compatible with arm mbed, and there even exists arduino add-on ? (looks like commercial...)
I will look at existence of linux tools, will order one, and see if porting mysensor on this is easy... -
@Justin-Decker said:
nrf51822
module costs 6.18 euro on ebay, 32 bit arm 16k sram, 256k flash!!
compatible with nrf24 radio and bluetooth smart.
I'm impressed!
Seems compatible with arm mbed, and there even exists arduino add-on ? (looks like commercial...)
I will look at existence of linux tools, will order one, and see if porting mysensor on this is easy...@jobarjo Yes, there are implementations using mbed. If you go that route, you also get a nice BLE API to work with as well as all the standard mbed stuff. I haven't looked too closely at the Arduino board (Red Bear), but their source is on github so you can pull that and work with it without having the actual board.
https://hackaday.io/project/8512-nrf51822-development is my project for this chip. It includes a working project skeleton and instructions on setting up debugging. It uses a custom board that I made, but I suspect the one you linked to on ebay will work.
-
Quick question on the topic of using the nRF24LE1 as a platform.
Can the AES accelerator be used in order to sign messages?Thanks.
-
No, AES is used for encryption. The HMAC/SHA256 signing format MySensors use, has no benefit of AES.
-
@Anticimex : Thanks for the quick response. I have got my terms mixed there, thanks for clarifying.
-
@Anticimex : Thanks for the quick response. I have got my terms mixed there, thanks for clarifying.
@Diogo-Salazar You are welcome :)
-
First impression of MySensors running on nRF24LE1. Reporting temperature / humidity from DHT22, VCC voltage and millis() timer.
This SoC has many interesting features (SPI, 2-Wire, Serial, GPIO, ADC, RNG, AES accelerator, etc. ) and sub uA sleeping modes - without the need to solder a RF module. However, flash size limited to 16kB - still more than enough for many (peripheral) sensors... :)

Readings in MYSController:

Compiling with SDCC and nRF24LE1 SDK.
Source (Proof of concept/POC, non-optimized) here. -
@tekka Hi! I'm trying to assemble this setup :-)
Could you provide the wiring diagram (humidity sensor and NRF).
Do you have an updated code?@ykhokhlov would like to get it going as well, have a requirement for a tiny form factor, have had one of these in the drawer forever.
-
@ykhokhlov would like to get it going as well, have a requirement for a tiny form factor, have had one of these in the drawer forever.
-
@chickey @ykhokhlov This was a POC I did a few years ago and never updated the code nor did I do further development on the library due to limited interest. There are way better alternatives available nowadays, i.e. nrf51/nrf52.
-
@tekka Thanks for the answer and suggestion. Did you develop a POC of a MySensors node for the nrf51/nrf52?
@ykhokhlov There are a ton of not just POCs but also fully functioning mysensors nrf51/nrf52 nodes on openhardware.io Just click and have a look for yourself.
-
@ykhokhlov There are a ton of not just POCs but also fully functioning mysensors nrf51/nrf52 nodes on openhardware.io Just click and have a look for yourself.