🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • 0 Votes
    2 Posts
    297 Views
    kurikoK
    @wwhite https://docs.m5stack.com/en/guide/realtime/openai/atomic_echo_base
  • Echo Atom and Echo Pyramid Not working with Home Assistant

    1
    0 Votes
    1 Posts
    274 Views
    No one has replied
  • 0 Votes
    2 Posts
    322 Views
    S
    @shaulliv I also tried changing the following settings: frame_buffer_count: 2 frame_buffer_location: dram and priority: 1000 lowered resolution to 320X240. and External_Clock frequency: 8MHz All without success.
  • 0 Votes
    2 Posts
    337 Views
    easytargetE
    @doop4 I'm not familiar with the M5Unified driver; but I've worked with the bmi270 and written a micropython driver for it.. Despite your pillow; you will still get a bit of bounce.. (I've spent time testing this chip, it's very hard to not get any bounce when you do this sort of test.) But, I think you are seeing the device going out of range; at which point you get weird/invalid readings. I dont see anywhere in your code setting the acceleration range; the max is +/- 16G, but it defaults to +/- 8g, which is where your readings appear to fail. I guess M5Unified has a method for setting this? Try the biggest range. Also; you can set filtering based on an average mode; the default is to average 4 readings (the sensor runs at 20MHz) but this can be set all the way up to 128. The M5Unified driver is using 'direct readings' (just like my driver), do not confuse this with 'FIFO' mode; which is an automated, IRQ triggered high-speed burst capture method. You read the dataset out from the chip buffer after the event has ended. AFIK the M5 drivers do not support this.
  • High acceleration axis cross-talk on BMI270 on AtomS3R (C126)

    1
    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • Unit CamS3 - 5MP : very limited & unusable examples

    3
    0 Votes
    3 Posts
    2k Views
    W
    @kuriko In case you're still looking for working example, I just build custom firmware and got the camera driver working. See https://github.com/hbentel/M5Stack-Unit-CamS3-5MP
  • 0 Votes
    1 Posts
    309 Views
    No one has replied
  • 0 Votes
    2 Posts
    415 Views
    felmueF
    Hello @mb M5Atom Matrix has a dedicated USB-Serial chip which is not affected by the ESP32 reset and thus is keeping the serial connection alive. In contrast the ESP32S3 inside M5AtomS3 Lite has USB built-in (and doesn't need a dedicated USB-Serial chip). The 'downside' being what you observe - resetting ESP32S3 also resets the USB connection. Thanks Felix
  • 0 Votes
    13 Posts
    8k Views
    1
    @kuriko SN: C12625050101908 [image: 1770296302451-4e9f2ec2-abb0-4f9a-897c-0ecec8711f33-image.png]
  • Made compass on atomS3R

    atoms3r compass nmea opencpn
    1
    1 Votes
    1 Posts
    489 Views
    No one has replied
  • Atom Joystick Schematic is incomplete!

    2
    0 Votes
    2 Posts
    613 Views
    H
    @Kabron What about P1 and P2? [image: 1768207531294-9c3ea450-9b4b-4402-85a2-80aa53d68031-grafik.png]
  • AtomS3U USB otg.

    atom s3
    2
    0 Votes
    2 Posts
    742 Views
    K
    I tried the following code: import os, sys, io import M5 from M5 import * from unit import KeyUnit from usb.device.keyboard import Keyboard from usb.device.hid import KeyCode keyboard = None key_0 = None def key_0_wasClicked_event(state): global keyboard, key_0 keyboard.set_keys(KeyCode.A, 0, 0, 0, 0, 0) def setup(): global keyboard, key_0 M5.begin() keyboard = Keyboard() key_0 = KeyUnit((1, 2)) key_0.setCallback(type=key_0.CB_TYPE.WAS_CLICKED, cb=key_0_wasClicked_event) def loop(): global keyboard, key_0 M5.update() key_0.tick(None) if __name__ == '__main__': try: setup() while True: loop() except (Exception, KeyboardInterrupt) as e: try: from utility import print_error_msg print_error_msg(e) except ImportError: print("please update to latest firmware") And I got the following error: Traceback (most recent call last): File "main.py", line 5, in <module> ImportError: no module named 'usb' So the usb module is not present in the firmware. Is that on purpose, or is this a bug? Is there a way to add the library?
  • M5Atom Matrix, M5Unfied, controlling leds

    3
    0 Votes
    3 Posts
    981 Views
    H
    @felmue thanks. Indeed. Leaving out m5unified does the trick. Though I haven’t read anything about an incompatibility between M5Unified and FastLed. Regards.
  • Reset IP - AtomS3 and AtomS Lite

    1
    0 Votes
    1 Posts
    369 Views
    No one has replied
  • atomS3R IMU magnetometer

    1
    0 Votes
    1 Posts
    384 Views
    No one has replied
  • AtomS3R with Atomic Echo Base Chatbot

    2
    1 Votes
    2 Posts
    723 Views
    A
    @alperkal said in AtomS3R with Atomic Echo Base Chatbot: Hi, I have the and have this set up as described on the website. All good and works as expected. But I want to modify the code and add more features: eg: only activate listening when we press the button. Now the documentation points me to a branch in this repository. https://github.com/m5stack/openai-realtime-embedded-sdk But when I build from the source and install on the device without making any change, it stops working. It looks like the version on M5Burner has more than the given driver repository. So can we get access to full source code and the missing link between the embedded sdk and the image that is installed from the m5burner? when I Install the OpenAI VOice Assistant firmware for S3R Echo Base it does nto do anything for me. just displays the OpenAI logo and that's it. the comments on the firmware also say that it mostly does not work :/ I was searching left and right to find a proper sketch or any code that I can configure myself, too!
  • 1 Votes
    1 Posts
    671 Views
    No one has replied
  • Issue with default Serial

    3
    0 Votes
    3 Posts
    2k Views
    M
    @kuriko This seems to be related to the code on the CH552T chip onboard the M5Stack Atom Lite that emulates an FTDI chip (it is not an authentic FTDI chip!!!). There are packet losses when data is being sent and received simultaneously over USB serial.
  • 0 Votes
    4 Posts
    1k Views
    felmueF
    Hello @Rusticus42 there is a solution: use a M5PbHub unit (which is an I2C unit) to read the button states of the Dual Button unit. I created an example in the UIFlow2 Project Zone: M5AtomS3_RFID_PbHub_DualButton_Test_UIFlow2.3.7 Note: I do not have an M5AtomS3R so you probably need to adapt the example. Thanks Felix
  • 0 Votes
    2 Posts
    702 Views
    kurikoK
    @alkan123 What did you mean by nothing works? This is a firmware for testing AtomS3R+Atomic Echo Base: https://drive.google.com/file/d/1WpkKjaky1qSQvfkpKsOvaeMFO-Kb1zPO/view?usp=drive_link