Maxime & Jason’s (France) article on the Traffic Lights project
(click on the page below to open a new one):
and their video of the operating circuit:
Maxime & Jason’s (France) article on the Traffic Lights project
(click on the page below to open a new one):
and their video of the operating circuit:
This circuit uses a breadboard, a red LED, a 150Ω Resistor, a few wires and an Arduino card. To blink the LED I need a C++ Program :
// Project 1 - LED Flasher
int ledPin = 10;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
and now a result of this program can be seen in this video:
Hello,
Me (Théo) and Pierre (France) we worked on the parallax robot ,
which has two servo motors,one Arduino card and a DC Power Supply. We worked to write a C code. In the video you can see our moving robot.
You can notice that the robot doesn’t go really straight ; it’s because the two servo motors are not the same. So we had some difficulties to write the program.
For the future, we will change one of the servo motors.
thanks for watching our video Pierre and Théo 🙂
you can see beneath a part of our code: