RaspberryPi Analog Input with MCP3008

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 2

  • @BESSON.A
    @BESSON.A 2 ปีที่แล้ว

    Hello sir, thanks for your video it helped me to unterstand this kind of stuff and I enjoy the way you introtuced it. I'm currently in an intership and I need to create a system that can read the voltage from a battery but I'm a beginner... I did exactly the same thing as you but it doesn't work...
    This is the error:
    Traceback (most recent call last):
    File "/home/raspberrypi/Documents/Banc essai.py", line 6, in
    import adafruit_mcp3008 as MCP
    ModuleNotFoundError: No module named 'adafruit_mcp3008'
    I do not know if it help you but I'm using a Raspberry Pi 3.

    • @onlinewarriorspodcast
      @onlinewarriorspodcast  2 ปีที่แล้ว

      Double check that you installed both adafruit circuit libraries by rerunning the pip commands in the terminal. If that doesn't work it's a directory issue. Try saving your file in a different location.