IoT Barometer

1,116

15

4

Introduction: IoT Barometer

About: Electronic is my passion. I like to work with programming devices like Arduino, ESP8266, Raspberry Pi. I enjoy design electronic projects. IG: lab_torord.

Measure and register temperature and atmospheric pressure with this IoT barometer.

I want to present an IoT barometer. It permits to measure and store temperature and pressure data in theAdafruit IoT Platform.

I have published a similar project that measures temperature and humidity. For this project, I used a BMP280 sensor connected to an ESP8266. This one connects via wifi to send data to the Adafruit IO platform.

Supplies

ESP8266. https://amzn.to/2XAYyYS

BMP280. https://amzn.to/2X8k482

Preformed Breadboard Jumper Wire. https://amzn.to/2xdmh8g

Solderless Breadboards. https://amzn.to/2KT4AxY

Step 1: Have a Hand All Components

It always is recommended to have a hand all components.

That will save you time.

Step 2: Let's Connect Them

Make the connections indicates in the diagram.

Power Pins
Vin: 3-5VDC.

3Vo: 3.3V output from the voltage regulator.

GND: common ground for power and logic.


I2C Logic pins

SCK: the I2C clock pin, connect to your microcontroller I2C clock line.

SDI: the I2C data pin, connect to your microcontroller I2C data line.

Connections

D1 => SCK

D2 => SDI

Step 3: Upload the Code

The code has two files. In the config.h you set your Adafruit credentials and network configuration like wifi name and password.

Step 4: Set Adafruit IO

You should open an account on Adafruit IO. After that, you need to know how it works.

Check the link below to know about Adafruit IO, there you know how you can use Adafruit the credentials, how set the feeds, and how to configure the dashboards.

https://learn.adafruit.com/welcome-to-adafruit-io/overview

Step 5: Test It and Enjoy

I show a picture of my dashboards.

I hope you enjoy this project.

Note: If you are having issues connecting, please ensure you have the latest Adafruit IO Arduino library.

It always seems impossible until it’s done. Nelson Mandela.


Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Space Contest

      Space Contest
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest

    4 Comments

    0
    riccardom67
    riccardom67

    7 months ago

    Hi. I would like to change the PIN used for the NODEMCU because I want to use an esp01s In the project there is the pin D1 (GPI05) and D2 GPI04) but I want to use D4 (GPI02) and RX (GPI03). I don't understand if I can modify the code provided to do this change. Can you help me ? Regards
    Riccardo

    0
    rjconcepcion
    rjconcepcion

    Reply 7 months ago

    Hello riccardom67,
    I cannot remember, but I think I did try with the ESP01 and it did not work.
    But you can try.
    Let me know if it works.
    Thanks.

    0
    DianeC109
    DianeC109

    Question 1 year ago on Step 5

    If I want to modify this to work with my cellular phone data (not wifi) to get the same temp measurements, how would I do that?

    0
    rjconcepcion
    rjconcepcion

    Reply 1 year ago

    Hello, You could use another module. Maybe this one could work: https://amzn.to/2ATOAKm
    I have not tested, but I think it could work.
    Thanks for your comment.