If you’ve never soldered through-hole electronics before, I suggest you give yourself a quick primer with one of the numerous through-hole soldering tutorials on YouTube, like this one.
Importantly, take all the time you need – there’s no rush. And work in a well-ventilated space.
Here’s a general tip regarding alignment of parts. First, solder only one leg of a component. Check the alignment (ie. make sure the component is straight and flush with the PCB). If it’s not, reheat the leg and realign. It’s almost impossible to do this kind of alignment once more than one leg is soldered.
PCB VERSION
These instructions are for the V1 version of the PCB that has indented sides.
If your board has straight sides s as in the image below, you’ll want to use the V2 instructions instead.
PCB BOTTOM
We’ll populate the bottom of the board first (BOTTOM is silkscreened in the bottom left corner). Here’s a shot of the completed bottom of the board for reference (click on any of the images to enlarge them.)
1. Resistors
We can populate all of the resistors, then solder them all in one go. They are not polarized, so it doesn’t matter which way around they go in.
1.1 51Ω x 2 (Green, brown, black, gold, brown)
These resistors are required by the MIDI output on the DIN connector.
1.2 220Ω x 3 (Red, red, black, black, brown)
The two resistors at the bottom are current limiting resistors for the two LEDs. The other is part of the LM386 amplifier circuit, along with all the other resistors and caps we’ll be adding.
1.3 10Ω (Brown, black, black, gold, brown)
1.4 9.1kΩ (White, brown, black, brown, brown)
1.5 10kΩ (Brown, black, black, red, brown)
Time to flip the board over, solder all the legs, then use your edge cutters to snip the legs off.
2. 8 Ω Speaker
3. 8-Pin Dip Socket
The dip socket will hold the LM386 amp IC.
4. Ceramic Capacitors
Like the resistors, the ceramic caps are not polarized – they can go in either way around.
4.1 470pF Capacitor (471)
4.2 0.10uF Capacitor x 3 (104)
5. PCM5102A DAC Board
The PCM5102A DAC breakout board communicates with the Teensy over the I2S serial bus, and provides far better audio quality than I was able to achieve with the Teensy’s built-in DAC.
6. ToF Sensor Headers x 2
7. Electrolytic Capacitors
Heads-up! Electrolytic caps are polarized, so mind the orientation. The leg on the side of the cap that has the white line running down it (marked with –) goes to the square pad with two lines on either side.
7.1 10uF
7.2 220uF
7.3 100uF
8. Teensy 3.2
The Teensy 3.2 is Theremon’s brain! If you picked the option for a kit that includes the Teensy, yours will already be flashed with the latest firmware at the time of shipping. It might be worth checking if there’s been a firmware update. Flashing new firmware is super easy (love you, Teensy!). Instructions are on the Firmware page.
9. MIDI DIN
10. LM386 IC
PCB TOP
Time to flip the board over and populate the components on top.
11. OLED Jumpers x 2
While sourcing parts for Theremon, I noticed that many OLED units have GND and VDD pins swapped around. In order to accommodate both types, I’ve added jumper pads.
12. OLED
13. LEDS x 2
14. Buttons x 6
15. Potentiometers x 2
16. Time of Flight (ToF) Distance Sensors
Theremon has two Time of Flight sensors to measure the distance between the player’s hands and the instrument (Adafruit is a great resource to learn more about the VL53L0X sensors we’re using). The ToF sensors are screwed to the acrylic enclosure and attach via ribbon cables. This allows for the option to have them firing up, or off to the sides depending on your preferred playing style. Note that it’s probably easier to place Theremon next to other gear if you have the ToFs firing up.