How to use simulators to build Arduino Projects

by Jun 2, 2021Arduino Uno

Introduction

In this tutorial, let’s learn how to use simulators for building Arduino projects for beginners. In addition to it, We shall learn how to configure it and how to get started with simulation tools. Here, We shall take an example of blinking an led using Arduino in the simulator.

1. Tinkercad(Online simulator)

Introduction

Tinkercad is an online collection of software tools from Autodesk that enable complete beginners to create 3D models and building circuits. In addition to it, It’s completely free of cost. Since it’s a cloud-based platform(Online editor), users need not install any additional software.

Lets learn to simulate a simple led blinking using arduino.

Configuration steps

  1. Firstly, Create a Free account here.
Choose your sign in options

2.Next, choose circuits and select Create the new circuit

Choose create new circuit

3. Furthermore, Select required components from the search tab.

Select the components

4. Design the circuit

Design the circuit as given in circuit diagram

5. Finally, Lets code In tinkercad, there are two ways to code microcontroller. One is using code blocks another one is code text. However, I shall go with code text.

Write the code as given above

6. Once the code is written, start the simulation. Besides If they are errors in code it displays else it will execute normally.

7. Finally, you can observe led blinking on the simulator.

2. Proteus

Introduction

Further now we shall learn another simulation software called proteus. The Proteus Design Suite is a proprietary software tool suite used primarily for electronic design automation. Along with that this software helps to create schematics and electronic prints for manufacturing printed circuit boards. All embedded systems, analog circuits, and PCB designing can be done using this software.

Configuration steps

  1. Firstly, Download the demo version from here.
Download demo version

2. Then Install the software. Along with this download Arduino library and paste it in library folder.

3. Now create New project and name it.

Select new project

4. Keep all the default conditions as it is until any changes are required.

5.Now select required components

Choose the required components

6.Similarly, now design the circuit as given below

Connect led to arduino microcontroller

7. Finally, code in Arduino IDE as given below

Code the microcontroller

8. However now its necessary to convert the code into Hex file by choosing export compiled binary

Export compiled binary

9. Now double click on microcontroller and choose Hex file.

Once you open it, Code will get dumped in Microcontroller

10. Lastly, run the simulation and you can observe led blinking

3. Cisco Packet Tracer(IOT Simulator)

Introduction

Lastly, now let’s discuss a simulation software where we can simulate IoT-related projects as well. Packet Tracer is a cross-platform visual simulation tool designed by Cisco Systems that allows users to create network topologies and imitate modern computer networks.

Configuration Steps

  1. Firstly, Download Cisco packet tracer from here.

2. Login yourself using your Email and password.

Login Credentials

3. Now go to Resources and choose packet tracer resources.

4. Further, now you can choose Packet tracer according to your system configuration and download.

5. After the download is successful, install it.

6. Now launch your packet tracer software and thus login using same credentials or login as Guest.

7. As an example, we shall blink an led using a microcontroller.

8. Thus, now select components at the left bottom corner.

Select the required components

9. Finally we design the circuit as given below.

Connect the components

10. Hence now double click on microcontroller to program it.

11. Select programming tab and create a new project.

11.Configure new project as a template. Again we have an option to choose a program using code blocks or python script. I shall go with code blocks.

12. Finally design code blocks as given below

Choose loop and pin access

13.Lastly, run the code block and observe the led blinking. However, make sure that that you have selected Real-time.

Real time has to be selected
Blinking of led

Conclusion

Finally, we have discussed three simulators where we can work on Arduino-related projects for beginners. In further tutorials, we shall develop simulations on IoT projects using the Cisco packet tracer.

Creating a multiplication Skill in Alexa using python

Written By Monisha Macharla

Hi, I'm Monisha. I am a tech blogger and a hobbyist. I am eager to learn and explore tech related stuff! also, I wanted to deliver you the same as much as the simpler way with more informative content. I generally appreciate learning by doing, rather than only learning. Thank you for reading my blog! Happy learning!

RELATED POSTS

Arduino and its various development boards

Arduino and its various development boards

1. What is Arduino? Arduino is an open-source software and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices....

MIT app inventor with Arduino

MIT app inventor with Arduino

MIT app inventor is a platform developed to help you expand your ideas into mobile applications that can be used throughout various devices. Arduino, as you most probably have heard of is mainly used to develop and implement many projects. When you put together the...

Arduino Compatible Temperature Sensors

Arduino Compatible Temperature Sensors

In this article, we will look at Arduino's popular temperature sensors which are the foundation for Arduino's entry level projects. Temperature Sensor Temperature sensors are designed to measure the temperature of an object or substance using the properties and...

ARDUINO MKR 1000

In this article, we are going to learn about Arduino MKR 1000. .Arduino MKR1000 is a powerful board that combines the functionality of the Zero and the Wi-Fi Shield. It is the ideal solution for makers wanting to design IoT projects with minimal previous...

How to use Blynk with Arduino ?

How to use Blynk with Arduino ?

What if you want to exclude the typical involvement of a laptop in the Arduino and make it more dynamic! In this tutorial, you will learn how to get started to Blynk with Arduino and it's various features. So, let's begin with the introduction. Contents: What is...

VIDEOS – FOLLOW US ON YOUTUBE

EXPLORE OUR IOT PROJECTS

IoT Smart Gardening System – ESP8266, MQTT, Adafruit IO

Gardening is always a very calming pastime. However, our gardens' plants may not always receive the care they require due to our active lifestyles. What if we could remotely keep an eye on their health and provide them with the attention they require? In this article,...

How to Simulate IoT projects using Cisco Packet Tracer

In this tutorial, let's learn how to simulate the IoT project using the Cisco packet tracer. As an example, we shall build a simple Home Automation project to control and monitor devices. Introduction Firstly, let's quickly look at the overview of the software. Packet...

All you need to know about integrating NodeMCU with Ubidots over MQTT

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

All you need to know about integrating NodeMCU with Ubidots over Https

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

How to design a Wireless Blind Stick using nRF24L01 Module?

Introduction Let's learn to design a low-cost wireless blind stick using the nRF24L01 transceiver module. So the complete project is divided into the transmitter part and receiver part. Thus, the Transmitter part consists of an Arduino Nano microcontroller, ultrasonic...

Sending Temperature data to ThingSpeak Cloud and Visualize

In this article, we are going to learn “How to send temperature data to ThingSpeak Cloud?”. We can then visualize the temperature data uploaded to ThingSpeak Cloud anywhere in the world. But "What is ThingSpeak?” ThingSpeak is an open-source IoT platform that allows...

Amaze your friend with latest tricks of Raspberry Pi and Firebase

Introduction to our Raspberry Pi and Firebase trick Let me introduce you to the latest trick of Raspberry Pi and Firebase we'll be using to fool them. It begins with a small circuit to connect a temperature sensor and an Infrared sensor with Raspberry Pi. The circuit...

How to implement Machine Learning on IoT based Data?

Introduction The industrial scope for the convergence of the Internet of Things(IoT) and Machine learning(ML) is wide and informative. IoT renders an enormous amount of data from various sensors. On the other hand, ML opens up insight hidden in the acquired data....

Smart Display Board based on IoT and Google Firebase

Introduction In this tutorial, we are going to build a Smart Display Board based on IoT and Google Firebase by using NodeMCU8266 (or you can even use NodeMCU32) and LCD. Generally, in shops, hotels, offices, railway stations, notice/ display boards are used. They are...

Smart Gardening System – GO GREEN Project

Automation of farm activities can transform agricultural domain from being manual into a dynamic field to yield higher production with less human intervention. The project Green is developed to manage farms using modern information and communication technologies....