Learning Arduino with Tinkercad

Francesco Cozzolino
2 min readDec 17, 2023

--

Tinkercad offers an exceptional platform for mastering Arduino programming with its user-friendly interface and comprehensive tools. Accessible via www.tinkercad.com, this online resource provides an immersive and intuitive learning experience for beginners and enthusiasts alike. Through Tinkercad, aspiring Arduino programmers can explore virtual circuits, experiment with code, and simulate hardware interactions without needing physical components.

Figure 1

The platform’s rich library of electronic components, including Arduino boards, sensors, and actuators, allows users to design intricate circuits effortlessly. Its simulation feature enables real-time testing and debugging, fostering a deeper understanding of programming concepts. Tinkercad’s engaging tutorials and project-based approach cater to various skill levels, empowering learners to build practical projects while honing their coding skills.

Figure 2

Moreover, the collaborative environment fosters knowledge sharing and community engagement, enabling users to seek guidance, share insights, and gain inspiration from a vibrant community of Arduino enthusiasts. Tinkercad is an invaluable tool, revolutionizing the learning process for Arduino programming by offering a dynamic, accessible, and hands-on educational platform.

In case you want to try the code here below for the figure 1

void setup() {
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(2, INPUT);
}

int switchState = 0;

void loop() {
switchState = digitalRead(2);

if (switchState == LOW) {
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
} else {
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);

delay(250);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
delay(250);
}
}

About me

If you have any question please reach me out in one of the following:

--

--