

- #ANDROID RC CAR APP MASTER GIT HOW TO#
- #ANDROID RC CAR APP MASTER GIT INSTALL#
- #ANDROID RC CAR APP MASTER GIT SERIAL#
- #ANDROID RC CAR APP MASTER GIT ANDROID#
- #ANDROID RC CAR APP MASTER GIT PRO#
#ANDROID RC CAR APP MASTER GIT PRO#
Then Tools/Board/Arduino Pro or Pro Mini. Then open the Arduino software select tools/port and whatever port you're using. You will need to connect the GND, VCC, Rx, Tx and DTR pin to the Arduino pro mini.
#ANDROID RC CAR APP MASTER GIT SERIAL#
The code (get it here ) needs to be uploaded to the Arduino pro mini using the USB to serial FTDI adapter FT232RL.
#ANDROID RC CAR APP MASTER GIT ANDROID#
Third step: Uploading the code on Arduino, and building the app on Android The rest of the electronics will be powered by the same battery but with a l7805cv 5V regulator. The battery will directly drive the car motor through PWM. The car power supply will be a 2 cells LiPo battery with at least 1000 mAh. The measurement will be sent to the Android App and will be displayed on the screen. Also the bluetooth and Arduino pro mini will have custom connectors made out of male & female PCB connectors.Ī voltage divider from two identical resistors is present on our PCB so that it reduces voltage under 5 volts for our analog pin to measure. Our board will connect to a power supply, to the car old electric motor via an H-Bridge, and to a servo motor. The PCB will also have various connectors and wires for easy plugging in. The custom PCB will contain the Arduino pro mini, a HC-05 bluetooth module, a couple of resistors for the voltage divider, a piezo buzzer and a l7805cv 5V regulator. I've attached a fritzing schematic so things will be easier.
#ANDROID RC CAR APP MASTER GIT INSTALL#
we have enough room inside the car to install our board with electronic components, a servo, a H-bridge and a LiPo 2S battery.The thinks that we'll have to look out when we're doing this: I've attached some pictures below for you to see the whole process.įirst we'll disassemble the car, and afterwards we'll remove from the interior electronics and useless compartments (like the battery holder and old steering) We'll be choosing the RC car and tearing it down, make adjustments etc. building an Android app: we'll be fetching code from Bitbucket, build the application and upload it to a mobile deviceįirst step: tear down the old car and install the servo motor.arduino programming: uploading code to an Arduino board using Arduino IDE and a FTDI adapter, making small adjustments to the code.basic electronic stuff: we'll create a small board using an arduino nano and some soldered components, and then wire them to the car components.


tinkering: we'll tear down the old car using a dremel tool and screwdrivers, wire cutters etc.This is an advanced tutorial, and I think it's for people with some programming experience that want to try something fun, and learn some electronics through practice. If you'll explore the links above you'll find detailed explanations of how these things work. using a voltage divider to measure voltage greater than 5V.Do not read or write this serial manually in your sketchĬopy the Auth Token back to Sam_Blynk_RC_Car.ino. Serial.println("Waiting for connections.") Int pinValue = param.asInt() // assigning incoming value from pin V1 to a variable Go to the Project Settings (nut icon). You should get Auth Token in the Blynk App. SoftwareSerial BLESerial(10, 9) // RX, TX You could use a spare Hardware Serial on boards that have it (like Mega) We are ready to connect with Blynk through BLE.įirst upload the file Sam_Blynk_RC_Car.ino with Arduino IDE. put your setup code here, to run once:Īfter the connections are verified. This example code is in the public domain.
#ANDROID RC CAR APP MASTER GIT HOW TO#
This example shows how to use SAM01 Arduino Robotics board I have made Sam_RC_Car_Test.ino for ease of testing.

Now it is time for testing all the connections. PIN 3 - INT1 for Motor A (Steering Motor)PIN 5 - INT2 for Motor A PIN 6 - INT3 for Motor B (Drive Motor)PIN 9 - INT4 for Motor BPIN 10 - Headlight LEDsPIN 13 - Under-glow LEDs Putting on the SAM01 Arduino Robotics Board and connecting the jumper wires as following.
