Documente Academic
Documente Profesional
Documente Cultură
Note:
Arduino software is required. Learn Arduino basics online.
Select Arduino Uno as the default hardware unless specified.
Its better if you have Arduino but you can test your code on simulators too.
Please also note this- to compile a program you need not have Arduino connected.
Arduino is well known for its online documentation. You can always google your doubts.
Feel free to contact any of the Club seniors as well.
Submit the completed assignment in document format and mail to v.manoj1996@gmail.com
before the deadline.
2. Write a code that does the following(LED's are connected to 10th pin and 13th pin, use digital
write)
1. Blink LED-10th pin at 1Hz for 10seconds
2. Stop for 1second
3. Blink LED-13th pin at 2Hz for 5seconds
4. stop for 1 sec
5. Blink LED-10th pin at 4Hz for 2.5seconds
6. stop for 1 sec
7. Blink LED-13th pin at 8Hz for 1.225seconds
8. Follow the same pattern
9. What will you observe after long time?
3. Learn about interrupts in Arduino (There is an example in Arduino IDE) and write a
program for the following.
1. In the previous program, we need to halt the program suddenly based on the input given
to digital pin 2 (when pin2 becomes HIGH ,LED should stop blinking permanently(until
next reset)). Do it using interrupts.