FeatherS2 + AirLift Featherwing + I2C

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
michaelmcs
 
Posts: 17
Joined: Wed Aug 26, 2020 9:10 pm

FeatherS2 + AirLift Featherwing + I2C

Post by michaelmcs »

I want to stack a FeatherS2 with an AirLift Featherwing and an I2C display. Will there be pin conflicts?

The sample code from https://learn.adafruit.com/adafruit-air ... ython-wifi wants to use D11 (which is also I2C SCL) for 'ready' and D10 (I2C SCL) for gpio0.

Maybe a better question is: Which FeatherS2 pins are used by the AirLift and can't be shared?

thanks

User avatar
freddyboomboom
 
Posts: 267
Joined: Wed Feb 16, 2022 7:55 pm

Re: FeatherS2 + AirLift Featherwing + I2C

Post by freddyboomboom »

I have two questions, actually.

1: Are you using the Unexpected Maker FeatherS2, or the Adafruit Feather ESP32-S2? They're different boards and I've seen some folks refer to the second as the firs, and vice versa.

2: Both the Feather S2 and Feather ESP32-S2 have WiFi on board. Are you using the Featherwing ESP32 for WiFi or Bluetooth Low Energy? If WiFi, why (because the Feather already does that)?

The Learn Guide you linked to seems to be using SPI to communicate with the ESP32.

The FeatherS2 says this about D10 & D11:

Code: Select all

Adafruit CircuitPython 7.2.5 on 2022-04-06; FeatherS2 with ESP32S2
board.D10 board.IO8 board.SDA
board.D11 board.IO9 board.SCL
The Feather ESP32-S2 says this about the pins:

Code: Select all

Adafruit CircuitPython 7.2.4 on 2022-03-31; Adafruit Feather ESP32S2 with ESP32S2
board.D10
board.D11
As for the Airlift ESP32, the Pinouts Page is where you should look: https://learn.adafruit.com/adafruit-air ... ng/pinouts

User avatar
neradoc
 
Posts: 542
Joined: Wed Apr 27, 2016 2:38 pm

Re: FeatherS2 + AirLift Featherwing + I2C

Post by neradoc »

Hi, the airlift guide uses pin numbers that are based on the Feather M4, most of Adafruit's feather having identical D* pins placement.
You can use the feather M4 pinout as a reference for the pin numbers used in the guide: https://learn.adafruit.com/assets/111181

Unexpected Maker's Feather S2 uses different pin numbers for historical reasons (the D* pin numbers are not technically part of the Feather specs or were not at the time).
So you have to transpose the pin numbers by comparing the pinout cards: https://feathers2.io/

So for example D10 on the Feather M4 and in the Airlift guide is IO3/D6 on the FeatherS2.
You will have to transpose the other pins too.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”