Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Board]: M5Stack CoreS3 + LoRa868_V1.1 Module #4768

Open
lboue opened this issue Sep 18, 2024 · 6 comments
Open

[Board]: M5Stack CoreS3 + LoRa868_V1.1 Module #4768

lboue opened this issue Sep 18, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@lboue
Copy link
Contributor

lboue commented Sep 18, 2024

SOC

ESP32

Lora IC

SX1276

Product Link

https://shop.m5stack.com/products/lora-module-868mhz-v1-1

Description

Setup

Features

  • LCD Screen: 2.0"@320*240 ILITEK ILI9342C
  • FT6336U touch screen
  • Built-in camera, proximity sensor, speaker, power indicator, RTC, I2S amplifier, dual microphone, condenser touch screen, power button, reset button, gyroscope (BMI270)
  • TF card slot
  • AW9523B: 16 Multi-function Led Driver and Gpio Controller
  • AXP2101 power management, low power design

Schematic
image

@lboue lboue added the enhancement New feature or request label Sep 18, 2024
@Coopersmith-24601
Copy link

It's already being worked on. I personally can't hardly wait to see it. It's going to be an incredibly interesting opportunity to add a bajillion different types of sensors.

@lboue
Copy link
Contributor Author

lboue commented Sep 19, 2024

Do you know who's working on it? I was thinking of starting too.

@Coopersmith-24601
Copy link

@lboue
Copy link
Contributor Author

lboue commented Sep 20, 2024

Thanks

@lboue
Copy link
Contributor Author

lboue commented Sep 22, 2024

M5Stack CoreS3 has AXP2101 power management chip like tbeam-s3-core variant.
I managed to start up the CoreS3 with power management.

IMG_1821_

Boot log

//\ E S H T /\ S T / C

INFO  | ??:??:?? 4 Booted, wake cause 0 (boot count 1), reset_reason=reset
DEBUG | ??:??:?? 4 Filesystem files (16384/1048576 Bytes):
DEBUG | ??:??:?? 4  /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 4  /prefs/config.proto (171 Bytes)
DEBUG | ??:??:?? 4  /prefs/db.proto (373 Bytes)
DEBUG | ??:??:?? 4  /prefs/module.proto (96 Bytes)
[  4437][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=12 scl=11 freq=100000
[  4446][I][XPowersCommon.tpp:248] begin(): SDA:12 SCL:11
[  4452][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
INFO  | ??:??:?? 4 AXP2101 PMU init succeeded, using AXP2101 PMU
[  4460][D][XPowersAXP2101.tpp:2791] setInterruptImpl(): DISABLE - HEX:0xffffffff BIN:
DEBUG | ??:??:?? 4 =======================================================================
DEBUG | ??:??:?? 4 DC1  : +   Voltage:3300 mV
DEBUG | ??:??:?? 4 DC2  : -   Voltage:1200 mV
DEBUG | ??:??:?? 4 DC3  : +   Voltage:3300 mV
DEBUG | ??:??:?? 4 DC4  : -   Voltage:1800 mV
DEBUG | ??:??:?? 4 ALDO1: +   Voltage:1800 mV
DEBUG | ??:??:?? 4 ALDO2: +   Voltage:3300 mV
DEBUG | ??:??:?? 4 ALDO3: -   Voltage:3300 mV
DEBUG | ??:??:?? 4 ALDO4: +   Voltage:3300 mV
DEBUG | ??:??:?? 4 BLDO1: -   Voltage:2800 mV
DEBUG | ??:??:?? 4 BLDO2: -   Voltage:1500 mV
DEBUG | ??:??:?? 4 =======================================================================
DEBUG | ??:??:?? 4 Battery: usbPower=0, isCharging=1, batMv=3788, batPct=26
INFO  | ??:??:?? 4 Scanning for i2c devices...
[  4509][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 4 Scanning for I2C devices on port 1
DEBUG | ??:??:?? 4 I2C device found at address 0x34
INFO  | ??:??:?? 4 axp192/axp2101 PMU found
DEBUG | ??:??:?? 4 I2C device found at address 0x40
DEBUG | ??:??:?? 4 Wire.available() = 2
DEBUG | ??:??:?? 4 Register MFG_UID: 0xffff
INFO  | ??:??:?? 4 INA219 sensor found at address 0x40
DEBUG | ??:??:?? 4 I2C device found at address 0x51
INFO  | ??:??:?? 4 Device found at address 0x51 was not able to be enumerated
DEBUG | ??:??:?? 4 I2C device found at address 0x58
INFO  | ??:??:?? 4 Device found at address 0x58 was not able to be enumerated
DEBUG | ??:??:?? 4 I2C device found at address 0x69
INFO  | ??:??:?? 4 BMX160 accelerometer found
INFO  | ??:??:?? 4 3 I2C devices found
DEBUG | ??:??:?? 4 acc_info = 45
DEBUG | ??:??:?? 4 found i2c sensor meshtastic_TelemetrySensorType_INA219
INFO  | ??:??:?? 4 S:B:255,2.5.1.e6eb5e97
INFO  | ??:??:?? 4 Build timestamp: 1726997239
DEBUG | ??:??:?? 4 Total heap: 287800
DEBUG | ??:??:?? 4 Free heap: 253068
DEBUG | ??:??:?? 4 Total PSRAM: 8386295
DEBUG | ??:??:?? 4 Free PSRAM: 8386295
DEBUG | ??:??:?? 4 NVS: UsedEntries 97, FreeEntries 533, AllEntries 630, NameSpaces 4
DEBUG | ??:??:?? 4 Setup Preferences in Flash Storage
DEBUG | ??:??:?? 4 Number of Device Reboots: 6

@lboue
Copy link
Contributor Author

lboue commented Sep 22, 2024

AXP2101 usage

M5Stack
CoreS3
ALDO1 VDD 1v8 ALDO1
ALDO2 VDDA 3v3 ALDO2
ALDO3 CAM 3v3 ALDO3
ALDO4 TF 3v3 ALDO4
BLDO1 AVDD BLDO1
BLDO2 DVDD BLDO2
DLDO1/DC1 LCD BL DLDO1/DC1
DLDO2/DC2 --- DLDO2/DC2
BACKUP RTC BAT BACKUP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants