NRF24L01+

43 views
Skip to first unread message

Tom Enos

unread,
May 1, 2016, 6:45:44 PM5/1/16
to LightShow Pi Developers
Well I dug out the two nrf24's that I have and an Arduino mega and got them working with lightshowpi.  Setup was not that hard.  The python part of the code is not that complicated.  The Arduino sketch is a little more complicated but if someone has and Arduino then they should understand what's going on.

Right now I just hacked the code into lightshowpi for testing, I only had to add 5 lines of code to lightshowpi and a 20 line script that does the work to make it work.  I'm going to clean the code up and find a way to make it configurable from lightshowpi, add the options to use radio and pin to send to the radio.

For those with out an Arduino but have multiple RPIs I'm going to see if I can get pi to pi working too.

I also have ordered 2 more radios so I will see how many remotes It can support

I will post code in a few weeks when I get the details worked out

Tom Enos

unread,
May 4, 2016, 7:28:49 PM5/4/16
to LightShow Pi Developers
Hello? Is anybody there?

Well for anyone that is interested I have it working on 2 RPI's.  I think I have it working for multiple receivers but I have no real way to know.  The configs seem to work if I change the receiver to a different client number, so it should be working correctly.

I'm going to add a feature request and see if anyone responds.  

Tom Enos

unread,
Oct 23, 2016, 4:32:27 AM10/23/16
to LightShow Pi Developers
With only a 32 bit packet size this is becoming a problem.  For 8-16 channels and only one client it is fine, but scaling it to more clients and more channels is work, lots of work.  And it starts to go out of sync over time as the payload increases.  I could keep a 16 channel setup with an 8 channel client in sync for the show, but more then one client or more then 16 channels is started to go out of sync over time.    


On Sunday, May 1, 2016 at 3:45:44 PM UTC-7, Tom Enos wrote:
Reply all
Reply to author
Forward
0 new messages