Analog Inputs with your Raspberry Pi - HOW TO use the MCP3008

Sdílet
Vložit
  • čas přidán 5. 05. 2022
  • The Raspberry Pi (despite the Pico) has no pins for analog inputs. Hence we show you how you can read data from analog sensors on your Raspberry Pi.
    You will need the MCP3008 analog to digital converter, which you can pick up at our store
    MCP3008 - buyzero.de/products/a-d-wandl...
    Store - buyzero.de/
    Commands
    sudo raspi-config
    git clone github.com/adafruit/Adafruit_...
    sudo nano Adafruit_CircuitPython_MCP3xxx/examples/mcp3xxx_mcp3008_single_ended_simpletest.py
    python3 Adafruit_CircuitPython_MCP3xxx/examples/mcp3xxx_mcp3008_single_ended_simpletest.py
    Build your own sensors from scratch
    • DIY Sensors - Build yo...
    We got you covered on all your Raspberry Pi and electronic needs!
    Also check out PiCockpit - our Raspberry Pi Webinterface
    picockpit.com/
    Contact us for professional software or hardware solutions
    pi3g.com/kontakt/
    Visit our Blog to learn things all around the Raspberry Pi
    EN - picockpit.com/raspberry-pi/
    DE - buyzero.de/blogs/news
  • Věda a technologie

Komentáře • 10

  • @thomasvandenheuvel5287
    @thomasvandenheuvel5287 Před 9 měsíci +1

    thank you for the video, it helped me a lot

  • @marcogr87
    @marcogr87 Před rokem

    With that library can I use more chanels?

  • @gauravraj8530
    @gauravraj8530 Před rokem +2

    why chip select pin of mcp3008 is connected to GND? shouldn't it be connected to GPIO8 (SPI0 CE0) of raspberry pi?

    • @tl1897
      @tl1897 Před 8 měsíci +1

      You are right. After testing for hours if found out, that Chip Select of mcp3008 (CS/SHDN) has to be connected to GPIO8 (SPI0 CE0) in Order to Work.

  • @voxfox01
    @voxfox01 Před rokem

    Is it possible to make a metal detector with the Raspberry Pi and read and record the data with the ADC connection?

    • @pi3g
      @pi3g  Před rokem

      It should be @voxfox01 - check out this reddit discussion on the topic: www.reddit.com/r/electronics/comments/3yb468/would_it_be_possible_to_diy_a_high_end_metal/

  • @k7iq
    @k7iq Před 9 měsíci

    Where is your bypass capacitor ?

  • @sasank2126
    @sasank2126 Před 3 měsíci

    Getting an error that no module named buiso

  • @dalesmith8666
    @dalesmith8666 Před 4 měsíci

    PYTHON! THUMBS DOWN!😜👎👎👎👎