- 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.
- Instant Testing with CasperJS
- 基于粒計算模型的圖像處理
- TypeScript Essentials
- WebAssembly實戰
- Windows系統管理與服務配置
- 劍指JVM:虛擬機實踐與性能調優
- PowerCLI Cookbook
- Learn Swift by Building Applications
- Essential Angular
- Python機器學習實戰
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Test-Driven Development with Django
- UI設計全書(全彩)
- 工業機器人離線編程
- Apache Solr PHP Integration