D1M BLOCKS add tactile cases, labels, polarity guides and breakouts for the popular Wemos D1 Mini SOC/Shields/Clones. This D1M BLOCK gives a simple hookup between the Wemos D1 Mini and the ADXL345 Accelerometer module.
My initial motivation for developing the D1M BLOCK was for independent verification of a solar tracking controller.
In order to acheive this I needed to track Yaw and Roll. This module does not compute Yaw, so I packaged the D1M GY521 BLOCK.
This Accelerometer (GY-521 module) is touted to measure the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (4 mg/LSB) enables measurement of inclination changes less than 1.0 degrees.
This Instructable steps through the assembly of the block and then runs the sensortest example using the D1M WIFI BLOCK.
There is now a full Bill of Materials and Sources list.
There is a video above that runs through the solder process for the PIN JIG.
As the ADXL345 module will block you from soldering through holes on the top-side, the following strategy works for the power wires: on the underside, solder over the through-hole, then remelt and push end of wire through the hole and remove heat.
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. Please do a dry run in placing the shields in the base. If the gluing was not very accurate, you may need to do some light filing of the edge of the PCB.
For this test you will need:
Preparation:
The test: