OpenSource Arduino OLED Clock with temperature measurement
Today I am going to show you how to make An OpenSource Arduino UNO OLED Clock That Also Measures Temperature. This project is an OpenSource and it’s open to everyone. It doesn’t require any special engineer skills, and will take you less than couple of hours once you have all the parts you need.
This clock will not only show you exact time and date but also it will show you the ambient temperature in both Fahrenheit and Celsius, with accuracy of 0.5°C (-25°C to +85°C) and with resolution of 0.0625°C. The pages are changing on every 10 seconds, but you can change that.
The OLED we will use in this project is 1.3″ inch in size,monochrome blue in color, features 132×64 pixels and uses the SPI Bus. .
The temperature sensor we will use is TMP102, it’s very small on size, low on power and uses the I2C Bus to communicate with our Arduino.
And the DS1307 real time clock module uses the I2C bus so we will only need 2 pins to retrieve the date and time and display the results on the OLED display.
We will use the u8glib library to communicate with our display. This library has many available parameters with it you can display numbers, letters, bitmaps and other symbols on OLEDs and graphic LCDs also it works for E-ink displays as well as other libraries.
Let’s get started ! 🙂
Step 1: Materials & Tools
Most of the stuff for this project came from the Adafruit store the rest from SparkFun. (I already had them 🙂 )
To make it we will need:
- Arduino UNO board or similar;
- OLED display – (1.3inch; 128×64) or similar;
- DS1307 – RTC module;
- TMP102 – digital temp sensor;
- Prototyping PCB;
- Headers – female and male;
- Some wires – to connect everything;
- Soldering iron and wire – to solder everything on the PCB;
- Clips – to cut wire;
- Cutting tools (Scissors, cutter, etc.);
- Material for the enclosure (Plastic, cardboard, metal, etc.);
- Super glue.
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw