@hanktttop OK. I'm wading into this discussion without having a Cardputer!
My other ESP32-S3 and M5Stack Atom S3 and several StampS3s all work very well in my Arduino IDE environment. I also have a bunch of S3 products from a manufacturer whose name cannot be said. (coughs into hand...T-Display S3).
So I am familiar with this S3 series on a M1 iMac.
My iMac has two Thunderbolt ports and two USB ports. I used the USB ports just fine for M5Stack-pre-S3-models, but the S3 models wont even power up on USB, they need the Thunderbolt outputs.
So, get to the point, teastain.
Connection is VERY fussy and unpredictable with S3.
All of the M5Stack S3 products that I have seen have both of the necessary buttons available. The Cardputer even has them at the front(!) no need to remove the S3 or peel back the sticker on Cardputer. (in fact DO NOT remove the S3 with Cardputer!)
The GO button is actually GPIO 0 and is called 'boot'.
The 'rst' button is otherwise called 'EN' which cuts power to the core when pushed and resets when released.
Method 1 unplug the Cardputer from the USB, press and hold G0 (on the left side of the Cardputer, plug back in and release G0.
Method 2 while plugged in press and hold G0, press 'rst' on the right side, release 'rst', then release G0.
In both cases if your sketch does not boot up and run, it is recommended to unplug it and plug it back in to boot.
![](/assets/uploads/profile/uid-7508/7508-profileavatar.jpeg)
teastain
@teastain
Retired Industrial Robotics interface designer, bon vivant, raconteur, maker.
Best posts made by teastain
-
RE: Cardputer COM Not Working
-
RE: Connecting M5stack to PCB with header and GPIO capacity.
@mtylerjr The Core Basic has 15 GPIO peripherally arranged in the battery base, as well as generous grounds and voltage options.
-
RE: Looking for kind souls to adopt this aged brain and eyes.
@ajb2k3 I really like the idea of REPL !
MY(!) aging brain is resisting learning a new programming language.
In the (late) 70's I programmed in machine code and felt C was a "high level language".
I will investigate Python, could be fun!
Cheers to all.
-
RE: How to change the I2C address of EXT.IO2
@felmue "For testing integrity" I'm using the github EXT.IO Zip download and running the DIGITAL_INPUT_OUTPUT example right from there and then later from my Arduino directory, after checking that both Libraries M5Stack And EXT_IO are up to date.
Note, stubbornly I am using Arduino 1.8.19.
The Example would not run until I added Wire.begin(21, 22); delay(1000);
Seriously. I take it out and the sketch throws errors.
I am also disappointed that setPinMode "came and went".
I am becoming discouraged with M5Stack, unfortunately. -
RE: UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image
@ajb2k3 Sure, here it is:
Here is the full example for all ESP32s using the OV2640 camera in Arduino IDE
(in the IDE board selection choose M5Stack UnitCamS3)
Remember to edit the .ino file to include your WiFi credentials!The full sketch is here:
https://github.com/espressif/arduino-esp32/tree/cf448906b3836fbe9368934713b697469254c62f/libraries/ESP32/examples/Camera/CameraWebServerYou can choose CAMERA_MODEL_ESP_EYE, and apply a little tweak in camera_pins.h like this:
https://github.com/m5stack/UnitCamS3-UserDemo/blob/main/firmware/src/hal/cam/camera_pins.h#L21Also in the library used in your sketch
app_httpd.cpp
I had to change Line 77 from ('1" enabled) to ('0' not enabled )#define CONFIG_LED_ILLUMINATOR_ENABLED 0
Successful upload serial output reads like this:
20:48:24.952 -> E (516) esp_core_dump_flash: No core dump partition found! 20:48:24.952 -> 20:48:24.952 -> ...... 20:48:24.952 -> WiFi connected 20:48:24.952 -> Camera Ready! Use 'http://192.168.0.37' to connect
-
RE: High Level Question regarding M5Stamp and Core2
Hi, I have a Core Basic HVAC program communicating with two Stamps using ESP_NOW and they are physically close, but the idea was to not run messy cables! The ESP_NOW is peer to peer WiFi, but no login to the internet or even the WiFi router.
One Stamp reads the HVAC vent temperature and reports to the Core, which in turn calculates the damper vane angle and transmits that back to the very same Stamp connected to a 180 servo motor.
The other Stamp just operates one or two small under desk heaters as required, by the Core.
Hope this helps.
Terry -
RE: M5cardputer com is reading it as DFROBOT-Beetle
@coolman626 This is sadly a confusing aspect of Arduino IDE V2...a "feature" that guesses your board as a "convenience" and it's always wrong.
In the search box start typing M5Stack until you see your board!
Really no big deal!
-Terry -
RE: The other M5Dial connectors...
@lordryck They are called Grove and are the standard for most M5Stack products.
https://shop.m5stack.com/pages/search-results-page?q=grove cable
Also used by Seeed products.
They're JST connectors type 'HY2.0-4P'.
-
RE: m5stack cardputer doesn't turn on.
@sl4sh00 To put it into 'download' mode you can do as @robski suggested or:
Press and hold the G0 Boot button...while holding it in, press and release the reset button, THEN release the G0 Boot.
While doing this you can check the connection status in whatever burner app you are using.
Please tell us if you can see the connection status AT ALL, this would be helpful in solving your problem.
Latest posts made by teastain
-
RE: Local e Global Variables in UiFlow 2.0
@Fernando-Cardoso I don't think you can!
May I ask why you need 'local' variable scope?
There is an easy 'work around'! -
RE: CoreMP135 Debian image
@ajb2k3 "But, for mine own part, it was Greek to me."
(Casca, Julius Caesar: Act 1, Scene 2) -
CoreMP135 add M5 Units
Is it easy to install (program) Grove sensor units to the CoreMP135?
Such as ENV, etc.
Will it be programmable with UIFlow? -
RE: Why is the Serial.print() not working in the M5NanoC6 unit?
@BoM_M5 Do you have USB CDC On Boot "Enabled"?
In the 'Tools' drop down. -
RE: M5CoreS3 rebooting issue with PSRAM
What board def version of ‘ESP32 by Espressif’ are you using?
Ver3.x.x is broken for some boards. -
RE: CoreMP135 Debian image
@mgrouch I am no expert on the CoreMP135, but it looks like it is more of a Raspberry Pi, than an Arduino or ESP32 microcontroller without WiFi or BT.
In the link I sent you there is a LVGL demo to try.
As to porting your cool Boat app over, it would be easy to do to another ESP32 machine like Core Basic, Core2 or CoreS3, but at some point this is not an M5Stack issue, but a LVGL issue, they may have some guidance over at their GitHub repository.
-Terry -
RE: CoreMP135 Debian image
@mgrouch https://github.com/m5stack/M5Stack_Linux_Libs
The Official M5Stack CoreMP135 library repository. -
RE: Can't compile
@MichaelOToole What ESP32 board definition are you using? Espressif is playing with ver 3 right now for newer boards like C6.
Try 2.0.15 for now until all the legacy mfgs (like M5Stack!) get on board.
-Terry -
RE: earth sensor module - looking for an example for digital reading
@herb Here you go:
https://github.com/m5stack/M5Stack/blob/master/examples/Unit/EARTH/EARTH.ino
Both analog and digital.
The earth sensor is rather...'simple'
from the docs page
https://docs.m5stack.com/en/unit/earth
you can see that the 'Ain' just reads the voltage across the sensor and the 'Din' is at least the threshold comparator, adjusted by the trim pot on back. -
RE: M5Dial - questions before buying
@YigalB FreeRTOS is baked in.
All four are GPIO.
The drawing has a minor notation error and to simplify things for new Users there is a suggestion that Port A, red, is I2C and Port B, black, is one in and one out.
But they are all General Purpose Input-Output.
https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf
page 16 I/O mux