🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • How do i display images in my m5stickcplus2?

    2
    0 Votes
    2 Posts
    2k Views
    teastainT
    @maxking9 It is an ESP32, so the sky's the limit. TFT_eSPI and LVGL are very popular, but the M5Stack graphics library is suited to the device and easy to use. https://github.com/m5stack/M5StickCPlus2
  • I'm stuck on the demo version !!!!!!!!!!

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Are you making sure you are burning the correct firmware version as there are 3 different StickC's? Have you pressed the reset button on the stick C after the burn button turns green? Have you erased the stickC first?
  • My M5stickc Plus 2 stop work after it...

    3
    0 Votes
    3 Posts
    2k Views
    teastainT
    @otac1000 marauder: "One who roams from place to place making attacks and raids in search of plunder : one that marauds." Maybe it hacked you? Sounds like a Denial of Service Attack, or it de-authered you!
  • M5StickCP2 Platformio configuration

    2
    0 Votes
    2 Posts
    2k Views
    S
    https://github.com/m5stack/M5StickCPlus2-UserDemo
  • M5 stick cplus 1.1 won't connect

    7
    0 Votes
    7 Posts
    5k Views
    ajb2k3A
    @bdtprez You need to burn UIFlow2 for the StickCplus NOT StickCplus2! If you burn any other firmware you will not get access to UIFlow. Keep trying changing the baud rate, I don't have win10 so I cant test and help any more.
  • How to connect sd card to m5stickC

    6
    0 Votes
    6 Posts
    15k Views
    L
    I got the info from this page. https://lang-ship.com/blog/work/m5stickc-spi-sd-3wire/
  • Configuring WLED (Sound Reactive) for M5StickC

    4
    0 Votes
    4 Posts
    7k Views
    O
    Hi @tacmonkey - I had a similar issue trying to capture audio with my m5stick. I had success using: SD = 34 WS = 0 SCKJ = -1 The clock listed as pin 0 on the sticker on the back of the M5 Stick seems to actually relate to the word select clock. The code I was using required a value to be assigned for the SCKJ so I just set it to -1 to pass through an undefined pin value and this worked. I don't know if this would work in your particular situation but thought it worth passing on because it worked for me.
  • Connecting Env Unit and RFID Unit via Grove Hub on M5StickC

    12
    0 Votes
    12 Posts
    21k Views
    robskiR
    @ws1088 said in Connecting Env Unit and RFID Unit via Grove Hub on M5StickC: I use the following code to test: from m5stack import * from m5ui import * from uiflow import * import i2c_bus setScreenColor(0x111111) devices = None scan = None i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x68) devices = [] while True: scan = i2c0.scan() if devices != scan: lcd.clear() lcd.print(str(scan), 0, 0, 0xffffff) devices = scan wait_ms(2) I can see the I2C addresses for the Env unit and RFID unit combinations when I plug them into the Grove Hub. I can plug the Env unit in to see addresses 92 and 118, then add RFID unit to see [40, 92, 118] etc. So I am pretty clueless why the following will fail: rfid0 = unit.get(unit.RFID, unit.PORTA) env1 = unit.get(unit.ENV, unit.PORTA) Looks like I need to go to the source code and see what's going on... are modules working ok on their own and you see issue when both connected?
  • M5StickCP2: isCharging inf Power class does not function

    3
    0 Votes
    3 Posts
    2k Views
    O
    Thanks @felmue !
  • M5StickCP2 Factory example for Arduino

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • My M5stick doesnt work, after i instaled unofficial marauder!

    6
    1
    0 Votes
    6 Posts
    4k Views
    S
    @ajb2k3 i've tried #include "M5StickCPlus2.h" void setup() { auto cfg = M5.config(); StickCP2.begin(cfg); StickCP2.Display.setRotation(1); StickCP2.Display.setTextColor(RED); StickCP2.Display.setTextDatum(middle_center); StickCP2.Display.setTextFont(&fonts::Orbitron_Light_24); StickCP2.Display.setTextSize(1); StickCP2.Display.drawString("Power LED", StickCP2.Display.width() / 2, StickCP2.Display.height() / 2); } void loop() { // inside power red led control StickCP2.Power.setLed(1); delay(1000); StickCP2.Power.setLed(0); delay(1000); } in arduino, but the display didn't work
  • Infrared on the M5StickC+ and UIFlow, is it me or?

    5
    0 Votes
    5 Posts
    8k Views
    konacurrentsK
    @erich could you share some of your IR code? I would like to send the IR commands so my disabled brother-in-law can get the weather channel on TV. I've been coding to the ESP32 devices and have an extensive capability for MQTT messaging, support of numerous HAT's, the ATOM Socket, driving stepper motor, OTA updates and BLE. But I've never done any of the IR work. It seems if I can get the right codes it would be easy to send a message (via MQTT) to trigger doing just that (even from a motion sensor or QR code). I assume I need to receive the IR first, and then play them back. Any help would be appreciated. thanks, scott
  • M5stickc plus2 and Tft_espi problem.

    13
    0 Votes
    13 Posts
    10k Views
    felmueF
    Hello @Kazik SPI bus can handle multiple (slave) devices. Each has its own CS. See here. That said, if the SD card it the only slave device it's ok to connect its CS directly to GND. If you want to use a GPIO for CS then yes, set it to LOW. Thanks Felix
  • Mixing M5Atom.h and M5StickCPlus.h

    6
    0 Votes
    6 Posts
    5k Views
    konacurrentsK
    @konacurrents @frameworklabs I'm now onto getting the M5Core2 to work with my existing infrastructure. Looking at the M5United, I cannot see how that would be used (as the readme doesn't have a Core2 define). It sure seems that the M5 code provided by M5Stack and others shouldn't reuse the M5 class name. Instead they should have say M5Core2 instead of M5, and M5Core2Display not M5Display. Sure it works for the standalone programs, but trying to merge code would need something like your M5United. Looking under the covers of say M5Core2's M5 class, they include their own Lcd (for example) which isn't compatible with other Lcd's. As I mentioned in the previous post, for the ATOM pulling over the LED was relatively easy. But for the M5Core2 there is a lot of code that overlaps with the M5 base (starting with M5Display). eg. M5Display.h is defined 3 places (and I use the M5StickCPlus in my main code base). ./libraries/M5Core2/src/M5Display.h ./libraries/M5StickCPlus/src/M5Display.h ./libraries/M5Stack/src/M5Display.h I'll look more at M5United and if you can point to getting their M5DIsplay working that would help. thanks
  • IR(NEC) address [] data [] what are the expected values?

    2
    0 Votes
    2 Posts
    3k Views
    D
    Hi I tried many times with the IR unit and uiflow, I think the uiflow can do nothing with IR unit. What I get is the IR unit can only receive what it send out, you can write some very simple python codes to validate this, if you have connected the controller with serial, ir_0 = unit.get(unit.IR_NEC, unit.PORTA) ir_0.rx_cb(lambda d,a,c: print("recv:",d,a,c)) # same with ir.tx(123,456) ir_0.tx(123,456) You should get the output something like that, "recv: 255 123 0", you can try to hide the transmitter or receiver light for a while if you don't get the "recv", and try another times. I think the implementation for rx_cb is quiet simple and it can not be used for parse the output of any remotes, I'm trying to learn something Arduino or the .Net, don't touch uiflow any more.
  • Multiple small Python

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • m5 stick c plus problem

    2
    0 Votes
    2 Posts
    2k Views
    robskiR
    is it hapenning on your project or on factory demo too?
  • How do I find my m5 stickc api key?

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    The M5StickC Will display it on the screen once you wipe and burn the latest UIFLow firmware
  • Help m5sticcplus screen

    3
    1
    1 Votes
    3 Posts
    3k Views
    N
    @gcanko said in Help m5sticcplus screen: have the same issue just after burning the image for the first time how did you solve this problem?
  • Noisy M5StickC speaker hat

    3
    0 Votes
    3 Posts
    3k Views
    Matej's WorkshopM
    @emmeci I think that the SPK hat only supports beeping.