Fantastic! Thank you; I love the BMP180 as it's cheap and reliable but was struggling to get it to work with Python 3 (all other tutorials were using Python 2). I spent a frustrating day trying to convert an old Python script but it kept giving me problems when I was trying to send the results to a small OLED display driven by a Raspberry Pi Zero. It is now all working well. Thanks again.
I have executed the code getting the following error "Traceback (most recent call last): File "testBmp.py", line 3, in while True:temp, pressure, altitude = bmpsensor.readBmp180() File "/home/pi/Python_Code/bmpsensor.py", line 123, in readBmp180 altitude = 44330.0 * (1.0 - pow(pressure / 101325.0, (1.0/5.255))) ValueError: negative number cannot be raised to a fractional power " Can you help me to resolve?
Fantastic! Thank you; I love the BMP180 as it's cheap and reliable but was struggling to get it to work with Python 3 (all other tutorials were using Python 2). I spent a frustrating day trying to convert an old Python script but it kept giving me problems when I was trying to send the results to a small OLED display driven by a Raspberry Pi Zero. It is now all working well. Thanks again.
Glad it helped! I love it when someone is helped with these videos :)
I am japanese, I don't quite understand what you are saying.
but I can get data from sensor!
thanks to this video.
I really appreciate it :)
Thank you for the video sir👍
You're most welcome !!!!
Thank youuuuuu finally working !!!! LIKE ❤❤❤❤❤❤😎😎😎😎🦖🦖
You're welcome!
Awesome Sir !!
Thank you 😊
I am getting "OSError: [Errno 121] Remote I/O error" error but sensor is installed and i can see it with i2cdetect but the error is there.
This video is amazing, thank you!
Thank you ☺️
very good tutorial, thank you
am glad you liked it :)
I have executed the code getting the following error
"Traceback (most recent call last):
File "testBmp.py", line 3, in
while True:temp, pressure, altitude = bmpsensor.readBmp180()
File "/home/pi/Python_Code/bmpsensor.py", line 123, in readBmp180
altitude = 44330.0 * (1.0 - pow(pressure / 101325.0, (1.0/5.255)))
ValueError: negative number cannot be raised to a fractional power
"
Can you help me to resolve?
Are you using code from our github repo?
Yes
Thank you, very useful :D
You're welcome!
There's an error at 5:06. They shown 3Vo connected to GND. It should be the GND pin connected to GND.
Thanks for notifying