Comments on: ESP32 with BMP388 Barometric/Altimeter Sensor (Arduino IDE) https://randomnerdtutorials.com/esp32-bmp388-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 08 Jul 2023 12:34:41 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Dusan https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-845931 Sat, 08 Jul 2023 12:34:41 +0000 https://randomnerdtutorials.com/?p=103853#comment-845931 In reply to Peter Garibaldi.

Try this 4 dec digits

// Send Events to the Web Server with the Sensor Readings
events.send(“ping”,NULL,millis());

char buffer[80];

// events.send(String(pres).c_str(),”pressure”,millis());
sprintf(buffer, “%.4f”, pres);
events.send(String(buffer).c_str(),”pressure”,millis());

//events.send(String(alt).c_str(),”altitude”,millis());
sprintf(buffer, “%.4f”, alt);
events.send(String(buffer).c_str(),”altitude”,millis());

//events.send(String(temp).c_str(),”temperature”,millis());
sprintf(buffer, “%.4f”, temp);
events.send(String(buffer).c_str(),”temperature”,millis());

]]>
By: Renzo https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-839569 Thu, 08 Jun 2023 16:47:40 +0000 https://randomnerdtutorials.com/?p=103853#comment-839569 It is possible to read the actual sea level pressure, in a prefixed weather station, so to substitute in
<#define SEALEVELPRESSURE_HPA (1013.25)>
the actual sea level pressure?
So the altitude will be always accurate.

Thanks
Renzo

]]>
By: Hansjörg Jäggi https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-715060 Thu, 30 Dec 2021 16:49:28 +0000 https://randomnerdtutorials.com/?p=103853#comment-715060 It works fine also with a sensor BMP388 from DFRobot.

Thank you for the helpfull instruction!

With the instruction from DFRobot it does not work.

]]>
By: Peter Garibaldi https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-662357 Wed, 18 Aug 2021 16:11:28 +0000 https://randomnerdtutorials.com/?p=103853#comment-662357 In reply to Sara Santos.

I translate from Portuguese to English by google translator.
Hello, I set up your project and it worked, but I would like to leave it with a house after the comma, which field changes?

the codes below where it was 2f I changed it to 1f, but it only changed on the serial monitor, it didn’t change on the cell phone screen. I couldn’t find where it changes on the cell phone screen.
Serial.printf(“Pressure = %.2f hPa \n”, pres);
Serial.printf(“Altitude = %.1f m \n”, alt);
Serial.printf(“Temperature = %.1f ºC \n”, temp);

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-662310 Wed, 18 Aug 2021 14:13:31 +0000 https://randomnerdtutorials.com/?p=103853#comment-662310 In reply to Peter Garibaldi.

Obrigada 🙂

]]>
By: Peter Garibaldi https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-661624 Mon, 16 Aug 2021 12:11:31 +0000 https://randomnerdtutorials.com/?p=103853#comment-661624 Muito bom seu tutorial. Bem explicado. Obrigado.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-644718 Mon, 12 Jul 2021 10:08:16 +0000 https://randomnerdtutorials.com/?p=103853#comment-644718 In reply to Renzo.

Yes!

]]>
By: Renzo https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-644680 Mon, 12 Jul 2021 07:54:38 +0000 https://randomnerdtutorials.com/?p=103853#comment-644680 It is possible, on DOIT ESP 32 devkit V1, a power suipply of 5V on pin VIN?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-643922 Sat, 10 Jul 2021 09:43:53 +0000 https://randomnerdtutorials.com/?p=103853#comment-643922 In reply to W. Joe Taylor.

Thank you 🙂

]]>
By: W. Joe Taylor https://randomnerdtutorials.com/esp32-bmp388-arduino/#comment-643873 Sat, 10 Jul 2021 07:04:06 +0000 https://randomnerdtutorials.com/?p=103853#comment-643873 Hi Sarah,
As always, great stuff!
I really learn a lot from your great tutorials.
Thank you.
Joe

]]>