Introduction: DIY Room Thermometer Using an OLED Module
We learn how to build a room thermometer using the DS18B20 sensor and an OLED module. We use a Piksey Pico as the main board but the sketch is also compatible with the Arduino UNO and Nano boards so you could use those as well.
Step 1: Watch the Video
The video contains all the information you need about the build and I highly recommend watching it first to give you an understanding of how it all comes together.
Step 2: Gather All the Components
This is a relatively simple build and you will need the following components:
- An Arduino board - The Uno, Nano work fine and we will be using the Piksey Pico
- A DS18B20 or DS18B20+ temperature sensor
- 0.96" OLED module
- Logic level shifter module
- Arduino Nano: https://amzn.to/34aNq6o
- OLED Module: https://amzn.to/34gCPXW
- Logic Level Shifter: https://amzn.to/2NrdAep
Step 3: Program the Board & Test
Next, we need to upload the sketch to the board. You can also change the icon being displayed if you want to do this. Now is also a good time to wire everything together, preferably on a breadboard to make sure it all works as expected. You can use the wiring diagram as a reference.
Link to final sketch:
Step 4: 3D Print the Model
NOTE: This model was originally designed to only house the OLED module. I've managed to pack all the electronics within the same space by making some modifications to the Piksey Pico. Please watch the video for more information. If you are using an Arduino Nano or UNO then you will only be able to use this model to house the display and the electronics will have to be placed outside.
You can also print the stand if you will be using it. Keep in mind that it appears to be a bit delicate so you would need to be careful when handling it.
Link to 3D model:
Step 5: Wire It Up & Test
Use your preferred method of wiring all the electronics in place. I've used multi-strand wire as that seems to work best. Please note that your final setup will look very different from mine depending on the modules you are using.
Make sure you carry out a final test to ensure that everything works as expected before you assemble it, which is the next step.
Step 6: Assemble It in Place
Finally, it's time to assemble the two halves in place. Be careful not to apply excessive pressure to the OLED module as they are easy to crack and damage.
Step 7: Show It to the World by Sharing Your Build
Hopefully, everything worked like a charm in which case, congratulations as you've just made a room thermometer that you can be proud of!
Don't forget to share this with us and the world by tagging us on social media. Also, don't forget to subscribe to our channel to watch more videos and future build ideas while you're at it :)
Here are some relevant links. Thanks for reading and for your support!
- YouTube: https://www.youtube.com/channel/UCbWiK1A5RqAugSquBHuyBdA
- BnBe Website: https://www.bitsnblobs.com/
- Instagram: https://www.instagram.com/bnbe.club/
- Facebook: https://www.facebook.com/BnBe.club
- Twitter: https://twitter.com/bnbe_club