🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • M5 CoreS3 problems

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    No, The ESP32S3 does indeed have 2 com ports but you have to put the Core S3 into Boot mode to program it. https://youtu.be/2K4hHGtskAU In most cases it's the USB cable or the Host PC that is the problem. Windows has issues with its come port communications with S3's. huh, what, All firmware is available in M5Burner unless you made it yourself then you should be backing up your own files. Never heard of CoreS3 TP Upgrade V0.5.exe M5Burner is the program for burning firmware.
  • UnitV use it as a Camera and show it on Remote+

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • M5stack Grey dead

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    @rafciuk When the connecting screen appears, Hold the reset button in for around 5 seconds. it takes some practice but the grey is not dead just soft bricked. Another option is to try using arduino to upload a blank sketch before trying M5Burner again. I have accidentally uploaded the wrong firmware before and had to reset in the above manner. The device is not dead it just that the core and core2 use different screens and so you cant see what it is doing.
  • COM not found

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Have you installed the usb driver for the S3 based devices?
  • Driver Installation on Ubuntu

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • IP5306 automatic standby

    20
    0 Votes
    20 Posts
    94k Views
    F
    @vshymanskyy please, could you send schematic of IP56306 I2C connection? I try to connect to my (which should have I2C) - but she doesn't reply. I use external microcontroller with external supply. Also I connect SCL to 2nd and SDA to 3st pin pin of IP5306. IP5306 powered from li-ion battery.
  • UnitV Can it recognize the type of plant?

    3
    0 Votes
    3 Posts
    3k Views
    ajb2k3A
    As @holofloh has already said. It should be possible but will depend on the training data you feed to the image recognition model. In theory the model needs 50+ photos of each plant you want it to recognise in order to build the training model.
  • POECAM and PIR sensor

    5
    0 Votes
    5 Posts
    6k Views
    N
    HI @felmue , Thankyou for your reply :) I had already striped the LCD code its the M5Stack header (and includes) itself that doesn't want to compile. The only samples that compile are the factory test and Ethernet stream which leads me to believe their isn't a board specific header as such. digging through the platform library there is a pin_header #ifndef Pins_Arduino_h #define Pins_Arduino_h #include <stdint.h> #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 #define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) static const uint8_t TX = 1; static const uint8_t RX = 3; static const uint8_t SDA = 25; static const uint8_t SCL = 33; static const uint8_t G23 = 23; static const uint8_t G25 = 25; static const uint8_t G27 = 27; static const uint8_t G22 = 22; static const uint8_t G26 = 26; static const uint8_t G21 = 21; static const uint8_t G32 = 32; static const uint8_t G35 = 35; static const uint8_t G34 = 34; static const uint8_t G5 = 5; static const uint8_t G39 = 39; static const uint8_t G18 = 18; static const uint8_t G36 = 36; static const uint8_t G19 = 19; static const uint8_t G15 = 15; static const uint8_t G2 = 2; static const uint8_t G33 = 33; static const uint8_t G13 = 13; static const uint8_t G4 = 4; static const uint8_t G0 = 0; static const uint8_t DAC1 = 25; static const uint8_t DAC2 = 26; static const uint8_t ADC1 = 35; static const uint8_t ADC2 = 36; #endif /* Pins_Arduino_h */ which of course is one of the many reasons why the example library doesn't compile,my device simply has different pins. In the factory test I see the references to UART Ext_PIN_1 and Ext_PIN_2 : Serial.println("UART INIT"); uart_init(Ext_PIN_1, Ext_PIN_2); which is defiend in timer_cam_config.h #define Ext_PIN_1 33 #define Ext_PIN_2 25 So lets strip off the header and run it with the pure Arduino. #include <Arduino.h> void setup() { pinMode(33, INPUT_PULLUP); Serial.begin(115200); } void loop() { Serial.println(digitalRead(33)); delay(1000); } It works but only if I set the board to M5Stack-Timer-CAM. Additionally the Ethernet-Stream example needs the network.h header lines 16-17 altered as below else it will not compile static ip4_addr_t ip_addr; // For platform = espressif32@ ^3.5.0 //static esp_ip4_addr_t ip_addr; // For platform = espressif32@ ^5.1.0 I will post this in the modules forum for other users trying to build the examples, apologies for putting this in FAQ (it was late/early)
  • 0 Votes
    5 Posts
    8k Views
    teastainT
    @gunnm I do not have any experience with ESPHOME, I use Arduino and write directly with C, C++! The PaHub (named after the 'Grove port A' I2C port in the M5Stack system) is an i2c expander. So if you have a bunch of i2c devices they can be plugged in and "polled" and read over a single i2c connection. The devices can even have the same i2c address, like having two ENV sensors, without conflict. Works very well. 'Polled' is where sensors are read one at a time and their value 'at that moment' is read and transmitted to the Atom The PbHub (also polled) on the other hand connects to your controller the same way, i2c, but hosts almost any 'discrete' sensor like a switch or a lamp (GPIO, PWM, Servo control, ADC sampling, RGB light control) but remember that it has to squish the signals of all those devices into one i2c channel, so some very high speed devices may jitter. Very short signals such as an encoder blip could be missed altogether, periodically. -Terry
  • Programmer wanted for ESPhome integration

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Don't know what to use

    31
    0 Votes
    31 Posts
    70k Views
    J
    Hello @ajb2k3 I took a look on your UIFlow handbook for some examples on serial communication. I found this: [image: 1680074761199-101c0ef1-393b-4e13-9081-d0d4be3f153c-image.png] It seems the code is almost the same than the one generated for me by UIFlow. The imported libraries are the same than the ones I have in my code: from m5stack import from m5ui import from uiflow import On the example provided by my reader's provider; they import this library: " #include <SoftwareSerial.h>" https://wiki.seeedstudio.com/Grove-125KHz_RFID_Reader/#play-with-arduino But I think this is the implémentation for Arduino and I guess the equivalent UIFlow libraries are loaded through this: from m5stack import from m5ui import from uiflow import Do I miss something ? On my side I think the reader works because when I bring a RFID tag close to it; the status led of the reader lights up. But I still receive nothing on the M5 core RX PIN Thank you for your help Best regards
  • Scales kit reports unstable weight

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • UIFLOW variable declaration issues - need help

    7
    0 Votes
    7 Posts
    15k Views
    J
    I am still getting a "can't convert float to int" error whenever I use a variable in the by argument in the count with i from to block. If I use an integer block in by it works fine. If I set a variable to the same integer it gives me an error and if I convert to int or convert to float I get the same error. If I click on details it reads: File<'string'> line57 in <module> TypeError: can't convert float to int. This is a bummer since I need to use a variable in the by argument of the block. Any help would be appreciated [image: 1677231076819-screenshot-2023-02-24-012950-resized.png]
  • PIR motion sensor compatibility with LAN W5500 Proto Module

    2
    0 Votes
    2 Posts
    4k Views
    felmueF
    Hello @btrex not sure I understand why the LAN module removes port B. Do you mean the LAN module uses the GPIOs normally used for port B? Anyways, if you are using an M5Core2 device this module might help. And for an M5Stack device the bus module might be helpful as it exposes all pins. Thanks Felix
  • Problems writing to SD Card

    10
    0 Votes
    10 Posts
    33k Views
    P
    @stoni99 , yes, I have the same issue with my "picky" M5Stack. Samsung 64GB EVO plus XC Speedclass 3 are working fine, but I can no longer find it on Amazon. Sometimes Sundisk 32GB V30 are working, but in the next insert they refuse to work. Is it really the card or the software?
  • http requests do not resolve local dns

    5
    0 Votes
    5 Posts
    8k Views
    S
    @ajb2k3 This looks very nice, I'll try it out. Thanks for your post !
  • RFID. How to reach maximum distance?

    4
    2
    2 Votes
    4 Posts
    10k Views
    T
    Hi, About change "region": I implement the reader U107 (JRD-4035) with an USB to serial TTL UART interface (a TTL-232R-5V-PCB fron FTDI Chip) and can drive this reader with a serial terminal software as RealTerm (that supports frame of hex bytes) for simple tests (with Pyserial for a more evolved application). Then it is possible to check active "region" parameter, by send the command frame: 0xBB 0x00 0x08 0x00 0x00 0x08 0x7E. After a power On, the response is: BB 01 08 00 01 01 0B 7E corresponding to "China 900MHz" (01). We have to send the command: 0xBB 0x00 0x07 0x00 0x01 0x03 0x0B 0x7E to pass in "EU region", the reponse after the command: 0xBB 0x00 0x08 0x00 0x00 0x08 0x7E, is BB 01 08 00 01 03 0D 7E region parameter has well switched to "EU region" (03). (note: if the USB dongle is unplugged then plugged, the region parameter returns to '01') About documentation on this reader: I used this manual "https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/uhf_rfid/MagicRF M100%26QM100_Firmware_manual_cn.pdf" and "translate Google tool" (the en version of the manual is not sufficient). Best, Thierry PS: the link between U107 and the FTDI interface module is: TXD/U107 to RXD/FTDI, RXD/U107 to TXD/FTDI, 5V to VCC and GND to GND.
  • M5Paper - Flickering when updating screen

    4
    0 Votes
    4 Posts
    7k Views
    felmueF
    Hello @ajb2k3 thank you for the valuable reminder about the screen refresh rate. My above example is meant to show that it is possible to do a refresh w/o flickering even after a shutdown. Thanks Felix
  • Error : can't create thread

    3
    0 Votes
    3 Posts
    7k Views
    K
    Thank you for your message. I posted my program. I got an error in the same time several times in this program. So, I measured the sensor value every 5 seconds, but I extended it every 10 seconds. I don't know if that was good, but so far it hasn't stopped for 3days. Please let me know if there is anything else you know. [image: 1655105375821-m5_2.png]
  • 0 Votes
    2 Posts
    6k Views
    felmueF
    Hello @stackyarou it looks like the limiting factor is the MTU which by default is set to 23 bytes. I've tried to set a higher MTU on both sides using BLEDevice::setMTU(40);, but it did not help. I read somewhere that 23 bytes is the maximum for BLE 4.2 so maybe that is the reason? Thanks Felix