- 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.
- DevOps with Kubernetes
- Building a RESTful Web Service with Spring
- 數據庫系統原理及MySQL應用教程
- PySide GUI Application Development(Second Edition)
- VMware虛擬化技術
- BIM概論及Revit精講
- WordPress 4.0 Site Blueprints(Second Edition)
- HTML 5與CSS 3權威指南(第3版·上冊)
- 從零開始學C#
- Internet of Things with ESP8266
- Managing Microsoft Hybrid Clouds
- Python趣味編程與精彩實例
- 數據科學中的實用統計學(第2版)
- Mastering JavaScript Promises
- Python機器學習