RC Robot Car With Solar Panels + Steps + Pictures
by Ziad_Tohamy in Circuits > Arduino
6243 Views, 6 Favorites, 0 Comments
RC Robot Car With Solar Panels + Steps + Pictures
introduction
in this project i made a car which can be controlled through any phone the main source of this car is a battery and the motors take much much current from the battery so it won’t last for a long time, but by a solar panel i can recharge the battery in about 2 hours through any kinda light and some people misunderstand that the only way that they can send power to the solar panel is through the sun, but that is wrong because any light can give oiler to the solar panel by using the phone the car will go in multiple direction forward, backward, right, left, even the light in your room. i used the three modules of the diploma electronics, Arduino and CAD the electronics module i used it to wire all the components together like wiring the Bluetooth module, Arduino, motor driver, solar panels the Arduino module i used it to program the car and give life to it, so that i can control it through my phone the cad module i designed the whole car and solar panels in fusion 360 and I implement it by laser cutter machine
and How to Connect Solar Panels 12V to 9v Li-ion Battery
components
2x solar panel
1x battery 9v
1x lithium battery 9v
2x battery clip
1x Arduino
1x Bluetooth module
1x motor driver
4x DC gearbox motor
4x wheel
punsh of jumpers
​Electronics Steps// the First Step:
prepare all the reuired components
The Second Step:
wire the anode of the li-ion battery to the v9 of the motor driver.
The Third Step:
wire each two motors together
The Fourth Step:
wire the OUT1 of the motor driver to the first pair of motors .
The Fifth Step:
wire the OUT2 of the motor driver to the second pair of motors.
The Sixth Step:
wire the RX of the bluetooth module to the TX of the Arduino, wire the TX of the bluetooth module to the RX of the Arduino then wire the VCC of the bluetooth module to the 5V of the Arduino .
The Seventh Step:
wire the anode of the battery to the Vin of the arduino.
The Eighth Step
wire the "in1" pin of the motor driver to the "13" pin of the Arduino.
wire the "in2" pin of the motor driver to the "12" pin of the Arduino.
wire the "in3" pin of the motor driver to the "11" pin of the Arduino.
wire the "in4" pin of the motor driver to the "10" pin of the Arduino.
The Ninth Step
wire an anode of the solar panel to a cathode of the other solar panel and then wire the other anode to the 9V of the motor driver (with the anode of the li-ion battery.
The Last Step
wire the anode of the li-ion battery, battery, motor driver, solar panel and bluetooth module to the anode of the Arduino.
Programming Source Code
char blueReading;
void setup() {
pinMode(13,OUTPUT);
pinMode(12,OUTPUT);
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);
Serial.begin(9600);
}
void loop() {
if(Serial.available()){ blueReading = Serial.read();
Serial.println(blueReading);
}
if(blueReading == 'F'){
digitalWrite(13,HIGH);
digitalWrite(11,HIGH);
digitalWrite(12,LOW);
digitalWrite(10,LOW);
}
else if(blueReading == 'B'){
digitalWrite(12,HIGH);
digitalWrite(10,HIGH);
digitalWrite(13,LOW)
; digitalWrite(11,LOW);
}
else if(blueReading == 'I'){
digitalWrite(11,HIGH);
digitalWrite(13,LOW);
digitalWrite(12,LOW);
digitalWrite(10,LOW);
}
else if(blueReading == 'G'){
digitalWrite(13,HIGH);
}
else if(blueReading == 'H'){
digitalWrite(12,HIGH);
digitalWrite(13,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
}
else if(blueReading == 'J'){
digitalWrite(10,HIGH);
digitalWrite(13,LOW);
digitalWrite(11,LOW);
digitalWrite(12,LOW);
}
else if(blueReading == 'S'){
digitalWrite(13,LOW);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
}
}
CAD Fusion 360
N/A
N/A
Android application : click here