# Butterfly

Use two HAT/pHAT on a Raspberry Pi

- **Seller:** [8086 Consultancy](https://lectronz.com/stores/8086net), Nottinghamshire, ENG, UK
- **Price:** €1.92 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Cables and adapters, Raspberry Pi
- **Country of origin:** China
- **HS code:** 8534000070
- **Product page:** https://lectronz.com/products/butterfly

## Options

**Connectors (Self Solder)**

- None
- Male + Long Female (Self Solder) [Add €2.35] (10 left)
- Male (Self Solder) [Add €1.20] (10 left)
- Long Female (Self Solder) [Add €1.20] (10 left)

**Hardware Kit**

- None
- Full hardware kit [Add €2.31] (5 left)

## Images

![Butterfly](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDg5NzMsInB1ciI6ImJsb2JfaWQifX0=--bf4267eb57aba27e7d4289d7398aaf9348774e9c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2018-10-20T20-21-12.597Z-BUTTERFLY-4.jpg)
![Butterfly](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDg5NzQsInB1ciI6ImJsb2JfaWQifX0=--d5e34aa1448a4c37adb593aa2792ff30e8cd9862/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2018-10-20T20-21-12.597Z-BUTTERFLY-3.jpg)
![Butterfly](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDg5NzUsInB1ciI6ImJsb2JfaWQifX0=--5600baf09c66af15c22655fbb72170f4d737926a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2018-10-20T20-21-12.597Z-BUTTERFLY-2.jpg)

## Description

Allows two HAT or pHAT (or a mix) to be attached to a single Raspberry Pi 40 way connector.

All pins are connected *except* ID\_SD and ID\_SC (HAT EEPROM) which have solder jumpers - this allows HAT which follow the specification correctly to operate without a conflict on the EEPROM. The EEPROM on the primary HAT (over the Pi) is always connected to the Pi and if the solder jumpers are bridged the ID\_SD and ID\_SC signals are connected to both primary and secondary HAT (for use when only the HAT/pHAT in the secondary connector has an EEPROM). When not using the EEPROM you may need to manually configure the Pi for your HAT.

Before ordering/using multiple HATs you *MUST* check for conflicts - for example enable/select pins when using SPI, I2C addresses and GPIO pin conflicts and modes, I would advise checking on [pinout](https://pinout.xyz/) and/or with the HAT seller for used pins/modes in use.

The Butterfly board would normally be used with the "Male + Long Female" headers ("Long Female" for the Pi + primary HAT and "Male" for the secondary HAT).

The PCB for sale are green.

SOLDERING CONNECTORS

- The top side of the board is indicated by the white line in between the connectors (also has white line next to pin 1 on both square GPIO pads), I advise soldering the "Long Female" header first otherwise accessing the pins is difficult.
- "Long Female" pins should be inserted from the bottom of the PCB and be soldered on the top of the board (use holes nearest the "Butterfly" text on the top side).
- "Male" headers should be inserted from the top of the board and soldered on the bottom (use holes nearest the "8086" logo on the top side of the board).

## Connectors [ OPTIONAL ]

Allows you to combine your Butterfly order with a range of self solder connectors.

## Hardware Kit [ OPTIONAL ]

The hardware kit includes everything (other than the connectors above) you need to mount the Butterfly on your Raspberry Pi and then mount up to two HATs.

- 2xM2.5 18 mm M-F header
- 4xM2.5 12 mm F-F header
- 8xM2.5 6 mm Screw
- 2.6 mm Header Spacer

Raspberry Pi / Touch pHAT / Unicorn HAT HD / Standoffs are not included - you are buying a Butterfly adapter PCB [and *self solder* connectors / *hardware kit* if selected from the options above].

## Shipping policy

Please ensure your address is full and correct before placing an order and be aware I'm unable to use some shipping methods to PO boxes.
Deliveries to the USA are sent using RoyalMail PDDP (Postal Delivery Duties Paid).
