Introduction

This week I worked on different ways to use arduino and practice programming using tinkercad circuits.

Single-Task
===== Program your board =====
Due to the quarantine lock the Fablab is closed, so I used tinkercad as a substitute means to simulate programming using an arduino.
This time I will teach you three of the coolest exercises you do. A traffic light, a sequence of LEDs and a system with servo motors. First I read some information about the ATTINY data sheet, below I put the links of the PDFs that I read.

STEP 1. I read part of the information about the ATTINY.

Picture Text.


-PDF-Michrochip-ATtiny212/412-datasheet
-PDF-Atmel-ATtiny24/44/84-datasheet
-PDF-Atmel-ATtiny24/44/84-datasheet2

STEP 2. Prctice and learn programing with Thinkercad.

--- A Traffic Light circuit ---.



For this circuit I used this items:


ITEM Measures Quantities
Arduino UNO - 01
Breadboard - 01
Resitor 220Ohm(Ω) - 03
GREEN LED's - 01
YELLOW LED's - 01
RED LED's - 01



Picture .

Picture 84. The code:

Picture 84.1 The simulation


I share you mi thinkercad file: Thinkercad FileLink
and this is the code file: Code1


After doing my Traffic Light circuit in the simulator, I passed it to realizing it in real life. I share a video and a photo of when I upload the code.

Picture *. In the following image I show you the upload of my code to the Arduino UNO.


Here are the Code files: TrafficLight-Files

Video *. In the following video I show you the live operation of my circuit that I did in the simulator.







--- LED's Sequence ---.



For this circuit I used this items:


ITEM Measures Quantities
Arduino UNO - 01
Breadboard - 01
Resitor 220Ohm(Ω) - 09
GREEN LED's - 03
YELLOW LED's - 03
Resistor 1kΩ - 03
Boton - 01
Potenciometer 10k - 01



Picture 84.2.

Picture 84.3. The code:

Picture 84.4.

Picture 84.5.

Picture 84.6.

Picture 84.7. The simulation


I share you mi thinkercad file: Thinkercad FileLink
and this is the code file: Code2


After doing my LEDS-secuence circuit in the simulator, I passed it to realizing it in real life. I share a video and a photo of when I upload the code.

Picture *. In the following image I show you the upload of my code to the Arduino UNO.



Here are the Code files: LEDS-secuence-Files


Video *. In the following video I show you the live operation of my circuit that I did in the simulator.







========== learned/conclusions ==========





This part was fun and very intuitive thanks thinkercad but the poarte de codgio was a bit difficult to understand because I resien adapted to take classes by video call. But as the greats do, everything is trial and error and well, that's how I learned and decided to have fun completing the tasks by placing elements or shapes that are to my liking.
I really enjoyed recreating my thinkercad designs in real life with real electronic elements.









=============== FILES ===============





- A Traffic Light circuit:

I share you mi thinkercad file:

. Thinkercad FileLink

The code file:

. Code1

Here are the Code files:

. TrafficLight-Files


- LED's Sequence

I share you mi thinkercad file:

. Thinkercad FileLink

The code file:

. Code2

Here are the Code files:
. LEDS-secuence-Files