Tag: BMP180

Introduction

Lets build a WiFi temperature data logger!! The reason this project came to mind was because I needed to monitor the temperature of an outside enclosure box that will eventually house a couple of lithium ion batteries. Can’t have the box get too hot or else we will end up having a nice backyard campfire.

Hardware/Schematic/Assembly

I’ve designed this project to consist of two microcontrollers. Its not the most efficient way of doing it but it is effective. The heart of this project is the ESP8266-ESP01 IC. It will take in the data from the BMP180 sensor over I2C and send the data over to a web hosting site Thingspeak.com

Schematic:

The schematic is not that all complicated but it is very effective at trying to save as much battery as possible and deliver my data for viewing purposes.

In order to have this be powered by 2x AA batteries and last longer then a couple of days or weeks, I needed a couple of things to make this possible which is where the second microcontroller comes into play.

First, we need to make sure we have a stable power supply that can provide up to at least 0.3A and have a minimum quiescent current in the low uA range.

Thingspeak.com

Before we get started into writing the code on the ESP8266 we need to set up an account at thingspeak.

Click on the signup and fill out the information:

Click on new channel:

The most important information to fill out is the fields, in our case we will fill out field 1 and type in temperature. The name could be any name you want, for this purpose we will write Temperature Data Logger. Once finish, scroll down and click save.

The final piece of information we need is the API key, for this just click on the API Keys button and copy the Write API Key.

Now we can move on to the code.

Click here for step by step on installing the ESP8266 arduino addon.[3]