Table of Contents

The Result

The Parts

Amount Part Type Datasheet Links
1  Nokia 5110 LCD Module N/A 🔎 aliexpress
1 D1mini Module N/A 🔎 aliexpress
1 RTC DS1307 Module N/A 🔎 aliexpress
 8  M2x6mm Hex Screw     🔎 aliexpress 
 4  M2x3mm Hex Screw     🔎 aliexpress 
 2  M2x5mm Hex Screw     🔎 aliexpress 
 7  120mm wire     🔎 aliexpress 
4  60mm wire     🔎 aliexpress 
 1   Wire Wrapping Tool     🔎 aliexpress 

The USB cable is fixed in the back panel and holds the D1mini. If you have a different cable, you can modify the blender file and create your custom back panel. Or you can use a file and hot glue to improvise this part.

I used a wire wrapping tool to attach the wires, instead of soldering, in case I want to re use the parts in other projects.

The Schematics

The Nokia 5110 module is connected to the D1mini via SPI. The RTC module is connected via I2C. This means that you can extend this project with more sensors via I2C, but not much else. D0 is empty, to support deepsleep if you want to (connect with RST to enable the wakeup signal).

D1mini Nokia 5110 RTC
GND GND GND
3V3 VCC Vcc
D0    
D1   SCL
D2   SDA
D3 RST  
D4 DC  
D5 CLK  
D6    
D7 DIN  
D8 CS  

The Code

The code is in my github repository:

https://github.com/pauls-3d-things/d1mini-nokia5110-cube

The 3D Print

The 3D print consists of 3 parts. You can print each part without support. The front and back panel can be printed with the outside facing up, if your 3D printer supports briding of a few cm. I prefer it this way as it provides better surface finish on the outside.