- Wearable:Tech Projects with the Raspberry Pi Zero
- Jon Witts
- 233字
- 2021-07-02 19:46:26
Wiring up the electronics
We need to wire up our electronic parts, as shown in the following image:

Make sure that your Pi Zero is switched off when you are soldering the cables to the Pi or the header pins! You will also need to take care when wiring your LEDs, as we must get the correct legs attached to the positive and negative wires in our circuit, or they will not work. The positive leg of an LED is usually longer, and there is often a flat edge on the LED to indicate which is the negative leg. We are also going to introduce a 330 Ω resistor between the LED and the ground of the Pi; this is done to stop the LED drawing too much current from the Pi and damaging it.
You may want to introduce a little electrical insulating tape around one leg of each LED to ensure that they do not short circuit by touching the other leg. Once you have soldered your components together, give them a final check over to make sure they are in the correct GPIO holes on the Pi and that you have a good connection at each joint.
Now that we have completed the wiring of our electronics, we can move on to writing the code to control it all. Plug in your Pi and establish a SSH connection to it.
- DBA攻堅指南:左手Oracle,右手MySQL
- Go語言高效編程:原理、可觀測性與優化
- Reactive Programming with Swift
- Mastering AndEngine Game Development
- Getting Started with SQL Server 2012 Cube Development
- C語言程序設計學習指導與習題解答
- VMware虛擬化技術
- Visual Basic程序設計實踐教程
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- Android移動開發案例教程:基于Android Studio開發環境
- JavaScript動態網頁編程
- Android Development Tools for Eclipse
- Node.js從入門到精通
- Java EE輕量級解決方案:S2SH
- C語言王者歸來