Interfacing BMP180 with Raspberry Pi Python Code

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 22

  • @papaplopalot5918
    @papaplopalot5918 3 года назад +2

    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.

    • @Kitflix
      @Kitflix  3 года назад

      Glad it helped! I love it when someone is helped with these videos :)

  • @KIJINEKO
    @KIJINEKO 3 года назад +1

    I am japanese, I don't quite understand what you are saying.
    but I can get data from sensor!
    thanks to this video.

    • @Kitflix
      @Kitflix  3 года назад

      I really appreciate it :)

  • @smtronics
    @smtronics 4 года назад +3

    Thank you for the video sir👍

    • @Kitflix
      @Kitflix  4 года назад

      You're most welcome !!!!

  • @Alex-tk4zo
    @Alex-tk4zo 2 года назад +1

    Thank youuuuuu finally working !!!! LIKE ❤❤❤❤❤❤😎😎😎😎🦖🦖

  • @unitedrobotics7377
    @unitedrobotics7377 4 года назад +3

    Awesome Sir !!

    • @Kitflix
      @Kitflix  4 года назад +1

      Thank you 😊

  • @pauljosch7099
    @pauljosch7099 2 года назад +1

    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.

  • @joelevans6378
    @joelevans6378 3 года назад +1

    This video is amazing, thank you!

    • @Kitflix
      @Kitflix  3 года назад

      Thank you ☺️

  • @geraldlat7462
    @geraldlat7462 3 года назад +1

    very good tutorial, thank you

    • @Kitflix
      @Kitflix  3 года назад

      am glad you liked it :)

  • @amruthhr
    @amruthhr 3 года назад +1

    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?

    • @Kitflix
      @Kitflix  3 года назад +1

      Are you using code from our github repo?

    • @amruthhr
      @amruthhr 3 года назад

      Yes

  • @JA-sv9ct
    @JA-sv9ct 3 года назад +1

    Thank you, very useful :D

    • @Kitflix
      @Kitflix  3 года назад

      You're welcome!

  • @SciHeartJourney
    @SciHeartJourney 3 года назад +1

    There's an error at 5:06. They shown 3Vo connected to GND. It should be the GND pin connected to GND.

    • @Kitflix
      @Kitflix  3 года назад

      Thanks for notifying