ppelleti / hs-wiringPi-test-board

KiCad design for a Raspberry Pi add-on board for testing the Haskell binding for wiringPi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple add-on board for Raspberry Pi. It is meant for testing the Haskell binding for wiringPi. It connects to the Raspberry Pi via a 40-pin ribbon cable, and has the following features:

  • wiringPi pins 0-7 are connected to yellow LEDs

  • wiringPi pins 26 and 23 are connected to red LEDs

  • wiringPi pins 21 and 22 are connected to each other (via a resistor to prevent short circuits) to allow for automated testing (i. e. an output pin sending to an input pin)

  • wiringPi pin 25 is connected to a momentary pushbutton which pulls it to ground via a resistor (so pin should be configured with an internal pullup)

The LEDs are driven with transistors from the 5V supply, to avoid overloading the 3.3V supply.

This circuit board was designed with KiCad, and was designed to be fabricated with OSH Park.

See digi-key.csv for Bill of Materials with Digi-Key part numbers. With the 33 ohm resistors, the LEDs are really bright, so you might want to substitute 68 ohm resistors instead.

This repository is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.

photo of board

About

KiCad design for a Raspberry Pi add-on board for testing the Haskell binding for wiringPi

License:Creative Commons Attribution Share Alike 4.0 International