Setting Up the Circuit

About: Learn electronics and Arduino with Tinkercad Circuits!

Intro: Setting Up the Circuit

The following information is a single lesson in a larger project. Find more great projects here.

Return to Previous Lesson: Introduction

Lesson Overview:

Now we'll build our simple circuit!

Step 1: Connecting Power and LEDs

Just as you’ve been doing in other projects, start by wiring up your breadboard so that the 5 volt and GND pins on the Arduino are connected to the voltage rails on the breadboard.

Next, add the three red LEDs to the breadboard, as shown. These will be the indicator or "bar graph" lights for the project.

  1. Connect the 5 volt and ground pins on the Arduino to the power and ground rails on the breadboard with wires. You can change the wire colors if you want to!
  2. Place the three LEDs on the breadboard in row E, spaced 2 breadboard sockets apart.
  3. Use a 220 Ohm resistor to connect each LED's cathode (left leg) to the ground rail (black) of the breadboard. You can change a resistor's value by highlighting it and using the dropdown menu.
  4. Connect the LED anodes (right legs) to digital pins 4, 3, and 2 on the Arduino.
  5. Continue to the next step.
  6. Stuck? HINT: Review: The LED anode is the terminal that current flows into. This will connect to the digital output pins on the Arduino. The cathode is the terminal that current flows from. This will connect to the ground rail.

Step 2: Connecting the Temperature Sensor

Next, place the temperature sensor (TMP36) on the breadboard with the rounded part facing away from the Arduino, as shown in the figure. (The order of the pins is important!) In the simulator, it should already be oriented in the right direction when you drag it from the Components + menu.

If you hover over the temperature sensor pins with your cursor the left side (Vs) connects to power, the middle (Vout) communicates with the Arduino, and the right (GND) connects to ground. Full instructions for wiring this component are below.

  1. Place the temperature sensor on the breadboard in row E, as shown.
  2. Wire up the temperature sensor so the left pin connects to the 5V voltage rail, the center pin connects to A0 on the Arduino, and the right pin connects to the GND rail.
  3. Continue to the next step to learn how to program the Arduino!

Next Lesson:Writing the Code



    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge