resyncing overlays in lang translate dirs
This commit is contained in:
parent
85945ac123
commit
338fc2aa44
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus
|
||||
image: 'ab-1-wire-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -25,10 +36,10 @@ i2c:
|
||||
-->
|
||||
#1 Wire Pi Plus
|
||||
|
||||
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platforms. A 5V buffered I2C port is also provided on the board.
|
||||
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. A 5V buffered I2C port is also provided on the board.
|
||||
|
||||
The 1-Wire® port on the 1 Wire Pi Plus is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Plus and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB.
|
||||
|
||||
The Quick2wire lib from [https://github.com/quick2wire/quick2wire-python-api](https://github.com/quick2wire/quick2wire-python-api) allows easy access to the I2C port via Python.
|
||||
I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus.
|
||||
|
||||
[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi")
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo
|
||||
image: 'ab-adc-differential-pi.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#ADC Differential Pi
|
||||
|
||||
The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
|
||||
##Features
|
||||
|
||||
@ -48,4 +59,4 @@ The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter des
|
||||
- 240 SPS (12 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D
|
||||
image: 'ab-adc-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#ADC Pi Plus
|
||||
|
||||
The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
|
||||
##Features
|
||||
|
||||
@ -48,4 +59,4 @@ The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to
|
||||
- 240 SPS (11 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D
|
||||
image: 'ab-adc-pi-zero.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'14':
|
||||
'20':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -48,4 +57,4 @@ The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to
|
||||
- 240 SPS (11 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus
|
||||
image: 'ab-io-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#IO Pi Plus
|
||||
|
||||
The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platform. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc.
|
||||
The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc.
|
||||
|
||||
A pair of MCP23017 expanders are included on the board allowing you to connect up to 32 digital inputs or outputs to the Raspberry Pi. The IO Pi Plus Expander is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the IO Pi Plus along with other expansion boards.
|
||||
|
||||
@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u
|
||||
- Configurable interrupt source - Interrupt-on-change from configured register defaults or pin changes
|
||||
- Polarity Inversion register to configure the polarity of the input port data
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus
|
||||
image: 'ab-rtc-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -25,10 +36,10 @@ i2c:
|
||||
-->
|
||||
#RTC Pi Plus
|
||||
|
||||
The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on.
|
||||
The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on.
|
||||
|
||||
The RTC Pi Plus is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the RTC Pi Plus along with other expansion boards. The RTC Pi Plus uses the DS1307 RTC real time clock and a CR2032 battery to maintain the date and time when the main system power is not available.
|
||||
|
||||
Unlike most other DS1307 based RTC modules the RTC Pi also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi.
|
||||
|
||||
Python 2 and 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus
|
||||
image: 'ab-serial-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
mode: UART
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,3 +46,22 @@ install:
|
||||
This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus.
|
||||
|
||||
Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from Adafruit_MPR121 import MPR121
|
||||
from time import sleep
|
||||
|
||||
cap = MPR121.MPR121()
|
||||
|
||||
last_touched = cap.touched()
|
||||
while True:
|
||||
current_touched = cap.touched()
|
||||
for i in range(12):
|
||||
pin_bit = 1 << i
|
||||
if current_touched & pin_bit and not last_touched & pin_bit:
|
||||
print("{} touched!".format(i))
|
||||
last_touched = current_touched
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Servo/PWM HAT
|
||||
class: board
|
||||
type: touch
|
||||
type: io,motor
|
||||
formfactor: HAT
|
||||
manufacturer: Adafruit
|
||||
description: A 16-Channel Servo / PWM HAT for Raspberry Pi
|
||||
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/
|
||||
image: 'analog-zero.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'19':
|
||||
mode: spi
|
||||
@ -28,7 +38,7 @@ install:
|
||||
-->
|
||||
#Analog Zero
|
||||
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
|
||||
With RasPiO Analog Zero you can:
|
||||
|
||||
@ -39,3 +49,24 @@ With RasPiO Analog Zero you can:
|
||||
* use potentiometer dials for control and display
|
||||
* read analog sensors or voltages
|
||||
* make your own embedded device with minimal footprint
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from gpiozero import MCP3008
|
||||
from time import sleep
|
||||
|
||||
left_pot = MCP3008(0)
|
||||
light = MCP3008(1)
|
||||
temperature = MCP3008(2)
|
||||
right_pot = MCP3008(3)
|
||||
|
||||
while True:
|
||||
print("Left pot value is {}".format(left_pot.value))
|
||||
print("Light sensor value is {}".format(light.value))
|
||||
print("Temperature sensor value is {}".format(temperature.value))
|
||||
print("Right pot value is {}".format(right_pot.value))
|
||||
sleep(1)
|
||||
```
|
||||
|
||||
[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008)
|
||||
|
@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt
|
||||
image: 'blinkt.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'16':
|
||||
name: Data
|
||||
@ -26,3 +29,20 @@ pin:
|
||||
# Blinkt!
|
||||
|
||||
Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from blinkt import set_pixel, show
|
||||
from random import randint
|
||||
from time import sleep
|
||||
|
||||
while True:
|
||||
for pixel in range(8):
|
||||
r = randint(255)
|
||||
g = randint(255)
|
||||
b = randint(255)
|
||||
set_pixel(pixel, r, g, b)
|
||||
show()
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce
|
||||
buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card
|
||||
image: 'cirruslogic-audio-card.png'
|
||||
pincount: 40
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA1
|
||||
|
@ -11,6 +11,18 @@ buy: http://discohat.com/shop
|
||||
image: 'discohat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Drum HAT
|
||||
class: board
|
||||
type: instrument
|
||||
type: instrument,touch
|
||||
formfactor: HAT
|
||||
manufacturer: Pimoroni
|
||||
description: An 8 pad finger Drum HAT for your Raspberry Pi
|
||||
@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat
|
||||
image: 'drum-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Enviro pHAT
|
||||
class: board
|
||||
type: iot,sensor
|
||||
type: adc,sensor
|
||||
formfactor: pHAT
|
||||
manufacturer: Pimoroni
|
||||
description: A package of environmental sensors for IoT projects
|
||||
@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat
|
||||
image: 'enviro-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -20,20 +30,20 @@ pin:
|
||||
mode: i2c
|
||||
'7':
|
||||
mode: output
|
||||
name: Lights
|
||||
name: LEDs
|
||||
i2c:
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x1d':
|
||||
name: Motion Sensor
|
||||
device: LSM303D
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x49':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
'0x77':
|
||||
name: Temp/Pressure Sensor
|
||||
device: BMP280
|
||||
'0x48':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
-->
|
||||
#Enviro pHAT
|
||||
|
||||
@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m
|
||||
|
||||
Features:
|
||||
|
||||
BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two LEDs for illumination)
|
||||
LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus)
|
||||
* BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
* TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two GPIO controlled LEDs for illumination)
|
||||
* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus)
|
||||
(3.3v 12-bit ADC at address 0x48 in first production run of the board)
|
||||
|
||||
To get the pHAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat
|
||||
image: 'explorer-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,7 +11,7 @@ pin:
|
||||
-->
|
||||
# W1-GPIO - One-Wire Interface
|
||||
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi:
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi:
|
||||
|
||||
```
|
||||
dtoverlay=w1-gpio
|
||||
|
@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk
|
||||
image: 'iqaudio-pi-dac.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk
|
||||
image: 'iqaudio-pi-digiamp.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,7 +51,6 @@ install:
|
||||
'devices':
|
||||
- 'i2c'
|
||||
-->
|
||||
|
||||
#Pi-DigiAMP+
|
||||
|
||||
The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off.
|
||||
|
@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat
|
||||
image: 'microdot-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,10 +11,16 @@ image: 'phat-dac.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'12':
|
||||
name: I2S
|
||||
|
@ -6,12 +6,19 @@ type: led
|
||||
formfactor: Custom
|
||||
manufacturer: Ciseco
|
||||
description: An 8 LED strip for the Raspberry Pi
|
||||
url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html
|
||||
url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter
|
||||
buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293
|
||||
image: 'pi-liter.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'7':
|
||||
name: LED1
|
||||
@ -57,3 +64,22 @@ Applications:
|
||||
* Light chaser
|
||||
* Activity indicator
|
||||
* Lighting effects
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from gpiozero import PiLiter
|
||||
from time import sleep
|
||||
|
||||
lite = PiLiter()
|
||||
|
||||
for led in lite:
|
||||
led.on()
|
||||
sleep(0.1)
|
||||
led.off()
|
||||
|
||||
lite.on()
|
||||
sleep(5)
|
||||
```
|
||||
|
||||
[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter)
|
||||
|
@ -11,6 +11,15 @@ buy: https://www.piborg.org/ledborg
|
||||
image: 'piborg-led-borg.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'11':
|
||||
name: Red LED
|
||||
@ -30,26 +39,28 @@ pin:
|
||||
-->
|
||||
# LedBorg
|
||||
|
||||
The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. It has its own driver, so you don't need to drive it manually.
|
||||
|
||||
If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows:
|
||||
|
||||
WiringPi pin 0: Red LED
|
||||
WiringPi pin 2: Green LED
|
||||
WiringPi pin 3: Blue LED
|
||||
|
||||
This is easy using WiringPi in Python:
|
||||
The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi.
|
||||
|
||||
```python
|
||||
import wiringpi2 as wiringpi
|
||||
wiringpi.wiringPiSetup()
|
||||
from gpiozero import LedBorg
|
||||
from time import sleep
|
||||
|
||||
wiringpi.softPwmCreate(0,0,100)
|
||||
wiringpi.softPwmCreate(2,0,100)
|
||||
wiringpi.softPwmCreate(3,0,100)
|
||||
lb = LedBorg()
|
||||
|
||||
# Purple!
|
||||
wiringpi.softPwmWrite(3,100) # Full Blue
|
||||
wiringpi.softPwmWrite(0,100) # Full Red
|
||||
wiringpi.softPWMWrite(2,0) # No Green
|
||||
while True:
|
||||
r, g, b = 0, 0, 0
|
||||
for i in range(100):
|
||||
r = i / 100.0
|
||||
lb.value = (r, g, b)
|
||||
sleep(0.01)
|
||||
for i in range(100):
|
||||
g = i / 100.0
|
||||
sleep(0.01)
|
||||
lb.value = (r, g, b)
|
||||
for i in range(100):
|
||||
b = i / 100.0
|
||||
lb.value = (r, g, b)
|
||||
sleep(0.01)
|
||||
```
|
||||
|
||||
[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg)
|
||||
|
@ -15,7 +15,13 @@ eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html
|
||||
image: 'raspio-duino.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'8':
|
||||
mode: uart
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!--
|
||||
---
|
||||
name: IoT HAT
|
||||
name: IoT pHAT
|
||||
class: board
|
||||
type: iot
|
||||
formfactor: pHAT
|
||||
@ -8,46 +8,51 @@ manufacturer: RedBear
|
||||
description: A Wi-Fi + Bluetooth add-on board for the Pi Zero
|
||||
url: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
github:
|
||||
buy: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
buy: https://redbear.cc/product/rpi/iot-phat.html
|
||||
image: 'redbear-iot-hat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'11':
|
||||
name: 'RTS'
|
||||
'13':
|
||||
name: 'SDIO_D3'
|
||||
'15':
|
||||
name: 'SDIO_CLK'
|
||||
'29':
|
||||
name: 'BT_RST_N'
|
||||
'31':
|
||||
name: 'WL_REG_ON'
|
||||
'33':
|
||||
name: 'BT_HOST_WAKE'
|
||||
'37':
|
||||
name: 'SDIO_D2'
|
||||
'8':
|
||||
name: 'TXD'
|
||||
name: 'BLE TDX'
|
||||
'10':
|
||||
name: 'RXD'
|
||||
name: 'BLE RXD'
|
||||
'11':
|
||||
name: 'BLE RTS'
|
||||
'13':
|
||||
name: 'WiFi SDIO_D3'
|
||||
'15':
|
||||
name: 'WiFi SDIO_CLK'
|
||||
'16':
|
||||
name: 'SDIO_CMD'
|
||||
name: 'WiFi SDIO_CMD'
|
||||
'18':
|
||||
name: 'SDIO_D0'
|
||||
name: 'WiFi SDIO_D0'
|
||||
'22':
|
||||
name: 'SDIO_D1'
|
||||
'32':
|
||||
name: 'WL_HOST_WAKE'
|
||||
name: 'WiFi SDIO_D1'
|
||||
'29':
|
||||
name: 'BLE BT_RST_N'
|
||||
'31':
|
||||
name: 'WiFi WL_REG_ON'
|
||||
'36':
|
||||
name: 'CTS'
|
||||
'38':
|
||||
name: 'BT_WAKE'
|
||||
name: 'BLE CTS'
|
||||
'37':
|
||||
name: 'WiFi SDIO_D2'
|
||||
-->
|
||||
#PiZero IoT HAT
|
||||
#IoT pHAT
|
||||
|
||||
The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero.
|
||||
The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero.
|
||||
|
||||
The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode).
|
||||
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -10,6 +10,18 @@ url: https://www.raspberrypi.org/products/sense-hat/
|
||||
image: 'sense-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -15,7 +15,14 @@ eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'12':
|
||||
name: Data
|
||||
@ -36,7 +43,7 @@ install:
|
||||
|
||||
32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
||||
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
|
||||
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi
|
||||
url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
image: 'uugear-7port-usb-hub.png'
|
||||
pincount: 40
|
||||
pincount: 7
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'39':
|
||||
-->
|
||||
#7-port USB hub for Raspberry Pi
|
||||
|
||||
|
@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/
|
||||
image: 'uugear-witty-pi-2.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v,3v3
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management-
|
||||
image: 'uugear-witty-pi.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero
|
||||
url: http://www.uugear.com/product/zero4u/
|
||||
buy: http://www.uugear.com/product/zero4u/
|
||||
image: 'uugear-zero4u.png'
|
||||
pincount: 40
|
||||
pincount: 4
|
||||
eeprom: no
|
||||
power: 5v
|
||||
-->
|
||||
#Zero4U
|
||||
|
||||
|
@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/
|
||||
image: 'wifi-pants.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'13':
|
||||
name: ESP GPIO10
|
||||
|
@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo
|
||||
image: 'zero-lipo.png'
|
||||
pincount: 8
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'7':
|
||||
name: Battery Low
|
||||
|
@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html
|
||||
image: 'raspio-duino.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'8':
|
||||
mode: uart
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!--
|
||||
---
|
||||
name: IoT HAT
|
||||
name: IoT pHAT
|
||||
class: board
|
||||
type: iot
|
||||
formfactor: pHAT
|
||||
@ -8,46 +8,51 @@ manufacturer: RedBear
|
||||
description: A Wi-Fi + Bluetooth add-on board for the Pi Zero
|
||||
url: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
github:
|
||||
buy: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
buy: https://redbear.cc/product/rpi/iot-phat.html
|
||||
image: 'redbear-iot-hat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'11':
|
||||
name: 'RTS'
|
||||
'13':
|
||||
name: 'SDIO_D3'
|
||||
'15':
|
||||
name: 'SDIO_CLK'
|
||||
'29':
|
||||
name: 'BT_RST_N'
|
||||
'31':
|
||||
name: 'WL_REG_ON'
|
||||
'33':
|
||||
name: 'BT_HOST_WAKE'
|
||||
'37':
|
||||
name: 'SDIO_D2'
|
||||
'8':
|
||||
name: 'TXD'
|
||||
name: 'BLE TDX'
|
||||
'10':
|
||||
name: 'RXD'
|
||||
name: 'BLE RXD'
|
||||
'11':
|
||||
name: 'BLE RTS'
|
||||
'13':
|
||||
name: 'WiFi SDIO_D3'
|
||||
'15':
|
||||
name: 'WiFi SDIO_CLK'
|
||||
'16':
|
||||
name: 'SDIO_CMD'
|
||||
name: 'WiFi SDIO_CMD'
|
||||
'18':
|
||||
name: 'SDIO_D0'
|
||||
name: 'WiFi SDIO_D0'
|
||||
'22':
|
||||
name: 'SDIO_D1'
|
||||
'32':
|
||||
name: 'WL_HOST_WAKE'
|
||||
name: 'WiFi SDIO_D1'
|
||||
'29':
|
||||
name: 'BLE BT_RST_N'
|
||||
'31':
|
||||
name: 'WiFi WL_REG_ON'
|
||||
'36':
|
||||
name: 'CTS'
|
||||
'38':
|
||||
name: 'BT_WAKE'
|
||||
name: 'BLE CTS'
|
||||
'37':
|
||||
name: 'WiFi SDIO_D2'
|
||||
-->
|
||||
#PiZero IoT HAT
|
||||
#IoT pHAT
|
||||
|
||||
The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero.
|
||||
The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero.
|
||||
|
||||
The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode).
|
||||
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -10,6 +10,18 @@ url: https://www.raspberrypi.org/products/sense-hat/
|
||||
image: 'sense-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -15,7 +15,14 @@ eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'12':
|
||||
name: Data
|
||||
@ -36,7 +43,7 @@ install:
|
||||
|
||||
32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
||||
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
|
||||
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi
|
||||
url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
image: 'uugear-7port-usb-hub.png'
|
||||
pincount: 40
|
||||
pincount: 7
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'39':
|
||||
-->
|
||||
#7-port USB hub for Raspberry Pi
|
||||
|
||||
|
@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/
|
||||
image: 'uugear-witty-pi-2.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v,3v3
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management-
|
||||
image: 'uugear-witty-pi.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero
|
||||
url: http://www.uugear.com/product/zero4u/
|
||||
buy: http://www.uugear.com/product/zero4u/
|
||||
image: 'uugear-zero4u.png'
|
||||
pincount: 40
|
||||
pincount: 4
|
||||
eeprom: no
|
||||
power: 5v
|
||||
-->
|
||||
#Zero4U
|
||||
|
||||
|
@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/
|
||||
image: 'wifi-pants.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'13':
|
||||
name: ESP GPIO10
|
||||
|
@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo
|
||||
image: 'zero-lipo.png'
|
||||
pincount: 8
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'7':
|
||||
name: Battery Low
|
||||
|
@ -2,10 +2,10 @@
|
||||
---
|
||||
name: PiStep2 Dual
|
||||
class: board
|
||||
type: Stepper Motor Driver
|
||||
type: motor
|
||||
formfactor: pHAT
|
||||
manufacturer: 4tronix
|
||||
description: A Dual Stepper Motor Driver for
|
||||
description: A Dual Stepper Motor Driver for Raspberry Pi
|
||||
url: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
|
||||
github:
|
||||
buy: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
|
||||
@ -46,8 +46,10 @@ pin:
|
||||
mode: output
|
||||
-->
|
||||
# PiStep2 Dual
|
||||
Drive 2 uni-polar stepper motors using a single control board.
|
||||
Uses a ULN2803 Darlington driver chip to drive the motors.
|
||||
Ideal for use with 28BYJ48 stepper motors
|
||||
Supported in Scratch GPIO as well as in Python
|
||||
|
||||
Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual.
|
||||
|
||||
* Uses a ULN2803 Darlington driver chip to drive the motors
|
||||
* Ideal for use with 28BYJ48 stepper motors
|
||||
* Supported in Scratch GPIO as well as in Python
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
---
|
||||
name: PiStep2 Quad
|
||||
class: board
|
||||
type: Stepper Motor Driver
|
||||
type: motor
|
||||
formfactor: pHAT
|
||||
manufacturer: 4tronix
|
||||
description: A Quad Stepper Motor Driver for
|
||||
description: A Quad Stepper Motor Driver for Raspberry Pi
|
||||
url: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
|
||||
github:
|
||||
buy: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
|
||||
@ -70,8 +70,9 @@ pin:
|
||||
mode: output
|
||||
-->
|
||||
# PiStep2 Quad
|
||||
Drive 4 uni-polar stepper motors using a single control board.
|
||||
Uses ULN2803 Darlington driver chips to drive the motors.
|
||||
Ideal for use with 28BYJ48 stepper motors
|
||||
Supported in Scratch GPIO as well as in Python
|
||||
|
||||
Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad.
|
||||
|
||||
* Uses ULN2803 Darlington driver chips to drive the motors
|
||||
* Ideal for use with 28BYJ48 stepper motors
|
||||
* Supported in Scratch GPIO as well as in Python
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,3 +46,22 @@ install:
|
||||
This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus.
|
||||
|
||||
Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from Adafruit_MPR121 import MPR121
|
||||
from time import sleep
|
||||
|
||||
cap = MPR121.MPR121()
|
||||
|
||||
last_touched = cap.touched()
|
||||
while True:
|
||||
current_touched = cap.touched()
|
||||
for i in range(12):
|
||||
pin_bit = 1 << i
|
||||
if current_touched & pin_bit and not last_touched & pin_bit:
|
||||
print("{} touched!".format(i))
|
||||
last_touched = current_touched
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Servo/PWM HAT
|
||||
class: board
|
||||
type: touch
|
||||
type: io,motor
|
||||
formfactor: HAT
|
||||
manufacturer: Adafruit
|
||||
description: A 16-Channel Servo / PWM HAT for Raspberry Pi
|
||||
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/
|
||||
image: 'analog-zero.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'19':
|
||||
mode: spi
|
||||
@ -28,7 +38,7 @@ install:
|
||||
-->
|
||||
#Analog Zero
|
||||
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
|
||||
With RasPiO Analog Zero you can:
|
||||
|
||||
@ -39,3 +49,24 @@ With RasPiO Analog Zero you can:
|
||||
* use potentiometer dials for control and display
|
||||
* read analog sensors or voltages
|
||||
* make your own embedded device with minimal footprint
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from gpiozero import MCP3008
|
||||
from time import sleep
|
||||
|
||||
left_pot = MCP3008(0)
|
||||
light = MCP3008(1)
|
||||
temperature = MCP3008(2)
|
||||
right_pot = MCP3008(3)
|
||||
|
||||
while True:
|
||||
print("Left pot value is {}".format(left_pot.value))
|
||||
print("Light sensor value is {}".format(light.value))
|
||||
print("Temperature sensor value is {}".format(temperature.value))
|
||||
print("Right pot value is {}".format(right_pot.value))
|
||||
sleep(1)
|
||||
```
|
||||
|
||||
[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008)
|
||||
|
@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt
|
||||
image: 'blinkt.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'16':
|
||||
name: Data
|
||||
@ -26,3 +29,20 @@ pin:
|
||||
# Blinkt!
|
||||
|
||||
Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from blinkt import set_pixel, show
|
||||
from random import randint
|
||||
from time import sleep
|
||||
|
||||
while True:
|
||||
for pixel in range(8):
|
||||
r = randint(255)
|
||||
g = randint(255)
|
||||
b = randint(255)
|
||||
set_pixel(pixel, r, g, b)
|
||||
show()
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce
|
||||
buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card
|
||||
image: 'cirruslogic-audio-card.png'
|
||||
pincount: 40
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA1
|
||||
|
@ -11,6 +11,18 @@ buy: http://discohat.com/shop
|
||||
image: 'discohat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Drum HAT
|
||||
class: board
|
||||
type: instrument
|
||||
type: instrument,touch
|
||||
formfactor: HAT
|
||||
manufacturer: Pimoroni
|
||||
description: An 8 pad finger Drum HAT for your Raspberry Pi
|
||||
@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat
|
||||
image: 'drum-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Enviro pHAT
|
||||
class: board
|
||||
type: iot,sensor
|
||||
type: adc,sensor
|
||||
formfactor: pHAT
|
||||
manufacturer: Pimoroni
|
||||
description: A package of environmental sensors for IoT projects
|
||||
@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat
|
||||
image: 'enviro-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -20,20 +30,20 @@ pin:
|
||||
mode: i2c
|
||||
'7':
|
||||
mode: output
|
||||
name: Lights
|
||||
name: LEDs
|
||||
i2c:
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x1d':
|
||||
name: Motion Sensor
|
||||
device: LSM303D
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x49':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
'0x77':
|
||||
name: Temp/Pressure Sensor
|
||||
device: BMP280
|
||||
'0x48':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
-->
|
||||
#Enviro pHAT
|
||||
|
||||
@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m
|
||||
|
||||
Features:
|
||||
|
||||
BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two LEDs for illumination)
|
||||
LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus)
|
||||
* BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
* TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two GPIO controlled LEDs for illumination)
|
||||
* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus)
|
||||
(3.3v 12-bit ADC at address 0x48 in first production run of the board)
|
||||
|
||||
To get the pHAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat
|
||||
image: 'explorer-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,7 +11,7 @@ pin:
|
||||
-->
|
||||
# W1-GPIO - One-Wire Interface
|
||||
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi:
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi:
|
||||
|
||||
```
|
||||
dtoverlay=w1-gpio
|
||||
|
@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk
|
||||
image: 'iqaudio-pi-digiamp.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,7 +51,6 @@ install:
|
||||
'devices':
|
||||
- 'i2c'
|
||||
-->
|
||||
|
||||
#Pi-DigiAMP+
|
||||
|
||||
The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off.
|
||||
|
@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat
|
||||
image: 'microdot-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,10 +11,16 @@ image: 'phat-dac.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'12':
|
||||
name: I2S
|
||||
|
@ -6,12 +6,19 @@ type: led
|
||||
formfactor: Custom
|
||||
manufacturer: Ciseco
|
||||
description: An 8 LED strip for the Raspberry Pi
|
||||
url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html
|
||||
url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter
|
||||
buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293
|
||||
image: 'pi-liter.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'7':
|
||||
name: LED1
|
||||
@ -57,3 +64,22 @@ Applications:
|
||||
* Light chaser
|
||||
* Activity indicator
|
||||
* Lighting effects
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from gpiozero import PiLiter
|
||||
from time import sleep
|
||||
|
||||
lite = PiLiter()
|
||||
|
||||
for led in lite:
|
||||
led.on()
|
||||
sleep(0.1)
|
||||
led.off()
|
||||
|
||||
lite.on()
|
||||
sleep(5)
|
||||
```
|
||||
|
||||
[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter)
|
||||
|
@ -15,7 +15,13 @@ eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html
|
||||
image: 'raspio-duino.png'
|
||||
pincount: 26
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
pin:
|
||||
'8':
|
||||
mode: uart
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!--
|
||||
---
|
||||
name: IoT HAT
|
||||
name: IoT pHAT
|
||||
class: board
|
||||
type: iot
|
||||
formfactor: pHAT
|
||||
@ -8,46 +8,51 @@ manufacturer: RedBear
|
||||
description: A Wi-Fi + Bluetooth add-on board for the Pi Zero
|
||||
url: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
github:
|
||||
buy: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero
|
||||
buy: https://redbear.cc/product/rpi/iot-phat.html
|
||||
image: 'redbear-iot-hat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'11':
|
||||
name: 'RTS'
|
||||
'13':
|
||||
name: 'SDIO_D3'
|
||||
'15':
|
||||
name: 'SDIO_CLK'
|
||||
'29':
|
||||
name: 'BT_RST_N'
|
||||
'31':
|
||||
name: 'WL_REG_ON'
|
||||
'33':
|
||||
name: 'BT_HOST_WAKE'
|
||||
'37':
|
||||
name: 'SDIO_D2'
|
||||
'8':
|
||||
name: 'TXD'
|
||||
name: 'BLE TDX'
|
||||
'10':
|
||||
name: 'RXD'
|
||||
name: 'BLE RXD'
|
||||
'11':
|
||||
name: 'BLE RTS'
|
||||
'13':
|
||||
name: 'WiFi SDIO_D3'
|
||||
'15':
|
||||
name: 'WiFi SDIO_CLK'
|
||||
'16':
|
||||
name: 'SDIO_CMD'
|
||||
name: 'WiFi SDIO_CMD'
|
||||
'18':
|
||||
name: 'SDIO_D0'
|
||||
name: 'WiFi SDIO_D0'
|
||||
'22':
|
||||
name: 'SDIO_D1'
|
||||
'32':
|
||||
name: 'WL_HOST_WAKE'
|
||||
name: 'WiFi SDIO_D1'
|
||||
'29':
|
||||
name: 'BLE BT_RST_N'
|
||||
'31':
|
||||
name: 'WiFi WL_REG_ON'
|
||||
'36':
|
||||
name: 'CTS'
|
||||
'38':
|
||||
name: 'BT_WAKE'
|
||||
name: 'BLE CTS'
|
||||
'37':
|
||||
name: 'WiFi SDIO_D2'
|
||||
-->
|
||||
#PiZero IoT HAT
|
||||
#IoT pHAT
|
||||
|
||||
The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero.
|
||||
The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero.
|
||||
|
||||
The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode).
|
||||
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -10,6 +10,18 @@ url: https://www.raspberrypi.org/products/sense-hat/
|
||||
image: 'sense-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -15,7 +15,14 @@ eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'12':
|
||||
name: Data
|
||||
@ -36,7 +43,7 @@ install:
|
||||
|
||||
32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
||||
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
|
||||
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi
|
||||
url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/
|
||||
image: 'uugear-7port-usb-hub.png'
|
||||
pincount: 40
|
||||
pincount: 7
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'39':
|
||||
-->
|
||||
#7-port USB hub for Raspberry Pi
|
||||
|
||||
|
@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/
|
||||
image: 'uugear-witty-pi-2.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v,3v3
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management-
|
||||
image: 'uugear-witty-pi.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA
|
||||
|
@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero
|
||||
url: http://www.uugear.com/product/zero4u/
|
||||
buy: http://www.uugear.com/product/zero4u/
|
||||
image: 'uugear-zero4u.png'
|
||||
pincount: 40
|
||||
pincount: 4
|
||||
eeprom: no
|
||||
power: 5v
|
||||
-->
|
||||
#Zero4U
|
||||
|
||||
|
@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/
|
||||
image: 'wifi-pants.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'13':
|
||||
name: ESP GPIO10
|
||||
|
@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo
|
||||
image: 'zero-lipo.png'
|
||||
pincount: 8
|
||||
eeprom: no
|
||||
power: external
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'7':
|
||||
name: Battery Low
|
||||
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus
|
||||
image: 'ab-1-wire-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -25,10 +36,10 @@ i2c:
|
||||
-->
|
||||
#1 Wire Pi Plus
|
||||
|
||||
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platforms. A 5V buffered I2C port is also provided on the board.
|
||||
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. A 5V buffered I2C port is also provided on the board.
|
||||
|
||||
The 1-Wire® port on the 1 Wire Pi Plus is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Plus and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB.
|
||||
|
||||
The Quick2wire lib from [https://github.com/quick2wire/quick2wire-python-api](https://github.com/quick2wire/quick2wire-python-api) allows easy access to the I2C port via Python.
|
||||
I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus.
|
||||
|
||||
[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi")
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo
|
||||
image: 'ab-adc-differential-pi.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#ADC Differential Pi
|
||||
|
||||
The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
|
||||
##Features
|
||||
|
||||
@ -48,4 +59,4 @@ The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter des
|
||||
- 240 SPS (12 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D
|
||||
image: 'ab-adc-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#ADC Pi Plus
|
||||
|
||||
The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||
|
||||
##Features
|
||||
|
||||
@ -48,4 +59,4 @@ The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to
|
||||
- 240 SPS (11 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D
|
||||
image: 'ab-adc-pi-zero.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'14':
|
||||
'20':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -48,4 +57,4 @@ The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to
|
||||
- 240 SPS (11 bits)
|
||||
- One-Shot or Continuous Conversion Options
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus
|
||||
image: 'ab-io-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -28,7 +39,7 @@ i2c:
|
||||
-->
|
||||
#IO Pi Plus
|
||||
|
||||
The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platform. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc.
|
||||
The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc.
|
||||
|
||||
A pair of MCP23017 expanders are included on the board allowing you to connect up to 32 digital inputs or outputs to the Raspberry Pi. The IO Pi Plus Expander is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the IO Pi Plus along with other expansion boards.
|
||||
|
||||
@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u
|
||||
- Configurable interrupt source - Interrupt-on-change from configured register defaults or pin changes
|
||||
- Polarity Inversion register to configure the polarity of the input port data
|
||||
|
||||
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus
|
||||
image: 'ab-rtc-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3,5v
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -25,10 +36,10 @@ i2c:
|
||||
-->
|
||||
#RTC Pi Plus
|
||||
|
||||
The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on.
|
||||
The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on.
|
||||
|
||||
The RTC Pi Plus is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the RTC Pi Plus along with other expansion boards. The RTC Pi Plus uses the DS1307 RTC real time clock and a CR2032 battery to maintain the date and time when the main system power is not available.
|
||||
|
||||
Unlike most other DS1307 based RTC modules the RTC Pi also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi.
|
||||
|
||||
Python 2 and 3 libraries are available on GitHub.
|
||||
Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus
|
||||
image: 'ab-serial-pi-plus.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
mode: UART
|
||||
|
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,3 +46,22 @@ install:
|
||||
This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus.
|
||||
|
||||
Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from Adafruit_MPR121 import MPR121
|
||||
from time import sleep
|
||||
|
||||
cap = MPR121.MPR121()
|
||||
|
||||
last_touched = cap.touched()
|
||||
while True:
|
||||
current_touched = cap.touched()
|
||||
for i in range(12):
|
||||
pin_bit = 1 << i
|
||||
if current_touched & pin_bit and not last_touched & pin_bit:
|
||||
print("{} touched!".format(i))
|
||||
last_touched = current_touched
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Servo/PWM HAT
|
||||
class: board
|
||||
type: touch
|
||||
type: io,motor
|
||||
formfactor: HAT
|
||||
manufacturer: Adafruit
|
||||
description: A 16-Channel Servo / PWM HAT for Raspberry Pi
|
||||
@ -16,6 +16,13 @@ power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/
|
||||
image: 'analog-zero.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 3v3
|
||||
power:
|
||||
'1':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'19':
|
||||
mode: spi
|
||||
@ -28,7 +38,7 @@ install:
|
||||
-->
|
||||
#Analog Zero
|
||||
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC.
|
||||
|
||||
With RasPiO Analog Zero you can:
|
||||
|
||||
@ -39,3 +49,24 @@ With RasPiO Analog Zero you can:
|
||||
* use potentiometer dials for control and display
|
||||
* read analog sensors or voltages
|
||||
* make your own embedded device with minimal footprint
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from gpiozero import MCP3008
|
||||
from time import sleep
|
||||
|
||||
left_pot = MCP3008(0)
|
||||
light = MCP3008(1)
|
||||
temperature = MCP3008(2)
|
||||
right_pot = MCP3008(3)
|
||||
|
||||
while True:
|
||||
print("Left pot value is {}".format(left_pot.value))
|
||||
print("Light sensor value is {}".format(light.value))
|
||||
print("Temperature sensor value is {}".format(temperature.value))
|
||||
print("Right pot value is {}".format(right_pot.value))
|
||||
sleep(1)
|
||||
```
|
||||
|
||||
[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008)
|
||||
|
@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt
|
||||
image: 'blinkt.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
pin:
|
||||
'16':
|
||||
name: Data
|
||||
@ -26,3 +29,20 @@ pin:
|
||||
# Blinkt!
|
||||
|
||||
Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs.
|
||||
|
||||
## Code
|
||||
|
||||
```python
|
||||
from blinkt import set_pixel, show
|
||||
from random import randint
|
||||
from time import sleep
|
||||
|
||||
while True:
|
||||
for pixel in range(8):
|
||||
r = randint(255)
|
||||
g = randint(255)
|
||||
b = randint(255)
|
||||
set_pixel(pixel, r, g, b)
|
||||
show()
|
||||
sleep(0.1)
|
||||
```
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce
|
||||
buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card
|
||||
image: 'cirruslogic-audio-card.png'
|
||||
pincount: 40
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
name: SDA1
|
||||
|
@ -11,6 +11,18 @@ buy: http://discohat.com/shop
|
||||
image: 'discohat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Drum HAT
|
||||
class: board
|
||||
type: instrument
|
||||
type: instrument,touch
|
||||
formfactor: HAT
|
||||
manufacturer: Pimoroni
|
||||
description: An 8 pad finger Drum HAT for your Raspberry Pi
|
||||
@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat
|
||||
image: 'drum-hat.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -2,7 +2,7 @@
|
||||
---
|
||||
name: Enviro pHAT
|
||||
class: board
|
||||
type: iot,sensor
|
||||
type: adc,sensor
|
||||
formfactor: pHAT
|
||||
manufacturer: Pimoroni
|
||||
description: A package of environmental sensors for IoT projects
|
||||
@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat
|
||||
image: 'enviro-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -20,20 +30,20 @@ pin:
|
||||
mode: i2c
|
||||
'7':
|
||||
mode: output
|
||||
name: Lights
|
||||
name: LEDs
|
||||
i2c:
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x1d':
|
||||
name: Motion Sensor
|
||||
device: LSM303D
|
||||
'0x29':
|
||||
name: Light/Colour Sensor
|
||||
device: TCS3472
|
||||
'0x49':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
'0x77':
|
||||
name: Temp/Pressure Sensor
|
||||
device: BMP280
|
||||
'0x48':
|
||||
name: 4-Channel Analog Input
|
||||
device: ADS1015
|
||||
-->
|
||||
#Enviro pHAT
|
||||
|
||||
@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m
|
||||
|
||||
Features:
|
||||
|
||||
BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two LEDs for illumination)
|
||||
LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus)
|
||||
* BMP280 temperature/pressure sensor (0x77 on the i2c bus)
|
||||
* TCS3472 light and RGB colour sensor (0x29 on the i2c bus)
|
||||
(with two GPIO controlled LEDs for illumination)
|
||||
* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus)
|
||||
* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus)
|
||||
(3.3v 12-bit ADC at address 0x48 in first production run of the board)
|
||||
|
||||
To get the pHAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
|
@ -15,6 +15,13 @@ power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'8':
|
||||
name: TXD / Transmit
|
||||
|
@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat
|
||||
image: 'explorer-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power:
|
||||
'2':
|
||||
'17':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
@ -11,7 +11,7 @@ pin:
|
||||
-->
|
||||
# W1-GPIO - One-Wire Interface
|
||||
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi:
|
||||
To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi:
|
||||
|
||||
```
|
||||
dtoverlay=w1-gpio
|
||||
|
@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk
|
||||
image: 'iqaudio-pi-digiamp.png'
|
||||
pincount: 40
|
||||
eeprom: yes
|
||||
power:
|
||||
'1':
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'9':
|
||||
'14':
|
||||
'20':
|
||||
'25':
|
||||
'30':
|
||||
'34':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
@ -39,7 +51,6 @@ install:
|
||||
'devices':
|
||||
- 'i2c'
|
||||
-->
|
||||
|
||||
#Pi-DigiAMP+
|
||||
|
||||
The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off.
|
||||
|
@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat
|
||||
image: 'microdot-phat.png'
|
||||
pincount: 40
|
||||
eeprom: no
|
||||
power: 5v
|
||||
power:
|
||||
'2':
|
||||
ground:
|
||||
'6':
|
||||
'39':
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user