nRF24L01 Interfacing with Arduino and HC04 Ultrasonic Sensor Communication
Budget: $10 – $30 USD
I already have a working sketch for he current function, i just need make it, to be two way.
On Arduino 1, The HC04 ultrasonic sensor and the RF24L01 for two way communication will be on the Nano or any other Arduino.
On Arduino 2, There is 3 potentiometers, 3 LEDS Red, Green, Blue, and i need the LCD Display and And a RF24L01 for two way communication.
Currently as per my sketch i have the 3 potentiometers adjusting my ranges on the Ultrasonic sensors and lights up the LEDs per set range. On the one Nano.
What i want it to do now is to use the 3 potentiometers (PotPin, PotPin2, PotPin3) on Ardunio 2 to adjust the ranges of the Ultrasonic sensor on Arduino 1.
Then any feed back from the ranges of the Set point’s from the PotPin’s Arduino 2, to blink the LEDs as per current sketch from Arduino 1 to be sent to Arduino 2.
Also i want feed back to the LCD display and serial monitor from Arduino 1. Serial monitor more for debugging.
It seems like then RF24L01 module would the correct choice for two way communication and range.
So in short adjust Arduino-1 using Arduino-2's PotPins , and feed back from Arduino-1 ultrasonic sensor to Arduino-2 and blink LED's.
On Arduino 1, The HC04 ultrasonic sensor and the RF24L01 for two way communication will be on the Nano or any other Arduino.
On Arduino 2, There is 3 potentiometers, 3 LEDS Red, Green, Blue, and i need the LCD Display and And a RF24L01 for two way communication.
Currently as per my sketch i have the 3 potentiometers adjusting my ranges on the Ultrasonic sensors and lights up the LEDs per set range. On the one Nano.
What i want it to do now is to use the 3 potentiometers (PotPin, PotPin2, PotPin3) on Ardunio 2 to adjust the ranges of the Ultrasonic sensor on Arduino 1.
Then any feed back from the ranges of the Set point’s from the PotPin’s Arduino 2, to blink the LEDs as per current sketch from Arduino 1 to be sent to Arduino 2.
Also i want feed back to the LCD display and serial monitor from Arduino 1. Serial monitor more for debugging.
It seems like then RF24L01 module would the correct choice for two way communication and range.
So in short adjust Arduino-1 using Arduino-2's PotPins , and feed back from Arduino-1 ultrasonic sensor to Arduino-2 and blink LED's.