Materials & Tools
1. 1 - Arduino UNO
2. 1 - NRF24L01 module with SMA anttenna
3. 1 - Socket adapter for NRF24L01
4. 1 - NRF24L01 module
5. 1 - LED 5 mm.
6. 5 - Resistor 1 kOhm. 1/4 watt.
7. 1 - Capacitor 0.1 microF 50V.
8. Dupont cables with pin header
9. Male pin header
10. Female pin header
11. Dupont cables
12. Dupont Jumper Cable Housing Male Pin Connector
13. Dupont Jumper Cable Housing Female Pin Connector
14. Heat shrink tube 2.5 mm.
15. PCB - DIY circuit board
16. Battery 9 V. 300 mAh.
17. RC car toy transmitter(Pistol type with Steering wheel)
1. Soldering gun.
2. Soldering wire.
3. Soldering paste.
4. Screw driver.
6.Hot glue gun.
Electronic parts installation & DIY shield
For turning right /left controlled by steering wheel like real car.For going forward/backward controlled by trigger pull-forward or push-backward.We will use 4 button switched of transmitter to send 4 input to Arduino controller.
Look at the circuit diagram:-
Arduino UNO to Pistal Transmitter(Make DIY shield)
pin No :
3 - Turning right : steering wheel contact terminal
4 - Turning left : steering wheel contact terminal
6 - Go Forward : pulling trigger contact terminal
7 - Go Backward : pushing trigger contact terminal
Connect 3.3 V. supply to Power on status LED positive leg.Negative leg connect to resistor 1 kOhm.
* input signal use 3.3 V. supply from Arduino UNO. Do not apply 5V. It's too high voltage.(Ghost signal problem)
* take off all old existing electronic devices on circuit board otherwise it will has short circuit problem.
nRF24L01 module Socket adaptor to Arduino UNO
pin No :
Vcc - 5 V. pin (Do not connect 5V. directly to nRF24L01 module,it's supplied only 3.3V.)
GND - GND
CE - 9
CSN - 10
SCK - 13
MO - 11
MI - 12
IRQ - 2
*If there are communication problem,connection can be changed from pin 13,11,12 to pin SCK,MOSI,MISO of UNO programming pins.
*It's necessary to add 0.1 microF to nRF24L01 module pin Vcc/GND because the module needs high continuous current and stable voltage.
*Soldering all devices carefully ,use enough large wire.Making good ground otherwise it will has ghost input signal.
Arduino sketch and Library :
1.Down load code sketch .ino file and RF24-master library zip file for nRF24L01 module from GitHub.
2.Add library zip file to Arduino IDE.(After added you will see new library RF24-master in Examples menu.)
3.Before using new nRF24L01 modules,we shall burn the modules by uploading default sketch pingpair and GettingStarted for tuning up frequency otherwise it will has uncommunication problem.(Use another Arduino UNOs and nRF24L01 modules for pairing)
4.After matching the frequency ,we can upload Tx sketch to transmitter.(If you have problem,go to visit website https://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo for more information)
5.The sketch serial monitor will not show anything as the video clip,we have to build receiver(Rx) on the car.Go to next instruction"How hack RC CAR via Arduino nRF24L01 2.4G Reciever(Rx) Part2"