Skip to content

Commit 0c2f202

Browse files
authored
Created M5Stack StampS3 Markdown File
Unconventional code block to set up optional LCD available from M5Stack with the StampS3 has been included, but can be removed if improper.
1 parent c689407 commit 0c2f202

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

_board/m5stack_stamp_s3.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
layout: download
3+
board_id: "m5stack_stamp_s3"
4+
title: "M5Stamp S3 Download"
5+
name: "M5Stamp S3"
6+
manufacturer: "M5Stack"
7+
board_url:
8+
- "https://shop.m5stack.com/products/m5stamp-esp32s3-module"
9+
- "https://docs.m5stack.com/en/core/StampS3"
10+
board_image: "m5stack_stamp_s3.jpg"
11+
# format is YYYY-MM-DD
12+
date_added: 2025-01-11
13+
downloads_display: true
14+
blinka: false
15+
download_instructions: "url" # Link to Tutorial
16+
family: esp32s3 # See _data/bootloaders.json
17+
bootloader_id: adafruit_feather_esp32s3_nopsram
18+
features:
19+
- Bluetooth/BTLE
20+
- USB-C
21+
- Wi-Fi
22+
---
23+
24+
STAMPS3 is a highly integrated embedded controller designed for IoT applications. It utilizes the Espressif ESP32-S3FN8 main control chip and features 8MB of SPI flash memory. Powered by a high-performance Xtensa 32-bit LX7 dual-core processor, STAMPS3 delivers impressive processing power with a main frequency of up to 240MHz. This module is specifically designed to meet the demands of IoT projects that require embedded main control modules.
25+
26+
STAMPS3 comes equipped with a built-in highly integrated 5V to 3.3V circuit, ensuring stable power supply for reliable operation. It features an RGB status indicator and a programmable button for enhanced user control and visual feedback. The module conveniently leads out 23 GPIOs on the ESP32-S3, allowing for extensive expansion capabilities. The GPIOs are accessible through 1.27mm/2.54mm spacing leads, supporting various usage methods such as SMT, DIP row, and jump wire connections. STAMPS3 offers a compact form factor, delivering strong performance, rich expansion IO, and low power consumption.
27+
28+
USB-C connector and RGB Status LED are independent from all broken-out GPIO. GPIO46 is drop-down by default.
29+
30+
### Mounting Considerations
31+
- 2.54mm DIP mounting breaks out 10 GPIO plus EN, 5V, 3V3, GND, GND
32+
- 1.27mm DIP mounting breaks out 23 GPIO plus EN, 5V, 3V3, GND, GND
33+
- Optional 8 pin 0.5mm pitch FPC header breaks out 6 additional GPIO plus 3V3, GND
34+
- Optional 12 pin 0.5mm pitch FPC header breaks out 9 additional GPIO plus 5V, 3v3, GND
35+
36+
### Optional LCD
37+
The M5Stamp S3 is available as a "Cardputer Accessory Kit", which includes a pre-soldered 8 pin FPC header and a 1.14" 240x135px LCD screen. If you wish to make use of this functionality without using the ST7789 library, this code will enable the display.
38+
39+
```
40+
import board
41+
import busio
42+
import displayio
43+
from fourwire import FourWire
44+
45+
displayio.release_displays()
46+
47+
spi = busio.SPI(clock=board.TFT_SCK, MOSI=board.TFT_MOSI)
48+
while not spi.try_lock():
49+
pass
50+
spi.configure(baudrate=40000000)
51+
spi.unlock()
52+
53+
display_bus = FourWire(spi, command=board.TFT_DC, chip_select=board.TFT_CS, reset=board.TFT_RST)
54+
55+
INIT_SEQUENCE = (
56+
b"\x01\x80\x96\x11\x80\xFF\x3A\x81\x55\x0A\x36\x01\x08\x21\x80\x0A\x13\x80\x0A\x36\x01\xC0\x29\x80\xFF"
57+
)
58+
59+
display = displayio.Display(display_bus, INIT_SEQUENCE, rotation=270, width=240, height=135, rowstart=40, colstart=53)
60+
```
61+
62+
## Documentation
63+
64+
* [M5Stamp S3](https://docs.m5stack.com/en/core/StampS3)
65+
66+
## Purchase
67+
68+
* [Adafruit](https://www.adafruit.com/product/3857)

0 commit comments

Comments
 (0)