Merge branch 'plasmadancom-master'

This commit is contained in:
Phil Howard 2021-05-26 19:43:56 +01:00
commit 7e7d7feeb7
14 changed files with 960 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.

View File

@ -0,0 +1,63 @@
<!--
---
name: CTRL HAT
class: board
type: io, relay, motor
formfactor: HAT
manufacturer: PlasmaDan
description: SIP style solid state relay (SSR) home automation and industrial control HAT for Raspberry Pi.
url: https://plasmadan.com/ctrlhat
github: https://github.com/plasmadancom/CTRL-HAT
schematic: https://plasmadan.shop/ctrl-hat-v1-2-schematic/
buy: https://plasmadan.com/ctrlhat
image: 'ctrl-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x20':
alternate: [ '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x27' ]
name: MCP23017
device: MCP23017
-->
# CTRL HAT
The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors.
Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers.
## Features
* Support 4 industry standard SIP type solid state relays
* Up to 10A @ 250V / 16A @ 250V (forced air cooled)
* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays))
* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat)
* Based on the MCP23017 16-port GPIO expander
* Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
* Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
* Built-in user programmable ID EEPROM
## Easy Installer
Our easy installer takes care of the setup process automatically.
```
sudo wget https://git.plasmadan.com/install.sh
sudo sh install.sh
```
Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide).

View File

@ -0,0 +1,97 @@
<!--
---
name: GPIO I2C pHAT
class: board
type: io
formfactor: pHAT
manufacturer: PlasmaDan
description: 4 Extra I2C Buses for Raspberry Pi.
url: https://plasmadan.com/gpioi2c
github: https://github.com/plasmadancom/GPIO-I2C-pHAT
buy: https://plasmadan.com/gpioi2c
image: 'gpio-i2c-phat.png'
pincount: 40
eeprom: no
pin:
'7':
name: I2C3 SDA
mode: i2c
direction: both
active: high
'15':
name: I2C6 SDA
mode: i2c
direction: both
active: high
'16':
name: I2C6 SCL
mode: i2c
direction: both
active: high
'29':
name: I2C3 SCL
mode: i2c
direction: both
active: high
'21':
name: I2C4 SCL
mode: i2c
direction: both
active: high
'24':
name: I2C4 SDA
mode: i2c
direction: both
active: high
'32':
name: I2C5 SDA
mode: i2c
direction: both
active: high
'33':
name: I2C5 SCL
mode: i2c
direction: both
active: high
-->
# GPIO I2C pHAT
The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander.
Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses.
## Features
* Adds 4 additional I2C buses with breakout
* User selectable I2C GPIO pin remapping
* Hardware I2C compatible (Pi 4)
* Slide switch allows fast bus switching
* No-conflict solder jumpers
* Stackable design
* Immersion gold plated copper
## Usage
Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot.
Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top.
## Hardware I2C (Pi 4 Only)
```
dtoverlay=i2c3
dtoverlay=i2c4
dtoverlay=i2c5
dtoverlay=i2c6
```
## Software I2C (Bit Bang)
```
dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13
dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5
```
Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3.