J
J
JohnDoe_71Rus2017-07-12 18:20:27
Electronics
JohnDoe_71Rus, 2017-07-12 18:20:27

Esp8266 + bmp/e280 = failed sensor reading. Why?

esp8266, bmp/e280 sensors, nodemcu-firmware
Immediately after turning on the device, the sensor initialization is successful, but the first reading is always unsuccessful. Because of this, the script then causes a panic and esp restarts. I restart the script and everything reads fine.
here is a discussion of the problem on github https://github.com/nodemcu/nodemcu-firmware/issues/1994
where they decided to "mark it in the documentation"
The script from the discussion works for me, a simple output to the console.
But when I made my project, the first reading of the data is always unsuccessful and esp is overloaded with panic.
log paste.ubuntu.com/24899958
script paste.ubuntu.com/24899959
2 more scripts from the project
paste.ubuntu.com/25023104
paste.ubuntu.com/25023115

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex K, 2017-07-20
@Cyl

The source of bugs is the development environment, which is raw and constantly being finished by its sculptors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question