A simple way to start the Raspberry Pi programming way is try to programming a Raspberry Pi. Now I have created this simple tutorial. You can follow the simple passages and make a simple RGB wireless lamp.
All the components are a RGB led, comune cathode, three resistences (120 Ohm + 120 Ohm + 100 Ohm), a pinplug for Raspberry Pi GPiO, and a piece of perfboard.


You can also buy this RGB led with resistors

Step 1: The Circuit

The circuit is very simple. You can also use a breadboard and some jumper cable.

Follow the scheme, and solder the components on the perfboard. Use a RGB common cathode and 3 resistor. Use the 120 Ohm resistor for blue and green pin and 100 Ohm for red pin.

For play a sound I raccommend to use Pygame (http://www.pygame.org/news.html).<br>The code is this:<br><br>import pygame<br>pygame.mixer.init()<br>pygame.mixer.music.load(&quot;myFile.wav&quot;)<br>pygame.mixer.music.play()<br>while pygame.mixer.music.get_busy() == True:<br> continue

About This Instructable




More by masteruan:Make SMART Your Washing Machine Arduino UNO MQTT Meteo Station Microview Digital Dice 
Add instructable to: