Adafruit Dotstar Matrix Thermostat

by jmartin241 in Circuits > Arduino

1241 Views, 7 Favorites, 0 Comments

Adafruit Dotstar Matrix Thermostat

T-365
f5a0b001-8621-48f4-bbeb-c688b2a96319.jpg
b29c7f95-19bc-42a6-b4ac-09d68f553540.jpg
e5b2b736-1c55-401f-9164-50466c78e4f8.jpg
1609cd39-f591-4fa8-9ac0-180366ffef21.jpg

Hi, everyone! This is my nightstand thermostat that shows what the outside temperature is. This product was made for those that fall into the daily routine of checking their phone to know what the temperature is every morning.

This instructable will also serve as a guide to help you get started using Arduino board Uno and Adafruit's Dotstar Matrices, so feel free to follow along!

Enjoy!

Supplies

1 Arduino Board Uno

4 Adafruit Dotstar Matrices

Soldering Iron

wire

3D Printer

Super Glue

8 Neodymium magnets

Arrange Dotstar Matrices and Solder

Connectivity 1.JPG
connectivity 2.JPG
35.JPG

Once you have your 4 Adafruit Dotstar Matrices in hand you can go ahead and arrange them. It is very important that you follow along the pictured diagrams provided in this tutorial. Once they are all aligned and in order you can go ahead a super glue them together to avoid gaps between the matrices.

tip: I would test them first with the code and later glue them together.

Once everything is lined up you can begin to solder the Dotstar Matrices. For best results, please follow the diagram provided.

Connect Matrices to Arduino Uno Board

Final c diagram.JPG

After soldering all of the wires in place, you can go ahead and connect the matrices to the Arduino Uno Board. Follow the diagram provided for best results.

Upload Code

matrices chart.JPG

In the tutorial, two codes are provided. One that shows a snowflake and 38 degrees F, and another one that shows a flame and 91 degrees F.

You can also experiment with the matrices and make them show whatever you want. In order to do this you need to mark down the specific pixels you want to light up and add them in the code provided. you can use the pixel chart provided in this tutorial to manually mark down the specific pixels.

3D Print Box

3ba2b0c4-247f-44b3-9afa-ab6d6af16771.jpg
34.JPG

For this project, I created a 4x4 3D printed box to house all of the electronics. You don't need to have it 3D printed, but you can use the STL files provided to print your own.

Place Magnets, Acrylic Screen and Matrices

47e5a055-88bb-4be1-b480-95538aae7bb1.jpg
8e124869-708a-4170-853b-3f957182854d.jpg

If you used the STL files provided, you might have noticed that there are 8 slots around the corners of both parts printed. These are meant for the neodymium magnets. These magnets are going to provide us with easy in and out of the box in order to arrange the electronics inside. you might need to sand or drill a little bit for the magnets to easily go in.

After doing this, you can go ahead and super glue a piece of semi translucent acrylic from the inside of the lid. Once that's done, you can glue the matrices to the acrylic piece by using hot glue. Make sure to put the glue around the frame of the matrices and not on top of the LEDs. Make sure that the matrices sit flush against the acrylic.

Place Arduino Board Inside of Box

0cfb8369-ac9f-449e-97a5-ef7dca0ba8af.jpg
9fc5d6ba-8f64-4279-8c11-64d7979e96de.jpg

to place the arduino board to the box you first need to align the power port to the hole in the back of the box. This hole is for the power cable to slip through once everything is put together. Put hot glue at the bottom of the Arduino board and glue it inside.

Final Step

After placing the arduino board you're ready to connect the matrices to the arduino board (use diagram provided earlier) and snap the two pieces of the box together.

Connect the power cable, upload the code and you're ready to go!

Enjoy!