From 0094ce80b41235018a7166f8e0c512ef829ddf63 Mon Sep 17 00:00:00 2001 From: geek2003 Date: Sat, 25 Feb 2017 19:46:31 +0000 Subject: [PATCH] New ada fruit boards --- draft/overlay/adafruit_matrix.txt | 62 ++++++++++++++++++++++++++++ draft/overlay/adafruit_motor.txt | 55 +++++++++++++++++++++++++ draft/overlay/arcade_bonnet.txt | 67 +++++++++++++++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 draft/overlay/adafruit_matrix.txt create mode 100644 draft/overlay/adafruit_motor.txt create mode 100644 draft/overlay/arcade_bonnet.txt diff --git a/draft/overlay/adafruit_matrix.txt b/draft/overlay/adafruit_matrix.txt new file mode 100644 index 0000000..cac4da8 --- /dev/null +++ b/draft/overlay/adafruit_matrix.txt @@ -0,0 +1,62 @@ + + #Adafruit RGB Matrix HAT + RTC + +This HAT plugs into your Pi and makes it super easy to control RGB matrices such as those you see in the likes of Times square enabling you to create a colorful scrolling display or mini LED wall with ease. A 5V power supply is also required, not included, for powering the matrix itself. The Pi cannot do it due to the high currents. To calculate the max current of your matrix set up, multiply the width of all the chained matrix by 0.12 : A 32 pixel wide matrix needs 32*0.12 = 3.85A so pick up a 5V 4A power supply. Please note: this HAT is only for use with HUB75 type RGB Matrices. Not for use with NeoPixel, DotStar, or other 'addressable' LEDs. + +Features: + +Simple design - plug in power, plug in IDC cable, run our Python code! +Power protection circuitry - you can plug a 5V 4A wall adapter into the HAT and it will automatically protect against negative, over or under-voltages! Yay for no accidental destruction of your setup. +Onboard level shifters to convert the RasPi's 3.3V to 5.0V logic for clean and glitch free matrix driving +DS1307 Real Time Clock can keep track of time for the Pi even when it is rebooted or powered down, to make for really nice time displays + +To install: + ```bash +sudo apt-get update +sudo apt-get install python-dev python-imaging +wget https://github.com/adafruit/rpi-rgb-led-matrix/archive/master.zip +unzip master.zip +cd rpi-rgb-led-matrix-master/ +make + ``` \ No newline at end of file diff --git a/draft/overlay/adafruit_motor.txt b/draft/overlay/adafruit_motor.txt new file mode 100644 index 0000000..0231ade --- /dev/null +++ b/draft/overlay/adafruit_motor.txt @@ -0,0 +1,55 @@ + +Let your robotic dreams come true with the new DC+Stepper Motor HAT from Adafruit. This Raspberry Pi add-on is perfect for any motion project as it can drive up to 4 DC or 2 Stepper motors with full PWM speed control. + +Since the Raspberry Pi does not have a lot of PWM pins, we use a fully-dedicated PWM driver chip onboard to both control motor direction and speed. This chip handles all the motor and speed controls over I2C. Only two pins (SDA & SCL) are required to drive the multiple motors, and since it's I2C you can also connect any other I2C devices or HATs to the same pins. In fact, you can even stack multiple Motor HATs, up to 32 of them, for controlling up to 64 stepper motors or 128 DC motors (or a mix of the two) + +Specs: +4 H-Bridges: TB6612 chipset provides 1.2A per bridge with thermal shutdown protection, internal kickback protection diodes. Can run motors on 4.5VDC to 13.5VDC. +Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution) +Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil, interleaved or micro-stepping. +Polarity protected 2-pin terminal block and jumper to connect external 5-12VDC power + +To install: +```bash +git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git +cd Adafruit-Motor-HAT-Python-Library +sudo apt-get install python-dev +sudo python setup.py install +``` + + + + \ No newline at end of file diff --git a/draft/overlay/arcade_bonnet.txt b/draft/overlay/arcade_bonnet.txt new file mode 100644 index 0000000..5688e02 --- /dev/null +++ b/draft/overlay/arcade_bonnet.txt @@ -0,0 +1,67 @@ + +#Adafruit Arcade Bonnet + +This Adafruit Arcade Bonnet is designed to make small emulator projects a little easier to build. Here is some features!: + +It is the same size as a Pi Zero, so for really compact builds, this is super small. You can use it with a Pi 2, 3, B+ or any 2x20 connector Pi. +It has JST sockets so you can plug in six arcade buttons easily +Header breakouts for use with both clicky-type switched joysticks and... +Header breakout and converter for using analog-type joysticks or thumbsticks with potentiometers inside +A 3W speaker output that can drive 4-8 ohm speakers for when using with a TV output, HDMI display or PiTFT +Switches are all managed with an I2C-GPIO converter with interrupt out. The converter is very fast and frees up all the pins so you can use this Bonnet with a PiTFT or any other accessory/device that uses a lot of pins! + +To install: +```bash +curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/arcade-bonnet.sh +sudo bash arcade-bonnet.sh +curl -sS https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2samp.sh | bash +``` +