In this topic i will show how you can extent the control range of the 4wd bluetooth car setup which i described here: http://coding-talk.com/forum/arduino...r-with-arduino
required parts:
assemble the car chassis, solder the wires to the motors, you should be able to figure out on your own how to assemble it.
Step 2:
connect motorshield to your arduino mega
Step 3:
Create receiver and transmitter module,
First lets create a signal receiver and transmitter.
NRF Modules require 3.3 Volt power supply, so make sure its connected to 3.3 Volt
Receiver connections should look like this:
Transmitter setup:
Step 4:
upload the attached receiver and transmitter sketches to your arduino nano boards, this sketches require the https://github.com/TMRh20/RF24 library.
To avoid sketch upload errors disconnect the wires from rx and tx ports of your arduino nano boards and after the sketches were uploaded, connect the wires back.
Step 5:
Connect the transmitter arduino board to your power bank.
The hc-06 bluetooth module should start blinking, pair your mobile phone to it, the default password is 1234
Connect the batteries to motor shield.
Step 6:
Open the Arduino Bluetooth RC Car App connect it to hc-06 and test the car.
(Might be you will need to swap the motor wires polarity on the motorshield, so that motors rotate in correct direction.)
When everything is connected correctly she car should work the same way as described here: http://coding-talk.com/forum/arduino...r-with-arduino just with an extended range.
Here are some photos of my setup:
required parts:
- 4wd car chassis
- arduino mega
- arduino motor shield
- hc-06 bluetooth module
- mini breadboard
- a larger Breadboard
- 2 modules, Wireless Module NRF24L01+
- 2 arduino nano boards
- 8 AA Batteries or others to provide 9-12 Voltage (I have used panasonic eneloop)
- two resistors: 1kOhm and 2kOhm
- Arduino Bluetooth RC Car App from google play, alternatively you can use the app from here: http://coding-talk.com/forum/mobile-...or-arduino-car
- Arduino Software
- usb cables, solderer and some wires
- 5 V usb powerbank
assemble the car chassis, solder the wires to the motors, you should be able to figure out on your own how to assemble it.
Step 2:
connect motorshield to your arduino mega
Step 3:
Create receiver and transmitter module,
First lets create a signal receiver and transmitter.
NRF Modules require 3.3 Volt power supply, so make sure its connected to 3.3 Volt
Receiver connections should look like this:
Transmitter setup:
Step 4:
upload the attached receiver and transmitter sketches to your arduino nano boards, this sketches require the https://github.com/TMRh20/RF24 library.
To avoid sketch upload errors disconnect the wires from rx and tx ports of your arduino nano boards and after the sketches were uploaded, connect the wires back.
Step 5:
Connect the transmitter arduino board to your power bank.
The hc-06 bluetooth module should start blinking, pair your mobile phone to it, the default password is 1234
Connect the batteries to motor shield.
Step 6:
Open the Arduino Bluetooth RC Car App connect it to hc-06 and test the car.
(Might be you will need to swap the motor wires polarity on the motorshield, so that motors rotate in correct direction.)
When everything is connected correctly she car should work the same way as described here: http://coding-talk.com/forum/arduino...r-with-arduino just with an extended range.
Here are some photos of my setup: