pcomp02_Basic_Circuits

00

LED with button

So the circuit is simply consist of a power, a LED, and a button.

00

Press the button and the light will be bright.

Something to notice:

  • Watch the positive and negative end of the LED.
  • Get to know the button of the arduino kit. The two legs on the same side are already connected.
  • Always use resisters to protect the circuits.

The possible form of switches

Last class gives me interesting ideas about what could be a switch. A switch usually has 2 status, 0 and 1. Besides two metal slices, anything has more than 2 status could be a switch! Like a runing rabbit, a bouncing ball, any kind od sensors, voice, color…Basically any information could be a switch! How beautiful is that could be!