-
Notifications
You must be signed in to change notification settings - Fork 4
1. Hardware set up
Frank1119 edited this page Apr 8, 2019
·
5 revisions
- Raspberry Pi Zero. The cheapest version without Wifi and Bluetooth will suffice
- SD card 16 GB class 10 or better
- One red led 1.75V 2mA
- One green led 2.2V 4mA
- One resistor 750 Ohm 0.25W or less
- One resistor 270 Ohm 0.25W or less
- One push button (see picture below)
- ModMyPi casing (see picture below)
- Some insulation tape
- Some electrical wire, rather thin
- For the two leds, drill 3 mm. holes in the top cover of the casing. Make sure while determining the location of these holes that there is enough space underneath for the leads of the leds and the leads of the resistors
- Drill a hole in the bottom cover of the casing. This hole must be just large enough to let the round part of the button through
- With a large drill (10 mm. or more), remove enough of the bottom casing around the button hole to make it accessible
- With a file, remove enough from the leds that they will not stick out to far through the top cover
- Bend the leads of the button and the leds, so that they will not touch de Raspberry PCB
- Cut the leads as short as possible, but make sure that you can still solder the connections
First glue all parts to the casing. I used a glue gun.
- Glue the leds to the top cover
- Glue the button to the bottom cover
For the pin layout of the Raspberry Pi Zero see this site If using the ModMyPi case, there is no space left for connectors, so you have to solder all connections directly to the Raspberry Pi PCB.
- Connect the + of the red led to the 750 Ohm resistor. Connect the other connection of the resistor to BCM19
- Connect the + of the green led to the 270 Ohm resistor. Connect the other connection of the resistor to BCM26
- Connect the - of both leds to ground
- Connect one connector of the button to BCM5. Connect the other connector to ground
- Place some insulation in the areas where the leads of the button and the leds may touch the PCB
- Bend the wires so that they fit in the case
- Place the Raspberry Pi Zero on the bottom part of the case
- Place the top cover over the Raspberry Pi Zero
- Check -again- to make sure there is no short-circuiting between the leads and parts of the Raspberry Pi Zero
The SD card should be placed in the slot meant for the SD card but do this not at this moment for the OS has to be installed first
Go Home