New nRF24 driver in MySensors 2.0.0
-
MySensors 2.0.0 will feature a refactored nRF24 driver having:
- reduced code size (-2kb)
- two-fold speed increase (processing)
- fewer register writing/polling
- fully defined init state
- SPI transactions
Please feel free to test MySensors 2.0.0-beta and provide feedback if you encounter any issues.
-
Awesome! Great work @tekka !
-
@tekka first off: great work!
- reduced code size (-2kb)
great.
- two-fold speed increase (processing)
Any number, test cases on that? In which situations does that apply?
- fewer register writing/polling
Also great.
But as far as i see some features needed also to go away?
-
Can I test it with current version of Vera plugin, which shows
Plugin Version:1.5
Lib Version: Unit: 1.5.1
is it compartible ?
-
@Alexander-Ivanov
You have to download and install this version of the library:
https://github.com/mysensors/Arduino
-
@hek
Correct, I already flashed Ethernet Gateway (W5100) and a test node (Relay Actuator) with new beta version of the library.
In Vera I removed Ethernet Gateway and added it again, so it shows in properties:
Plugin Version:1.5
Lib Version: Unit: {empty}
Inlcusion mode doesn't search for new nodes, so this is why I asked - is the old Vera plugin developed for library 1.5 compartible with library 2.0 ?
-
Yes, it should be compatible. But if you're using UI7 you should probably update the plugin to the UI7 branch on github though.
-
Does the DEV library update automatically in the Arduino library manager ?
-
@tekka wow
-
No, you have to update manually...
Suggested Topics
-
Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)
Hardware • 22 Nov 2015, 20:40 • mfalkvidd 10 Oct 2017, 19:43 -
How to send updated V_TEXT/S_INFO to controller?
Troubleshooting • 2 Nov 2016, 17:41 • micah 2 Nov 2016, 21:06 -
nrf24 gateway don't send ack
Troubleshooting • 13 Mar 2016, 11:05 • gerard 13 Mar 2016, 11:05 -
💬 USB RF Gateway
OpenHardware.io • 6 Sept 2019, 11:44 • openhardware.io 6 Feb 2020, 11:36 -
💬 MySMotherboard
OpenHardware.io • 22 Jul 2018, 16:19 • openhardware.io 23 Jul 2018, 22:11 -
💬 Arduino Pro Mini IO Shield
OpenHardware.io • 13 Dec 2017, 05:59 • openhardware.io 13 Dec 2017, 09:53 -
NRF24L01 and rfm69 in one gateway
General Discussion • 29 Dec 2016, 10:32 • Omemanti 29 Dec 2016, 14:46