MySensors + NRF24L01 + RasPi2?
as I'm having troubles with connecting my raspi1A and sensebender both with mentioned radios, I thought I switch to Raspi2B for trial. I failed to google pinout diagram for Raspi2 and NRF2L01+ , which to use with MySensors. I got a bit worried looking at the pinout differences between Raspi1 and Raspi2. Mainly that where should I connect the pins CE, CSN, SCK from radio to raspi2?
I assume this pinout is for the Raspi1 with 26 pins? https://github.com/mysensors/Raspberry
Here is a reference how someone uses radio with raspi2, but the pins used are not the same as with MySensors Raspberry example: https://www.element14.com/community/community/raspberry-pi/raspberrypi2/blog/2015/04/07/raspberry-pi-2-gpio-usage-with-nrf24l01-arduino
I assume I could switch those from the MySensors code too. But I bet I'm late to the game, and someone would already have figured out the answers before me
@ikkeT see the very first line in https://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway-mysensors-1-x (disregatd the rest of the thread, it is for MySensors 1.x which is old now)
@mfalkvidd Thanks, I now compiled the 2.0 version, and about to wire it up. It's a bit shame that in many of the pinout descriptions it's not mentioned clearly which version of raspi pinout it is. The picture in this one is clear, it leaves no doubts.
It's a bit shame that in many of the pinout descriptions it's not mentioned clearly which version of raspi pinout it is.
Unless you have one the few revision 1 of the Pi B (256MB model) all Pi have the same pinout for their GPIO. Even if you have a 256MB rev1 Pi B, for MySensors wiring this is actually the same. Maybe one of your wire was simply plugged incorrectly the first time?
OK, then I just screwed up something. Thanks for the info, so I know I can do this also with my old raspi one day. My old raspi dates 2011.12 on it. Well served.