Raspberry Pi Zero W Setup Guide
How to Assemble Hardware
This guide provides step-by-step instructions for assembling hardware device for recording audio. Currently we use Raspberry Pi Zero W but will switch to ESP32 soon.
What do you need to buy
Option 1: With soldering (choose this if you have soldering experience or if you feel comfortable to try it out)
Option 2: Without Soldering
- Raspberry Pi Zero 2 W starter kit
- MicroSD card (8GB or larger recommended)
- Microphone
- Battery
- Solderless pins kit
Assembling instructions
1. Connect pin headers to Raspberry Pi
You have a Raspberry Pi board that looks like this
Your goal is to attach a the header connector to your Raspberry Pi.
To every beginner this seems a very hard step but it’s actually not that hard.
With Soldering You’d need to solder the header connector.
Without soldering:
- Follow this guide and use the solderless pins kit you purchased
This is what you should end up with:
2. Connect your Raspberry Pi with Sugar pi
Step 1: unpack your Raspberry pi sugar battery. it should contain 4-5 screws
Step 2: Following this video, attach your Pi Sugar to your Raspberry Pi. Note that this video may have screws you don’t have (and you don’t need them). Attach directly with your screws.
You should end up with something like this:
3. Attach header pins to microphone
You need to attach pins to your microphone to be able to connect it to Raspberry Pi later. You may choose to connect the pins first or solder via wires directly (if you are a professional). We will do it with pins.
With soldering:
From your microphone kit, you received 6 yellow pins on the same line.
Step 1: Since our microphone has 2 lines of pins, you need to break the 6-pin line into 2 pieces (see screenshot for reference). Don’t worry to make a mistake, you have 2 more microphones!
Step 2: Following same guides, solder pins that you got in the same kit with your Microphone.
Without soldering:
From your solderless kit, you should have receieved 2x header connectors.
Step 1: Since you wouldn’t need one of the connectors, you should cut/break one of them into smaller pieces. See this guide for reference.
You need 2 pieces with 3 pins each for your microphone (see image above for reference).
Step 2: Once you cut them, connect pins with your microphone the same way you connected your header connector to the board using Solderless pins kit
4. Connect Microphone to your Raspberry Pi
Along with your microphones you received multiple pin wires.
- Devide them into 2 groups of 3
- connect these wires to your header pins on your microphone (colors don’t matter)
Now it’s time to connect your microphone to Raspberry Pi.
Each pin is responsible for a specific task, which is why you need to follow a schema of connecting it correctly. If you make a mistake, something might not work as intended.
Here is the schema for your microphone
If you have a different microphone type by Adafruit, try this
5. Assemble everything
In my example, I put everything in the default case of the Vilros Kit. It looks ugly but this is what we will use for V1. Alternatively, you can 3d-print your own case.
- Insert the SD card into your Raspberry Pi Zero W.
- Power on the device to check if everything works (lights should blink) You can turn on/off the power on your Pi Sugar board (it has a small switch). Charging should also be done via Pi Sugar. If you charge the board itself, the battery will not be charged.
-
Put everything in the case
-
put microphone+wires through the lid’s hole outside (this way you’ll ensure the best audio)
- Take a scotch tape to attach the lid to the box. It wouldn’t fit by default because of our battery
- Put some rope/chain through the lid
Congratulations! You have successfully set up your Raspberry Pi Zero W for development with your project.
6. Install software and run
Navigate to Raspberry Pi Zero W Setup Guide to install the software and run