How to use BMP180

I’m trying to use the BMP180 temperature sensor as a way to tell me that it’s cold outside. It’s supposed to send me a message saying just “Cold” on a 128x64 OLED Display. I’m just not able to figure out the right code I need to use. This is my progress so far:

  if (bmp.readTemperature() <= 10.00) {
    display.clearDisplay();
    display.setCursor(70, 20);
    display.print("Cold");
    display.display();

What do I need to do in order to make it work? If I should provide more code lmk.

What do I need to do in order to make it work?

More code.

Get one thing working at a time.
Get the sensor working using Serial prints, then get the display working.

The code itself is not a problem. Getting the bmp180 interfaced & running is a bit more complicasted.

Here is how I did it.

You need to tell us;
what its running on ;
and ALL your code - or if its REALLY too big, all the bits that relate to the bmp180
and how you have it connected
and what results you are getting.

"It doesnt work" really does not help with diagnostics.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.