DIY Room Thermometer Using An OLED Module
We learn how to build a room thermometer using the DS18B20 sensor and an OLED module.
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
Step 3: Program The Board & Test
Next, we need to upload the sketch to the board. You can also change the time to 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: https://github.com/bnbe-club/diy-room-thermometer-diy-1
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: https://www.thingiverse.com/thing:2850845
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!