You are on page 1of 1

HOMEWORK – MANUFACTURING PROCESSES

Due date: May 24

Format: Upload your homework to the course web page. (Just show both scripts an circuit)

1. Build the circuit BLINK for ARDUINO as shown in the drawing. You have to build it in a
virtual environment. You can use tinkercad

(print a screen shot of the circuit and the code). The LED of
the circuit should blink once every second. The code for
this circuit are loaded in the Arduino board by default, so
wiring the electronics elements and running the code will
blink the LED.

2. Read and understand the BLINK code implemented in 1 and the commands

IF, FOR, WHILE, LOOP, SETUP from ARDUINO web page.

https://www.arduino.cc/en/Reference/If

https://www.arduino.cc/en/Reference/For

https://www.arduino.cc/en/Reference/While

https://www.arduino.cc/en/Reference/Loop

https://www.arduino.cc/en/Reference/Setup

3.- Modify or develop a new code for the LED in assignment 1. This time the LED should
blink fast and slow in an alternately fashion. The LED should blink 5 times in a fast way (once
every half second) and 5 times in a slow way (once every two seconds). The LED should
continue blinking in this alternately fashion while the circuit is powered. (print the code).

You might also like