ckirkwood / potHat

Example projects for a Raspberry Pi with MCP3008 and 3 pots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

potHat

Custom Raspberry Pi HAT with an ADC, 3 potentiometers and LEDs

Built as a solution to provide analogue inputs to the Raspberry Pi without the hassle of setting up a breadboard each time. The proto HAT also breaks out the Pi's GPIO, so extra-long headers can be used to attach Pimoroni's Blinkt or Mini Black Hat Hacker.

With a few spare rows on the proto HAT, I added a trio of LEDs so that I could work with relatively simple scripts to get my Python up to speed. The pots and switch can be used to alter values of the outputs like the colour/brightness/blink speed of LEDs, or can just as easily connect with anything else attached to the available GPIO pins.

Read more

Hardware
  • Raspberry Pi 2/3/Zero
  • Adafruit Perma-Proto Hat
  • Extra long female headers
  • MCP3008 / other ADC
  • 3x 10k potentiometers
  • Momentary switch
  • 3x LEDs (i.e. red, yellow, green)
  • 3x resistors
  • Connecting wires
Optional
  • Sugru (or M2.5 stand-offs if using without a case)
  • Pimoroni Blinkt

About

Example projects for a Raspberry Pi with MCP3008 and 3 pots

License:GNU General Public License v3.0


Languages

Language:Python 100.0%