Create An LED Circuit with A Button in Tinkercad

Create An LED Circuit with A Button in Tinkercad

In this lesson, we will create a closed circuit controlled by a button using Tinkercad. This lesson builds on the previous lesson for creating circuits with Tinkercad.

Circuits usually have a button that is used to open and close the circuit. The Simulation button in Tinkercad does not qualify as a button.

This project will build on the project covered in the previous lesson. We will use the same circuit and include a button. Stop the simulation by clicking the Stop Simulation button.

tinkercad stop simulation button


Move the LED up one column to make room for the button. Place the LED in column G.

selected LED on breadboard


Open the components panel and find the Pushbutton.

push button in components panel


Place the Pushbutton so that one end is in column F and the other end is on column E. In this push button switch, the diagonal terminals represent the opposite ends of the switch. This means that the current will flow from E5 to F3 when the button is pressed. More importantly, the current will not flow when the button is not pressed.

We need to have a closed circuit that includes the button. The connections from the negative terminal form the first half of our circuit as then run from the negative connection through the cathode end of the LED and into one end of the push button. We need to complete the other end of the circuit with the positive terminal connection.

push button placed on bread board


Click once on the positive terminal jump wire. This will select the wire so we can remove it from the circuit. We don’t need the wire here and it’s a good idea to keep things organized. Press the delete key on your keyboard after selecting the wire.

positive terminal jumper wire


The holes in the Breadboard only connect along rows. It is usually a good idea to keep polarized connections consistent. It helps when trying to troubleshoot problems with connections. Go to the opposite end of the Breadboard and add a jumper wire between the positive column on one end and the positive column in the other end. Change the color of the wire to red. This helps identify the jump wire as a positive terminal wire.

positive terminal jumper wire across breadboard


Complete the circuit by connecting a jumper wire from the positive terminal to the column that connects the opposite end of the button. The opposite end of this button is the diagonal opposite on the switch.

positive terminal wire to one end of push button switch


Troubleshooting The Switch

I don’t like to solve problems for my audience during presentations and I won’t solve the problem for you here either. Run the simulation and press the button. Does the LED turn on? What do you think is the reason for the LED not working as we intended? I’ll give you a hint. The anode on the LED must be connected to the positive connection of current flow.

Stop the simulation before proceeding to the solution. We cannot move components while the simulation is running. Just like you should not move components when current is flowing through them in a Breadboard.

running simulation with not LED light as result

The Solution

Move the LED so the anode is connected to the push button terminal row.

connect anode to proper end of push button switch


After moving the LED the negative jumper wire is no longer connected to the cathode end of the LED. We don’t need to delete the jumper wire. Existing jumper wires can be moved. Click once on the jumper wire and move one end so it connects the cathode end of the LED. Jumper wires don’t have to be at right angles in order to work. A diagonal jumper wire works the same.

move jumper wire to cathode of LED


Run the simulation and press the push button with the mouse pointer. The LED will remain lit while the button is pressed.

run simulation to see LED light when push button pressed


This is the completed circuit.

the completed circuit with the push button


Posted in Arduino, Electronics, Tinkercad.