In my case, I’ve used the latest available version of Raspbian Stretch with desktop and recommended software. You should have an up to date version of Raspbian installed on your RPi. In the next diagram, made with Fritzing, you can see a more clear picture of how the circuit was wired: Also, I’ve used a jump wire to connect the ground rail of the breadboard to one of the RPi’s ground pins. The negative leg, the cathode, of each LED is connected to the ground rail of my breadboard using a 220 Ω resistor. If you want to see your Pi pins layout, use this command in a Terminal on your RPi: 1 pinout I’ve connected the positive leg, the anode, of each of the three LEDs to one of the Pi’s pins in this order: 17, 22 and 6. However, you can also directly connect the RPi pins to your main breadboard using a couple of female-male Dupont wires. Note: In my setting I’ve used a T cobbler to connect the Raspberry Pi GPIO pins to a small breadboard, this has the advantage that I can easily see the named pins of the Pi. 1 Raspberry Pi (any recent version should work).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |