DIY Room Thermometer Using an OLED Module




Introduction: DIY Room Thermometer Using an OLED Module

About: #BnBe is a platform to help teach electronics no matter what the age or skill level. We’re currently designing a wide range of products from beginner level kits to industry-standard microcontroller platforms.

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:

  1. An Arduino board - The Uno, Nano work fine and we will be using the Piksey Pico
  2. A DS18B20 or DS18B20+ temperature sensor
  3. 0.96" OLED module
  4. 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 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!

3 People Made This Project!


  • Photography Challenge

    Photography Challenge
  • Jewelry Challenge

    Jewelry Challenge
  • New Year, New Skill Student Design Challenge

    New Year, New Skill Student Design Challenge



2 years ago

Nice! How much power does the device consume? I need something similar with ultra-low power consumption. It should work 1 year with a coin battery like CR1620. Is it feasible?


Reply 2 years ago

Thank you. I haven't measured the current but creating something that will run from a CR1620 for a year is definitely challenging as it has a capacity of about 80mAh. You could possibly create one using the CR2450 (~620mAh) but even with that you would have to optimize the sketch to sleep frequently and power up at regular intervals.


2 years ago

Very nice! Love how it looks. :)


Reply 2 years ago

Thank you! The 3D print came out much better than I expected :)