
Posts made by felmue
-
RE: M5Stack Mini Can Termination resistor issue
Hello @Johnmholmes
given that there is only one 120 Ohm resistor listed in the schematic I'd say that is the one. You should also be able to follow the traces from the resistor to the connector to confirm.
Please note: I do not have the M5Stack Mini Can unit so I cannot confirm / measure it myself.
Thanks
Felix -
RE: Controller that can be powered with 5v through GROVE
Hi @amateur58
you need to open the PDF of the schematic, else you don't see all of it.
+5VOUT
going to the Grove port comes out ofU6
going through diodeD20
. So if you were to feed 5 V to the Grove port it would end at the diode.Thanks
Felix -
RE: Controller that can be powered with 5v through GROVE
Hello @amateur58
as you already found out M5AtomS3 can be powered via 5 V through Grove. The same is true for M5NanoC6 as VBUS (from USB-C) is connected to 5 V of the Groove port.
However M5StickCPlus2 is different as it has a dedicated 5 V IN and 5 V OUT. It can only be powered via 5 V IN (which is not on the Grove port).
Thanks
Felix -
RE: ATOMS3 IMU - wake up device
Hello @myscho151
if you have access to a soldering station you could connect the INT line to a GPIO yourself. I've done that for am M5Core2 - please see here.
Thanks
Felix -
RE: controlling relay HELP!!!!!
Hello @sat-informatica
below code works for me:
import network wlan = network.WLAN(network.STA_IF) wlan.connect('SSID', 'Password') label0.setText(str('Connecting...')) while not (wlan.isconnected()): pass label0.setText(str('Connected'))
Thanks
Felix -
RE: M5Unified 0.2.3 broken on PaperS3
Hello @wsanders
I think these compiler error have been fixed (see here), but after tagging the library. I guess it will be in M5Unified 0.2.4.
Thanks
Felix -
RE: Issues w/ 4EncoderMotor
Hello @cristian-spiescu
I am sorry to hear about your troubles. The forum in mainly users helping other users. That said, there a a few M5Stack people in here as well from time to time. (BTW I am not one of them.)
Unfortunately I do not have the necessary hardware to try and help you out. Sorry.
May I suggest you try sending an email to M5Stack support - I cannot guarantee any better outcome but I think it probably doesn't hurt to try.
Thanks
Felix -
RE: Adding Text to screen button causes any subsequent screen text writes to corrupt screen
Hello @SirMichael
you are absolutely correct. Overwriting the button with a rectangle only removes it from the screen, but doesn't deactivate its touch function. You would need to deactivate the touch function in addition to drawing the rectangle. Sorry I've missed that.
Thanks
Felix -
RE: M5Unified 0.2.3 broken on PaperS3
Hello @wsanders
the error indicates that M5GFX library is out of date. Did you update M5GFX library to the latest as well?
Thanks
Felix -
RE: cfg.clear_display=false has no effect on PaperS3?
Hello @wsanders
this issue has been fixed in recent M5Unified and M5GFX libraries - see here. Make sure you are using the latest versions of these two libraries.
BTW: I am using this feature in my non flickering RTC clock example - see here.
Thanks
Felix -
RE: Power not working between CoreS3 or CoreS3 SE <--> LAN module with PoE or RS232 module
Hello @oldrichsveda
Factory firmware (aka CoreS3 UserDemo v0.6) is not the same as UIFlow2 v2.2.1 - please check M5Burner.
I only have an M5CoreS3, but I can confirm your findings: when I install and run Factory firmware I get the effect you are describing. However when I install UIFlow2 v2.2.1 it works for me.
So my suggestion is to use M5Burner and install the latest UIFlow2 v2.2.1.
Thanks
Felix -
RE: Adding Text to screen button causes any subsequent screen text writes to corrupt screen
Hello @SirMichael
I don't see any function which would hide and show a button either. I suggest you try either clearing the screen and recreate as you already mentioned or for only one button you could use
fillRect()
with screen background color to make it hidden.Thanks
Felix -
RE: Power not working between CoreS3 or CoreS3 SE <--> LAN module with PoE or RS232 module
Hello @oldrichsveda
hmm, works for me. Tested with M5CoreS3 and PoE LAN Module.
What code is running on your M5CoreS3? Arduino or UIFlow2?
The effect you are describing sounds like VBUS (this is where the 5 V are coming in from the PoE LAN module) is getting switched from input (default) to output which is equivalent to power off. Which then would make VBUS an input again and the cycle starts over.
Thanks
Felix -
RE: ATOMS3 IMU - wake up device
Hello @myscho151
unfortunately both IMU units you linked 'suffer' from the same issue as the IMU internal to M5AtomS3 - the INT line is not connected.
Thanks
Felix -
RE: Sim800l
Hello @cepics
try changing the line to:
Serial2.printf("AT+CSTT=\"%s\",\"%s\",\"%s\"\r\n", apn, user, pass);
Thanks
Felix -
RE: Adding Text to screen button causes any subsequent screen text writes to corrupt screen
Hello @SirMichael
if you are still interested - I figured out a way to create touch screen buttons using M5Unified and M5GFX library. Please find the example here.
Thanks
Felix -
RE: Adding Text to screen button causes any subsequent screen text writes to corrupt screen
Hello @SirMichael
there is a mechanism trying to deal with this issue. Please see here.
That said, it did not work for me. What works is to set the relevant parameters every time before printing to the screen like below:
M5.Lcd.setCursor(0, 10); M5.Lcd.setTextFont(2); M5.Lcd.setTextColor(TFT_YELLOW); M5.Lcd.print("hallo 2");
Thanks
FelixP.S.: M5Core2 library is deprecated and I haven't seen the person who wrote the library in the forums in a long time.
-
RE: [M5CoreS3] No UART on Port.C of DIN BASE
Hello @Girgitt
sorry if I wasn't clear. I meant a simple blink program like the one below. Does that work on your M5CoreS3?
If not, have you tried (as a test) without the Stepmotor Driver module?
Thanks
Felix#include <Arduino.h> #define TX_PIN GPIO_NUM_17 void setup() { pinMode(TX_PIN, OUTPUT); } void loop() { digitalWrite(TX_PIN, HIGH); delay(1000); digitalWrite(TX_PIN, LOW); delay(2000); }
-
RE: ATOMS3 IMU - wake up device
Hello @myscho151
I don't think you can wake ESP32S3 from deep or light sleep when IMU is registering movement. Reason: the INT line of IMU in M5AtomS3 is not connected to anything. So I don't see how IMU could signal ESP32S3 to wake up.
Thanks
Felix