D1M BLOCKS add tactile cases, labels, polarity guides and breakouts for the popular Wemos D1 Mini SOC/Shields/Clones. One of the issues with the ESP8266 chip is it has only one analog IO pin available. This instructable shows how to assemble the 2xAMUX BLOCK, which breaks out 2 generic A, D, GND, VCC headers, when using the ADS1115 D1M BLOCK.
The video above shows the process of assembling the pre-made blocks, compiling/uploading, and reading the values of the 4 analog sensors.
Step 1: Material and Tools
There is now a full Bill of Materials and Sources list.
- The Wemos D1 Mini Protoboard shield and long pin female headers
- 3D printed Base and Lid, and labels for the 2xAMUX D1M BLOCK
- A set of D1M BLOCK - Install Jigs
- Hot glue gun and hot glue sticks
- Strong Cyanoachrylate Adhesive (preferably brush on)
- 3D Printer or 3D Printer Service
- Soldering Iron and solder
- ~24AWG hookup wire
- 3pin male header
- 4pin female right angle header (or bend from the following)
- 4pin female long pins header
- A 2.54mm Jumper Shunt
Step 2: Soldering the Header Pins (using the PIN JIG)
There is a video above that runs through the solder process for the PIN JIG.
- Feed the header pins through bottom of the board (TX right-left) and into the solder jig.
- Press the pins down onto a hard flat surface.
- Press the board down firmly onto the jig.
- Solder the 4 corner pins.
- Reheat and re position board/pins if needed (board or pins not aligned or plumb).
- Solder the rest of the pins
Step 3: Soldering the Other Components
- Place 3pin male header on topside (as shown) and solder on underside. Remove plastic collar and cut pins down even with pins from previous step. This is to ensure the jumper shunt is below the lid (for stacking other modules)
- Place 4pin female right angle header on topside (lower side as shown) and solder on underside.
- Bend the 4pin female long pins at 8mm from the plastic. Place it on topside (upper side as shown) and solder on underside.
- Place 2pin male right angle header on underside (as shown) and solder on topside
- Topside - hookup both male header pins as shown (diagram white) with the end pins on the 4pin female headers.
- Underside - hookup side GND pin as shown (diagram black) with the 2ndpins on the 4pin female headers.
- Underside - hookup side 5V pin to 3pin male header pin as shown (diagram red)
- Underside - hookup side 3.3V pin to 3pin male header pin as shown (diagram red)
- Underside - hookup middle pin 3pin male header pin as shown (diagram red) with the end pins on the 4pin female headers
- Underside - hookup middle pin 3pin male header pin as shown (diagram red) with the end pins on the 4pin female headers.
Step 4: Gluing the Component to the Base
Once the pins have been soldered the remaining steps are the same for all D1M BLOCKS.
Not covered in the video, but recommended: put a large dob of hot glue in the empty base before quickly inserting board and aligning - this will create compression keys on either side of the board.
- With the base casing bottom surface ponting down, place the soldered assembly plastic header through the holes in the base; the (TX pin will be on side with the central groove).
- Place the hot glue jig under the base with the plastic headers placed through its grooves.
- Sit the hot glue jig on a firm flat surface and carefully push the PCB down until the plastic headers hit the surface; this should have the pins positioned correctly.
- When using the hot glue keep it away from the header pins and at least 2mm from where the lid will be positioned.
- Apply glue to all 4 corners of the PCB ensuring contact with the base walls; allow seepage to both sides of the PCB if possible.
- On some PCBs where the board ends close to the pins, dob a large amount of glue onto the base to the height of the PCB; when this cools apply more glue on the top of the PCB bridging to the lower glue.
Step 5: Gluing the Lid to the Base
- Ensure the pins are free of glue and the top 2mm of the base is free of hot glue.
- Pre-fit the lid (dry run) making sure no print artifacts are in the way.
- Take appropriate precautions when using the Cyanoachrylate adhesive.
- Apply Cyanoachrylate to the bottom corners of the lid ensuring coverage of the adjacent ridge.
- Quickly fit the lid to the base; clamping shut the corners if possible.
- After the lid is dry manually bend each pin so it is central in the void if necessary.
Step 6: Adding the Adhesive Labels
- Apply pinout label on underside of base, with RST pin on side with groove.
- Apply identifier label on flat non-grooved side, with the pins void being the top of the label.
- Press labels down firmly, with a flat tool if needed.