Home
BerryClip User Guide
Contents
1. Berry Clio 6 LED Buzzer Board The quick and easy way to experiment with the Raspberry Pi Raspberry Pi is a trademark of the Raspberry Pi Foundation BerryClip 6 LED Buzzer Board Introduction The BerryClip is a simple cheap and easy to use add on board for the Raspberry Pi It plugs directly onto the Pi s GPIO header and provides 6 coloured LEDs 1 Buzzer and 1 Switch It can be controlled using any programming language that can manipulate the GPIO pins and this includes Python and C Parts The kit of parts includes 1 Circuit board 2 Red LEDs 2 Yellow LEDs 2 Green LEDs 6 330 ohm resistors 1 1Kohm resistor 1 10Kohm resistor 1 Buzzer 1 Switch 0126 way header connector 1 Rubber bumper Resistor Colour Codes The value of a resistor is indicated by bands of colour The resistors on the BerryClip will have the following colour codes 330 ohm Orange Orange Brown 1Kohm _ Brown Black Red 10Kohm Brown Black Orange http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board The PCB The PCB is labelled to identify where each component should be placed P1 Buzz1 S1 R1 R6 R7 R8 LED1 2 LED3 4 LED5 6 26 way header 5v buzzer Micro switch 330 ohm Orange Orange Brown 1K ohm Brown Black Red 10K ohm Brown Black Orange Red LEDs Yellow LEDs Green LEDs BerryClip 6 LED Board raspberrypi spy co uk Copyright Matt Hawkins 2012
2. Take care to ensure the 1K and 10K resistors are placed in the correct positions Take a look at the photos to ensure you solder the 26 way header onto the correct side of the board The LEDs have a short leg Cathode and long leg anode Make sure the long leg is inserted into the hole nearest the P1 Header The short leg should be inserted into the hole nearest the resistor http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Assembly amp Soldering If you have never soldered before or you need a quick refresher then can recommend the Soldering Is Easy comic http mightyohm com files soldercomic FullSolderComic_EN pdf or this SparkFun page http www sparkfun com tutorials 106 Recommended Soldering Sequence Solder 26 way header Solder 8 resistors Solder 6 LEDs Solder 1 switch Solder 1 buzzer When soldering the header make sure you don t use too much solder or you may short circuit the pins underneath the PCB Once the components are soldered D Visually check your solder joints and ensure there are no stray blobs or splashes of solder that might short circuit any pins Remove the label on the buzzer Stick rubber bumper to underside of board so it will rest on large silver capacitor C6 on the Raspberry Pi Oi possible use a multimeter to check there are no short circuits between adjacent header pins Plug the board onto your Raspberry Pi Stand
3. Test LEDs only berryclip O2 py Test Buzzer only berryclip_03 py Test Switch only berryclip 04 py Test LEDs and Switch berryclip_05 py Test LEDs Buzzer and Switch berryclip_06 py LED sequence berryclip_07 py Dice Simulator berryclip_08 py Reaction time game berryclip O9 py Random LEDs berryclip 10 py Multiple LED sequences in a loop B berryclip__11 py Traffic light simulator 9 berryclip 12 py Morse code generator To run a script you can use the following command SUCO PyeElnom lserrmyolije Olly To quit a running Python script use CTRL C To view a text file or Python script you can use the command Gait een liye Ol y http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Modifying Scripts Once you have tested your BerryClip and tried the example scripts you can start to develop your own examples You can use any text editor you prefer to edit the scripts but here are some quick tips Copy an existing scripts to a new file by using igh Nolsiaretc Iho SOUL Ayo ores ane Edit a script in the nano text editor using nano myfile py Make your changes and save using CTRL O You can quit nano by pressing CTRL X Adjusting the time sleep statements is a good thing to start with Or maybe adding additional print statements http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Additional Information The
4. back and admire your work http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Software Setup To start with you will need a working SD card would recommend starting with a fresh copy of Raspbian This image can be downloaded from from Samisk raspberrypi org downloads SDHC Card 2 Once you ve got an SD card prepared put it in your Pi power it up and login i Acc with default user name and password pi and raspberry You will now be located in the pi user home directory home pi Type the following commands pressing the Enter key at the end of each line mkdir berryclip cd berryclip wget https bitbucket org MattHawkinsUK rpispy berryclip get master tar gz Eig SONAL UIs Se wea oA ope aloe I The above lines perform the following functions Makes a new directory called berryclip Navigates into that directory Grabs an archive of all the files from the BitBucket org website Extracts the files to your Pi The script will download an instruction file and a set of example Python scripts To list the downloaded files type lg ell You can use the following command to remove the gz archive as we don t need that now we have extracted the files ei WES ESL ELIS 2 C74 http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Run Some Example Python Scripts The following example Python scripts are available berryclip O1 py
5. following information is provided for those that are simply curious or are looking to modify their BerryClip Hardware Reference Here is a list of components the header pins they connect to and the GPIO reference you can use you control them Pin 07 GPIO4 Pin 11 GPIO17 Pin 15 GPIO22 Pin 19 GPIO10 Pin 21 GPIO9 Pin 23 GPIO11 Buzzer Pin 24 GPIO8 Switch Pin 26 GPIO7 LED Currents The LED current limiting resistors are 330Q The voltage provided by the GPIO pins is 3 3V The LEDs drop approximately 2 2 2V This leaves the resistor dropping 1 1 1 3V The resistors have a tolerance of 5 so could vary in value between 3100 and 3500 So using Ohm s Law V V IR F we can calculate that the LEDs each draw between 3 1mA and 4 2mA http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board Circuit Diagram Here is a circuit diagram showing how the LEDs switch and buzzer are connected to the GPIO header via the resistors http www raspberrypi spy co uk BerryClip 6 LED Buzzer Board 19 December 2013 Raspberry Pi is a trademark of the Raspberry Pi Foundation http www raspberrypi spy co uk
Download Pdf Manuals
Related Search
Related Contents
Lunettes MassWare User`s Manual Version 1.0.2 Apacer Technology AP-SRFD255AXXXXR-G User's Manual Cyclades AlterPath Manager 2500 User's Manual Télécharger le catalogue des formations ShowStar User Guide Aug. 16th, 2011 Bedienungsanleitung - ROWI Schweißgeräte & Elektrowerkzeuge EXPERIENCIA EN MANEJO DE INVERNADEROS EN EL VALLE warning! - Sherman Oaks Medical Black & Decker X50 How to Use Copyright © All rights reserved.
Failed to retrieve file