LED Projects

3 More LEDs and a Button

3: More LEDs and a Button

So we now have a traffic light/pelican (Tux!) crossing simulator. The 2nd Red LED is connected to wiringPi pin 3, (GPIO-22), and the 2nd Green LED is connected to wiringPi pin 4, (GPIO-23). Test them as before with the gpio command, e.g. for i in 0 1 2 3 4 ; do gpio mode $i

3: More LEDs and a Button Read More »

Controlling an LED

Controlling an LED

For this part of the tutorial you will need: Usb to Mirco USB cable. Ethernet Cable. A computer. An SD card (4GB or bigger). A breadboard Female to male jumper cables or the Adafruit Assembled Pi Cobbler Breakout. 330 Ohm resistor. A bit of Electronics A voltage source is a constant is a source of electrical

Controlling an LED Read More »

Scroll to Top