Annex For Task 3 IoT Device Programming Part 1
Annex For Task 3 IoT Device Programming Part 1
1
There are different options within the circuit. Some
of the most important:
To edit the code, the Code option must be selected.
Editor.
To add components from the component library
si se selecciona la opción+Components.
To start the simulation, select the Start option.
Simulation.
2
Como ejemplo se muestra el siguiente esquema que incluye una placa
Arduino UNO, a LED and a 220 ohm resistor:
Note: Each simulation you perform must include its name and period.
academic who is enrolled.
3
DEVELOP 3 BASIC EXERCISES IN TINKERCAD
EXERCISE 1
Activate an LED using the Arduino board. The LED, connected to one
from the output pins of the board (pin 13), blinks with a period
determined (200 ms) and it
shows through the SERIAL port when the LED is at LOW or HIGH level.
4
Keep the following in mind: (Requires doing other simulations)
1. Simulate the proposed scheme with the online tool.
2. Modify the circuit so that the LED lights up when connected to the pin.
12 and change the blinking period from 200ms to 1s.
3. Create a program that executes the sequential lighting of four
LEDs connected to pins 10, 11, 12, and 13 with a period of 500
ms.
4. Create a program that simulates the behavior of a
traffic light. Use three LEDs in red, green, and
orange. The sequence they must follow is the following: Green (8
seconds) - Orange (3 seconds) - Red (10 seconds).
Answer:
When I carry out the respective tests, I will conclude about the exercise, and
how it would be useful in your daily life.
5
EXERCISE 2
6
Take the following into account:
Response:
When I carried out the respective tests, I concluded on the exercise, and
how it would be useful in your daily life.
7
EXERCISE 3
8
Take into account: