Combining 2 programs: NRF24L01 + BMP280

Hello,

Question about combining 2 programs and if this is possible with my current setup:

  • Input from NRF24L01 to my NRF24L01 receiver
  • Input from BMP280 (Temp + Barometer) every 10 sec.

Specs: Arduino Nano / NRF24L01 / BMP280 / Buzzer + Transistor / LEDs / Button

Cool, so, I want to get a signal from the transmitter NRF24L01 with a button signal to my receiver.
This input will send a signal to 2 LEDs and a buzzer.

At the same time will my LCD display the temperature and the barometric pressure and update this every 10 sec.
When the button is pressed, this will change to time. But this is for future setup with an ESP32/ ESP8266
The button will be commented in the code. I want to get this working first.

-> I can't add photo's - My browser keeps getting timed-out, trying to fix this atm. Sorry!
//A photo is provided of the current test setup. (Schermopname (29))

//Another photo of my code until now (WIP). Please don't hate me, but I'm really bad at coding
and this is my first project :c (NRF24L01_Online-mine)

Can you help me with this little problem?
Question: Can I run a program that runs these 2 components on my Arduino.

Thanks for reading!

Another photo of my code

Please do not post pictures of code. Pictures if code are nearly worthless. Post the code as described in the forum guidelines for the fastest help.

Can you help me with this little problem?

What is the problem. "Does not work" is not a good description.

groundFungus:
What is the problem. "Does not work" is not a good description.

Ah, i'm very sorry. I had to rewrite the question a couple of time because the photo's made my browser time out, so the information was not complete.

Question: If i can run a program that runs these 2 components on my arduino.

Greets!

derkpestman:
Question: If i can run a program that runs these 2 components on my arduino.

Almost certainly you can.

Have a look at this Simple nRF24L01+ Tutorial.

Wireless problems can be very difficult to debug so get the wireless part working on its own before you start adding any other features.

The examples are as simple as I could make them and they have worked for other Forum members. If you get stuck it will be easier to help with code that I am familiar with. Start by getting the first example to work

Separately from the nRF24 programs write a short program to learn how to get data from the BMP280 and display it on the Serial Monitor. When writing this program keep in mind the need to integrate with the nRF24 program so, for example, make sure not to use I/O pins that are required by the nRF24 program.

...R