Super Kid
Published © GPL3+

Rover with LEDs

A rover project with blinking LEDs.

IntermediateFull instructions provided30 minutes1,234
Rover with LEDs

Things used in this project

Hardware components

Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
For the best performance, I recommend you use a Raspberry Pi 2 Model B. You can use Raspberry Pi 3 Model B instead.
×1
Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
For the best performance, I recommend you use a Raspberry Pi 2 Model B. You can use Raspberry Pi 2 Model B instead.
×1
Resistor 2.2k ohm
×1
Resistor 220 ohm
×1
Button
×1
Dual H-Bridge motor drivers L298
SparkFun Dual H-Bridge motor drivers L298
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
LED (generic)
LED (generic)
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Breadboard (generic)
Breadboard (generic)
1 Mini, 1 large
×2
Robot Kit
Wheels, Chassis, Motors, 2 Battery Holders.
×1
LM2577 DC to DC Step-up Converter
×1

Software apps and online services

Visual Studio 2015
Microsoft Visual Studio 2015
Arduino IDE
Arduino IDE
Windows 10 IoT Core
Microsoft Windows 10 IoT Core

Hand tools and fabrication machines

Sticky Tape
Soldering iron (generic)
Soldering iron (generic)
Power meter
You use this when wiring up the Step up Converter. Note that not all power meter is really correct.

Story

Read more

Schematics

Wiring diagram for the Rover project

No Arduino in this picture. Only for the Rover project
Rover   wiring diagram wmlfelbrks

Code

The Arduino blinking app

Arduino
The Arduino blinking app.
int led1 = 2;
int led2 = 3;
int led3 = 5;

void setup() {
  pinMode(led1,OUTPUT);
  pinMode(led2,OUTPUT);
  pinMode(led3,OUTPUT);
    }

void loop() {
digitalWrite(led1, HIGH);
delay(500);
digitalWrite(led2, HIGH);
delay(500);
digitalWrite(led3, HIGH);
delay(500);
digitalWrite(led1, LOW);
delay(500);
digitalWrite(led2, LOW);
delay(500);
digitalWrite(led3, LOW);
delay(500);
digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
digitalWrite(led3, HIGH);
delay(500);
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
delay(500);
digitalWrite(led1, HIGH);
delay(500);
digitalWrite(led3, HIGH);
delay(500);
digitalWrite(led2, HIGH);
delay(500);
digitalWrite(led1, LOW);
delay(500);
digitalWrite(led3, LOW);
delay(500);
digitalWrite(led2, LOW);
delay(500);
digitalWrite(led2, HIGH);
delay(500);
digitalWrite(led1, HIGH);
delay(500);
digitalWrite(led3, HIGH);
delay(500);
digitalWrite(led2, LOW);
delay(500);
digitalWrite(led1, LOW);
delay(500);
digitalWrite(led3, LOW);
delay(500);
digitalWrite(led3, HIGH);
delay(500);
digitalWrite(led1, HIGH);
delay(500);
digitalWrite(led2, HIGH);
delay(500);
digitalWrite(led3, LOW);
delay(500);
digitalWrite(led1, LOW);
delay(500);
digitalWrite(led2, LOW);
delay(500);
    }

The Rover project code

The code for the rover project

Full code

The code for Raspberry Pi and for the Arduino

Credits

Super Kid

Super Kid

20 projects • 11 followers
I am building the project with IoT with Windows (Windows On Devices). Also I have a tag: Break your heart for the beginner.
Contact

Comments

Add projectSign up / Login