Javatpoint Logo
Javatpoint Logo

Arduino Simulator

The Arduino simulator is a virtual portrayal of the circuits of Arduino in the real world. We can create many projects using a simulator without the need for any hardware.

The Simulator helps beginner and professional designers to learn, program, and create their projects without wasting time on collecting hardware equipments.

Advantages of using Simulator

There are various advantages of using simulator, which are listed below:

  • It saves money, because there is no need to buy hardware equipments to make a project.
  • The task to create and learn Arduino is easy for beginners.
  • We need not to worry about the damage of board and related equipments.
  • No messy wire structure required.
  • It helps students to eliminate their mistakes and errors using simulator.
  • It supports line to line debugging, and helps to find out the errors easily.
  • We can learn the code and build projects anywhere with our computer and internet connection.
  • We can also share our design with others.

Types of Simulator

There are various simulators available. Some are available for free, while some require a license to access the simulators.

Some types of simulators are listed below:

  • Autodesk Tinkercad
  • Emulator Arduino Simulator
  • Autodesk Eagle
  • Proteus Simulator
  • Virtronics Arduino Simulator
  • ArduinoSim

Autodesk Eagle is an advanced simulator, which is used to design 2D and 3D models of PCB, modular designs, multi-sheet schematics, real-time synchronization, etc.

How to access simulator?

Here, we are using the Autodesk Tinkercad Simulator.

The steps to access the TINKERCAD are listed below:

1. Open the official website of tinkercad. URL:

A window will appear, as shown below:

Arduino Simulator

2. Click on the three horizontal lines present on the upper right corner.

3. Click on the 'Sign in' option, if you have an account in Autodesk. Otherwise, click on the 'JOIN NOW' option if you don't have an account, as shown below:

Arduino Simulator

The SIGN IN window will appear as:

Arduino Simulator

We can select any sign-in method. Specify the username and password.

We already have an account in Autodesk, so we will sign-in directly with the username and password.

The JOIN window will appear as:

Arduino Simulator

Select the preference according to the requirements and sign-in using Gmail, etc.

4. Now, a window will appear, as shown below:

Arduino Simulator

5. Click on the 'Create new circuit' option to start designing the Arduino circuit, as shown above.

The 'Circuits' option will also show the previous circuits created by user. The design option is used for creating the 3D design, which is of no use in Arduino.

6. We are now ready to start with the Autodesk Tinkercad. We can start creating our projects.

Autodesk Tinkercad Simulator

It is also a simulator that is used to design virtual circuits.

Features of Tinkercad

The features of Tinkercad are listed below:

  • Glow and move circuit assembly. It means we can use the components of a circuit according to the project requirement. Glow here signifies the glowing of LED.
  • Integrated product design. It means the electronic components used in the circuitry are real.
  • Arduino Programming. We can directly write the program or code in the editor of the simulator.
  • We can also consider some ready-made examples provided by the tinkercad for better understanding.
  • Realtime simulation. We can prototype our designs within the browser before implementing them in real-time.

How to use a simulator?

Sign-in on the Autodesk Tinkercad, as explained above. Now, follow the below steps:

  • Click on 'Create new circuit' option, as shown below:
Arduino Simulator
  • A window will appear. We need to drag and drop the desired components in the project screen. It is shown below:
Arduino Simulator
  • Click on the drop list of components and select the 'All' option.

The drop list will appear as:

Arduino Simulator

The selected option 'All' will display all the components and starter examples when we scroll down a little, as shown below:

Arduino Simulator

Code example to blink an LED

Let's understand with an example to blink an LED. We can use both ( blinking an LED in basic projects and the one specified below) methods to blink an LED.

The steps are listed below:

  • Search UNO R3 and drag-drop the board on the project screen. We can select any board according to the requirements.
  • Search a LED, and 1 resistor of 220 ohms and drag-drop them on the project screen.

After selecting the resistor, a box to set the resistance will appear, as shown below:

Arduino Simulator

Here, we have selected the red color for LED. We can also choose other colors.

After selecting the LED, a box to set the color will appear, as shown below:

Arduino Simulator
  • Now, connect the wires. For wiring, just select the point on the board to the terminal of the component. We are not required to search for wires in the search box.
  • The circuit will now appear as:
Arduino Simulator
  • Select the 'Text' instead of block view, as shown below:
Arduino Simulator
  • Click on the code button to write the code, as shown below:
Arduino Simulator
  • The coding screen will appear as:
Arduino Simulator

It also displays the error in the code, if any.

  • Click on 'Start Simulation' to upload the code on the board.

The LED will light up for 1 second and dim for 1 second.

The lighting LED is shown below:

Arduino Simulator

Click on 'Stop Simulation' to stop the blinking of an LED, as shown below:

Arduino Simulator

Serial Monitor

The serial monitor is present on the bottom of the coding screen.

It will look like the below image:

Arduino Simulator
Next TopicArduino Web Editor

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA