Micro controller Programming
we are using Arduino UNO micro controller board for this course. we can use online simulation for the circuit design and online programming. we have Arduino desktop application for offline programming and circuit designing.
Previous Video if you have not seen it:
https://www.youtube.com/watch?v=jf-cEO92MG0
Circuit using breadboard:
Previous Video if you have not seen it:
https://www.youtube.com/watch?v=jf-cEO92MG0
Circuit using breadboard:
Arduino UNO with breadboard |
Arduino UNO with breadboard |
int animated=0;
void setup()
{
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
}
void loop()
{
animated=400;
digitalWrite(13, HIGH);
delay(animated); // Wait for 1000 millisecond(s)
digitalWrite(13, LOW);
delay(animated); // Wait for 1000 millisecond(s)
digitalWrite(12, HIGH);
delay(animated); // Wait for 1000 millisecond(s)
digitalWrite(12, LOW);
delay(animated);
digitalWrite(11, HIGH);
delay(animated); // Wait for 1000 millisecond(s)
digitalWrite(11, LOW);
delay(animated);
}
Note: you can use this code on any platform related to Arduino UNO.
Instruction for the Task:
- Create word file and record video of your running code.
- design the circuit and attach screenshot in the word file.
- your program should display traffic light pattern red, green, yellow etc.
- your code should be commented well before you submit it.
- word file should also contains your code file.
- Upload Assignment to Link
Post a Comment