Sending sensor data from raspberry via NRF24L01+ to arduino
-
I haven't tried the Mini yet, I am waiting for it to be delivered so I can't help you much, but my best shot could be something with serial speed somewhere or something related.
Have you tried to use a 16x2 LCD to show data instead of the serial console? I do it sometimes when I don't want to take bring computer with me if I only need to show a few values. -
@gohan Well I was gonna use the received text to test the communication itself. The whole point I got a pro mini was to connect it as a serial gateway to the RPi3 and see it on Domoticz as we discussed earlier.
@LaMB95 if I read between the lines in your posts, it sounds as if you have a Pro Mini 5V 16MHz but you tell the Arduino IDE to program it as if it was running at 8MHz. That means all timings will be off. The code expects to run at 8MHz but is run at 16MHz so everything is twice as fast.
-
@LaMB95 if I read between the lines in your posts, it sounds as if you have a Pro Mini 5V 16MHz but you tell the Arduino IDE to program it as if it was running at 8MHz. That means all timings will be off. The code expects to run at 8MHz but is run at 16MHz so everything is twice as fast.
@mfalkvidd
Well, I do believe that is the underlying issue here. But the NRF modules can't handle VCC more than 3.3V so I took a 3.3V connection from my breakout board (CP2012) and supplied to the NRF module (Vcc pin only).
Could this be causing the issue? -
@mfalkvidd
Well, I do believe that is the underlying issue here. But the NRF modules can't handle VCC more than 3.3V so I took a 3.3V connection from my breakout board (CP2012) and supplied to the NRF module (Vcc pin only).
Could this be causing the issue?@LaMB95 no. At 16MHz you are running the Atmega out of spec, so it could behave in lots of strange ways, but often it works without problems.
Set the Arduino IDE to 5V/16MHz and flash your sketch. Power it with 3.3V and you'll probably see that everything works. -
@LaMB95 no. At 16MHz you are running the Atmega out of spec, so it could behave in lots of strange ways, but often it works without problems.
Set the Arduino IDE to 5V/16MHz and flash your sketch. Power it with 3.3V and you'll probably see that everything works.@mfalkvidd I m sorry but Whats flashing a sketch ?
-
@mfalkvidd I m sorry but Whats flashing a sketch ?
-
@mfalkvidd Ah thanks ! Also when you mean power it with 3.3V do you mean just the nrf module or the entire Pro mini board ?
-
@mfalkvidd Ah thanks ! Also when you mean power it with 3.3V do you mean just the nrf module or the entire Pro mini board ?