@themusicman This is "The Community" website supported by user volunteers.
You should raise an Issue over on the M5Stack Github page,
https://github.com/m5stack/M5Core2
-Terry

Posts made by teastain
-
RE: Core2 buttons don't work after M5.Lcd.setRotation(3)?
-
RE: Operational Temperature Range of M5Tough
@kk likely 0-60, as is the standard core basic and core2.
LCDs malfunction and possibly freeze damage below 0.
Cannot withstand condensating environment. -
RE: Servo Kit 180 connection
@ajb2k3 My StickCPlus with the dead battery will not boot with the servo attached, and, will crash if you add it while running!
Are replacement batteries available do you know? EDIT> it is a common battery with many sources > Otherwise I will try installing a large cap in the battery are that is charged by the USB, not controlled by the AXP power chip.
StickCPlus comes apart very easily, but cut the hat I/O decal to slide it out. -
RE: Servo Kit 180 connection
@kylebuttress Well, what an evening!
Does your battery work? Will it boot on battery only?
Some of my newer StickCPlus units will run the servo. One has a very good battery and will run the servo without USB! One will run the servo on USB but not battery only, one ( the one I tried 3 hours ago) will do exactly as yours. No way will it run the servo.
So I think this is my answer!
Cheers, Terry -
RE: Servo Kit 180 connection
@teastain OK, I tried to check this out and something is very wrong.
Please wait while I investigate!
Mine crashes too!
-Terry -
RE: Servo Kit 180 connection
@kylebuttress If you will notice that under your thumb there are three "Hat" connections...you can plug the servo directly, pin for pin, into this and set the LEDC or other servo library to output #26. Try this as a test!
-
RE: old text line visible under new one
@margel the display does not refresh when new text appears and this requires a black “blanking” background.
-
RE: M5StickC Plus not recognized by PC
@human101010 with the power on, click the power button and it will rest and start the sketch over.
There is a more complicated procedure somewhere on the internet which I cannot find rn, on mobile!
Did it ever connect? M5 did have supply different USB chips, you may need the CH340 patch.
-
RE: M5Core2 - How to restore to pre-installed factory firmware
@caccum Well, speaking personally:
I believe the BootLoader is deep inside and indestructible.
I would use Arduino IDE to upload this basic LCD sketch:
https://github.com/m5stack/M5Core2/blob/master/examples/Basics/display/display.ino -
RE: M5Core2 - How to restore to pre-installed factory firmware
@caccum What program do you use?
Arduino IDE? -
RE: StampS3 not included in latest board file definitions
@tcottle BTW, Arduino v2.0.4 is out and I like it!
Initially the Stamp-PICO had to have Atom or Stick selected until a Stamp-PICO def was released.
I suspect this is the case with StampS3...try using AtomS3 for now?
You can go to their GitHub repository for info here:
https://github.com/m5stack/STAMP-S3
Maybe raise an "Issue" for factory help?
This community page is user-supported!
cheers, Terry -
RE: Connect Arduino to M5stack Hearbeat sensor
Yes.
There is nothing specific to M5Stack.
Which exact model do you have?
The M5Stack example will reference a library and M5.LCD. display references which may be confusing to an Arduino.
Are you programming in Arduino IDE? -
RE: Maximum recursion depth?
Rather, I chose to switch to polling, which worked much better, so it seems.
-
RE: Extend I/O (EXT_IO) how to read inputs? (arduino)
@frexetat Screw the library, we'll just put the raw code in-line!
Hardcore, love it.
Terry -
RE: Extend I/O (EXT_IO) how to read inputs? (arduino)
@frexetat I do not have a EXT.IO PCA type, only EXTIO2 with STM, but...could I add: the demo program does not seem to have a "read" in the loop and you must select all pin mode input OR output, which is inconvenient.
these two links from M5Stack use different sketches!https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Unit/EXTIO/Arduino/EXT_IO/EXT_IO.ino
https://github.com/m5stack/M5Stack/blob/master/examples/Unit/EXT_IO_PCA9554PW/EXT_IO_PCA9554PW.ino
Also It is common in controls to use a pull up resistor on the input, maybe 1000 ohms? and connect the switch from the input to ground. Pressing the switch drags the input low, called active low and the signal name is usually "overscored" or preceded with a / symbol: "/sw1".
As I said last year I do not have the PCA type to test!ioCon1.portMode0(ALLOUTPUT); //Set the port as all output in the sketch...maybe set ioCon1.portMode0(ALLINPUT); //Set the port as all input ?
-
RE: Stamp Pico connected to ESP32 Downloader - nothing happens
@nicolas123 I don't think you are missing a step! Weirdly I find that on my M1 Mac some boards do not appear on USB inputs but only appear on Thunderbolt inputs. (or vice/versa) Especially the Stamp DIY Downloader! Which here only wants USB.
To the extent that the red power light does not come on, with one, but does come on with the other. Same with a LilyGO LilyGO T-Display S3. I use good quality USB C to USB C cables, the red one is BestBuy store brand and the black one DFRobot.
It seems that the computer port driver is fussy about what it connects to?
Red is USB DFRobot and black is BestBuy on Thunderbolt port -
RE: ATOMS3 out of stock ?
@exie I have one! They are worth the wait. you can ask M5Stack to notify you when available:
https://shop.m5stack.com/products/atoms3-dev-kit-w-0-85-inch-screen?variant=43676991258881
-
RE: Micropython M5Stamp Stamp I/O Help please?
@ajb2k3
Adam, I nearly went mad getting this to work! Part of the problem was wrapping my brain around how it worked. It is a silly invention of little use, I say!
I found a weakness in the library that prevented individual pin functions, like pin 1 input, pin 2 RGB, pin 3 output.
Our friend felix edited the library header and did a pull request and now they are all individually selectable. This image is actually a short video, but I don't think I can upload it here. Imagine if you will, the LED blink-ing...
However the examples were NOT updated and they still say "AllPinMode", so this is confusing.
I realize this is C, but it might be illustrative for translation to UIflow?
Terry -
RE: Code works when I press play but not when I download on device
@dagloom the PaHub 2 works beautifully with several ENVs.
I made a GitHub repository with an Arduino example, here:
https://github.com/teastainGit/Simple-PaHub-example.
Cheers, TerryP.S. the other two hubs will NOT work at all with ENV