Creating a circuit

For our first Arduino task we were challenged to build a simple circuit using a breadboard and use switches to let the current flow.

To power-up the board with +5 Volts I used the Arduino board and connected it to my laptop. I began trying to understand the difference between series circuit and parallel circuits. These were my first tests.

Series Circuit:


Parallel Circuit:


This is the schematic view of the parallel circuit above:

schematic view

Then, I wanted to create a circuit with LEDs in which the user could light 2 LEDs separately using 2 different switches and also both of them together, using a 3rd switch. Well, that didn’t work because I found out that once the 2 wires that were supposed to light both LEDs were connected to the 3rd swith, that would connect the entire circuit, making it impossible to light each LED separately, even if I used 2 other buttons for that.

So, after a lot of thinking the best solution I came up with (with a bit of help from the resident Moon), was to use 4 LEDs (2 green and 2 yellow) and 3 buttons:

  • 1st switch: turns one yellow LED on
  • 2nd switch: turns one green LED on
  • 3 switch: turns all the 4 LEDs on

FullSizeRender (1) Switch

This is what I got:

This only worked because when you are working with diodes (such as LEDs), the current can only flow in one direction. So once the current tried to pass from the negative side of the LED to the positive, it would just bounce back, lighting up only the LED is was supposed to.

This was a fun way to understand how circuits, diodes, switches and all that other stuff work.

Leave a Reply

Your email address will not be published. Required fields are marked *