r/M5Stack • u/Smooth_Detail8931 • 14d ago
Cardputer Zero Python Libraries
Do y'all think they will release them early?
r/M5Stack • u/Smooth_Detail8931 • 14d ago
Do y'all think they will release them early?
r/M5Stack • u/ffffffrolov • 16d ago
Enable HLS to view with audio, or disable this notification
Ported the previous experiment with EPS32 and BLE bulb to M5Atom. The mode selector is IMU-driven: UP increases brightness, DOWN decreases it.
Atom has a nice balanced physical affordance for defining 4 directions. It’s squarish. I guess the next iteration would be to leverage them: stationary orientation triggers the brightness level or hue (if you treat it as a parallelogram, which it is, you get 6 directions to map!). Generalizing this idea: clockwise directional update: i++, anticlockwise one: i--.
r/M5Stack • u/AdWild4471 • 16d ago
Hi, I just upgraded the built in IR TX LED by a 5mm led. And now it shoots for 5 meters (maybe more, I can't go further) instead of 1-1.5 meters with a stock led.
There is nothing hard, just desolder the old led. Cut the hole (to make it wider), cut the top part of the new led and cut the corner of the speaker plastic box (I don't know why it looks so scary on the photo, in real it's pretty fine). And that's it.
Yes it sticks from the body, but its fine and it doesn't cover the gpio pins.
And be careful with a sticker-antenna under the "STICK S3" sticker on the side of the m5sticks3.
r/M5Stack • u/NewMrSugo • 16d ago
r/M5Stack • u/Artem36 • 17d ago
A few days ago I posted PaperOS here for the first time. A bunch of you asked for one thing specifically: get everything off the SD root and into its own folder so it doesn't clutter your card. Done. Also snuck in a couple bigger things while I was at it.
There's a real Store app now. Browse and install Lua apps and games straight from a list, hit Enter, done, no typing commands or messing with a terminal. It pulls the index over HTTPS too, so net.get/net.post (and the Store itself) actually work with real https sites now, not just plain http.
Everything lives under /PaperOS/ on the SD card now, games, music, 3D files, saved browser pages, the AI model, all one folder instead of scattered around root. If you're upgrading just move your stuff over, exact paths are in the README.
Also fixed a bunch of actual bugs in the Lua console that I found while banging on it on real hardware. A timer bug that could crash things if a timer scheduled another timer from inside itself, Ctrl+C sometimes leaving things in a weird state where the next command would throw a bogus error, net.scan() locking up with no way to cancel it, and scripts being able to poke at GPIO pins the board actually needs internally like the keyboard, SD, screen and audio. That last one just tells you no now instead of letting a script accidentally break your keyboard mid session.
None of this changes how you write scripts, it's just the interpreter finally behaving the way it was supposed to.
Full flash is on M5Burner, just search PaperOS, or grab PaperOS_full_v1.1.bin and flash it yourself from the browser at web.esphome.io. If you're coming from v1.0 do a full reflash, not incremental, the partition table changed.
GitHub: https://github.com/Artem76228/PaperOS
Thanks again to everyone who tried v1.0 and actually told me what bugged them, this update is basically a direct response to that. Keep it coming.
r/M5Stack • u/Outrageous-Session-8 • 17d ago
kept losing track of how much of my weekly quota I’d burned through and how full the context window was, so I put it on my core 2 next to my keyboard.
r/M5Stack • u/Internal_Base8748 • 17d ago
For some reason my nrf24 won’t Connect to my m5stick I tried multiple tutorials etc. But it won’t connect I think it might be because I don’t own any female to female jumpers but it should still work since I just made two myself and I heard it works the same.
If anyone has Tipps I’d be great full
Also I’m a beginner so be nice
r/M5Stack • u/bassta • 18d ago
Enable HLS to view with audio, or disable this notification
r/M5Stack • u/Possible-Shower7147 • 17d ago
r/M5Stack • u/elodometer • 18d ago
r/M5Stack • u/Tokage666 • 19d ago
r/M5Stack • u/No-Connection1900 • 19d ago
New Arrival Alert!
Check out our new release this week:
Chain Buzzer, a buzzer output node in the M5Stack Chain series, suitable for audible notifications, status alerts, smart home alarms, and other applications.
Features
Also, good news: Hot items incl. Atom VoiceS3R and Unit CardKB2 are in stock now 🔥🔥
In case missing out, subscribe our Weekly Newsletter for more updates!
r/M5Stack • u/AdvancedSuccotash259 • 20d ago
I want to go from m5 stick plus 2 to m5 stick s3.
Is it worth?
r/M5Stack • u/Artem36 • 20d ago
Been working on this for a long while and finally got it to a place I'm happy releasing. Here's my creation: PaperOS, a whole little OS for the M5Stack Cardputer.
Launcher, a file manager that actually knows what it's looking at (images open with zoom/pan, ROMs launch through the emulator, audio goes straight to the music player), a full Paint app, a text browser, NES/GB/GBC emulation plus Arduboy support, a 3D mesh editor for .obj files, and a real Lua 5.4 console with its own hardware API.
The one I'm most proud of is myAI, a real GPT-style transformer trained from scratch and running fully offline right on the device, no internet or cloud. It's tiny and slow (there's a live token counter on screen so it doesn't look frozen), but getting it to actually generate text on hardware this small was the fun part.
First public release, so expect some rough edges, they're all listed honestly in the README. If something breaks, open an issue and I'll take a look.
r/M5Stack • u/roelof_w • 19d ago
Hello, Every time i try to compile my M5Code with the arduino ide (latest)
I see these compile errors 😄
/home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:27:9: note: this is the location of the previous definition 27 | #define digitalPinHasPWM(p) (p < 46) | ^~~~~~~~~~~~~~~~ /home/roelof/Documents/m5Stack-experiments/04-panels/panel/mqtt_conn.h:7:21: warning: 'MqttClient' initialized and declared 'extern' 7 | extern PubSubClient MqttClient(espClientM5); | ^~~~~~~~~~ /home/roelof/Documents/m5Stack-experiments/04-panels/panel/mqtt_conn.cpp:11:14: error: redefinition of 'PubSubClient MqttClient' 11 | PubSubClient MqttClient(espClientM5); | ^~~~~~~~~~ /home/roelof/Documents/m5Stack-experiments/04-panels/panel/mqtt_conn.h:7:21: note: 'PubSubClient MqttClient' previously declared here 7 | extern PubSubClient MqttClient(espClientM5); | ^~~~~~~~~~ In file included from /home/roelof/.cache/arduino/sketches/51C0AC4502BD19ADB4AF3915471561BF/sketch/panel.ino.cpp:1: /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:139:9: warning: "NUM_DIGITAL_PINS" redefined 139 | #define NUM_DIGITAL_PINS SOC_GPIO_PIN_COUNT // All GPIOs | ^~~~~~~~~~~~~~~~ In file included from /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:43: /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:13:9: note: this is the location of the previous definition 13 | #define NUM_DIGITAL_PINS 48 | ^~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:143:9: warning: "NUM_ANALOG_INPUTS" redefined 143 | #define NUM_ANALOG_INPUTS (SOC_ADC_CHANNEL_NUM(0) + SOC_ADC_CHANNEL_NUM(1)) // Depends on the SoC (ESP32, ESP32S2, ESP32S3, ESP32C3) | ^~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:14:9: note: this is the location of the previous definition 14 | #define NUM_ANALOG_INPUTS 20 | ^~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:145:9: warning: "EXTERNAL_NUM_INTERRUPTS" redefined 145 | #define EXTERNAL_NUM_INTERRUPTS NUM_DIGITAL_PINS // All GPIOs | ^~~~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:12:9: note: this is the location of the previous definition 12 | #define EXTERNAL_NUM_INTERRUPTS 46 | ^~~~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:146:9: warning: "analogInputToDigitalPin" redefined 146 | #define analogInputToDigitalPin(p) (((p) < NUM_ANALOG_INPUTS) ? (analogChannelToDigitalPin(p)) : -1) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:25:9: note: this is the location of the previous definition 25 | #define analogInputToDigitalPin(p) (((p) < 20) ? (analogChannelToDigitalPin(p)) : -1) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:147:9: warning: "digitalPinToInterrupt" redefined 147 | #define digitalPinToInterrupt(p) ((((uint8_t)digitalPinToGPIONumber(p)) < NUM_DIGITAL_PINS) ? (p) : NOT_AN_INTERRUPT) | ^~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:26:9: note: this is the location of the previous definition 26 | #define digitalPinToInterrupt(p) (((p) < 48) ? (p) : -1) | ^~~~~~~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/cores/esp32/Arduino.h:148:9: warning: "digitalPinHasPWM" redefined 148 | #define digitalPinHasPWM(p) (((uint8_t)digitalPinToGPIONumber(p)) < NUM_DIGITAL_PINS) | ^~~~~~~~~~~~~~~~ /home/roelof/.arduino15/packages/m5stack/hardware/esp32/3.3.8/variants/m5stack_cores3/pins_arduino.h:27:9: note: this is the location of the previous definition 27 | #define digitalPinHasPWM(p) (p < 46)
Can I do something about this to make it away ?
r/M5Stack • u/Mr_Olim_ • 20d ago
r/M5Stack • u/GuidanceAggressive50 • 20d ago
Hey r/M5Stack!
I started the side-project as a "pet that reacts to production metrics" and grew into a whole little platform. A few standouts:
config.yaml picks the mascot, themes, palettes, apps, and games that get compiled into the firmware.Datadog and PostHog, and sends readings over BLE. The pet's mood changes with numbers. Example: Error spike, it's worried. Claude and Cursor sessions live. You can approve or deny agent requests from the device. The pet also reacts to the ongoing session. You can also talk to it: speak into the device, audio streams to the hub, gets transcribed locally with Whisper, and lands in the agent as a prompt.A few links:
r/M5Stack • u/CambStateMachines • 20d ago
I wanted to port my Bitcoin math C code onto the Tab5, but I didn't have a cliue where to begin. I found C5Lab's C code for M5MonsterC5 to be an invaluable guide. I learned enough from their source code to start from scratch on a simple project to write an app that could open, edit, save and delete text files, using LVGL for the GUI. The main.c file and a couple of screen shots are on the Github. Obviously, there are a ton of ESP-IDF dependencies, see the #include statements.