Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
216 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
website/docs/devices/esp32/adafruit-feather-esp32-s2.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
--- | ||
description: Adafruit Feather ESP32-S2 | ||
--- | ||
# Adafruit Feather ESP32-S2 | ||
|
||
|
||
A S2 Feather from Adafruit. (untested) | ||
|
||
|
||
## Features | ||
|
||
- I2C on SDA/SCL: 3/4 using Qwiic connector | ||
- WS2812B RGB LED on 33 | ||
|
||
## Stores | ||
|
||
- [https://www.adafruit.com/product/5000](https://www.adafruit.com/product/5000) | ||
|
||
## Pins | ||
|
||
| pin name | hardware id | features | | ||
|:---------|:------------|---------:| | ||
| **A0** | GPIO18 | analogOut, io | | ||
| **A1** | GPIO17 | analogOut, io | | ||
| **A2** | GPIO16 | io | | ||
| **A3** | GPIO15 | io | | ||
| **A4** | GPIO14 | io | | ||
| **A5** | GPIO8 | analogIn, io | | ||
| **D10** | GPIO10 | analogIn, io | | ||
| **D11** | GPIO11 | io | | ||
| **D12** | GPIO12 | io | | ||
| **D13** | GPIO13 | io | | ||
| **D5** | GPIO5 | analogIn, io | | ||
| **D6** | GPIO6 | analogIn, io | | ||
| **D9** | GPIO9 | analogIn, io | | ||
| **MISO** | GPIO37 | io | | ||
| **MOSI** | GPIO35 | io | | ||
| **RX** | GPIO38 | io | | ||
| **SCK** | GPIO36 | io | | ||
| **TX** | GPIO39 | debug, io | | ||
| **i2c.pinSCL** | GPIO4 | analogIn, io | | ||
| **i2c.pinSDA** | GPIO3 | analogIn, io | | ||
| **led.pin** | GPIO33 | io | | ||
| **setupPins[0].pin** | GPIO21 | io | | ||
| **setupPins[1].pin** | GPIO7 | analogIn, io | | ||
|
||
|
||
|
||
## Firmware update | ||
|
||
In [Visual Studio Code](/getting-started/vscode), | ||
select **DeviceScript: Flash Firmware...** from the command palette. | ||
|
||
Run this [command line](/api/cli) command and follow the instructions. | ||
|
||
```bash | ||
devicescript flash --board adafruit_feather_esp32_s2 | ||
``` | ||
|
||
|
||
- [Firmware](https://github.com/microsoft/jacdac-esp32/releases/latest/download/devicescript-esp32s2-adafruit_feather_esp32_s2-0x1000.bin) | ||
|
||
## Configuration | ||
|
||
```json title="adafruit_feather_esp32_s2.json" | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/jacdac-esp32/main/boards/esp32deviceconfig.schema.json", | ||
"id": "adafruit_feather_esp32_s2", | ||
"devName": "Adafruit Feather ESP32-S2", | ||
"productId": "0x3c2ed99e", | ||
"$description": "A S2 Feather from Adafruit. (untested)", | ||
"archId": "esp32s2", | ||
"url": "https://www.adafruit.com/product/5000", | ||
"i2c": { | ||
"$connector": "Qwiic", | ||
"pinSCL": 4, | ||
"pinSDA": 3 | ||
}, | ||
"led": { | ||
"pin": 33, | ||
"type": 1 | ||
}, | ||
"pins": { | ||
"A0": 18, | ||
"A1": 17, | ||
"A2": 16, | ||
"A3": 15, | ||
"A4": 14, | ||
"A5": 8, | ||
"D10": 10, | ||
"D11": 11, | ||
"D12": 12, | ||
"D13": 13, | ||
"D5": 5, | ||
"D6": 6, | ||
"D9": 9, | ||
"MISO": 37, | ||
"MOSI": 35, | ||
"RX": 38, | ||
"SCK": 36, | ||
"TX": 39 | ||
}, | ||
"setupPins": [ | ||
{ | ||
"out": 1, | ||
"pin": 21 | ||
}, | ||
{ | ||
"out": 1, | ||
"pin": 7 | ||
} | ||
], | ||
"uartLog": true | ||
} | ||
``` |