🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • When are we going to get new Firmware?

    13
    0 Votes
    13 Posts
    20k Views
    lukasmaximusL
    In the REPL of any program you need to hit ctrl + c to kill any running processes in order to get to a command prompt
  • Mu Editor

    4
    0 Votes
    4 Posts
    8k Views
    lukasmaximusL
    very nice fix @tehnolog it worked with my newer stickC but not the older one, M5atom also couldn't be recognised but they should be using the same chip i thought
  • M5StickC and ENV II Unit?(SOLVED)

    2
    0 Votes
    2 Posts
    4k Views
    D
    It seems I've answered my own question. By switching over to the "beta" version of UIFlow, it appears that ENV II is available, so will be supported in upcoming versions. Mark it closed!
  • Custom EasyLoader

    6
    1 Votes
    6 Posts
    14k Views
    m5stackM
    for the time being. Easyloader package project file is not open source
  • M5stick power issues when disconnected

    2
    0 Votes
    2 Posts
    3k Views
    D
    @giulio can you describe the problem? Does the stick fail immediately when you disconnect? If not, can you check battery voltage and flow?
  • M5StickC-IOT and UIFlow Desktop IDE can't follow reference document.

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How do I use L298N motor driver with M5StickC

    3
    0 Votes
    3 Posts
    7k Views
    liemphL
    @anuj01 Another alternative is to use the M5 official IO expander unit. https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit M5StickC has an I2C grove port, and you can connect this unit to it. I have tested and it works. Good luck.
  • HAT-YUN problems

    2
    0 Votes
    2 Posts
    3k Views
    R
    I've had more of a play, and it seems that it is an issue with one of my M5Stick devices, the YUN works fine with others. I'd still like to know what is wrong though, the device that is not working is brand new.
  • Max 5v current out

    5
    0 Votes
    5 Posts
    13k Views
    ajb2k3A
    @klimbot said in Max 5v current out: Hi, I'm looking to make my own hat for my M5StickC and was looking to find the max current out available at 5v. Any ideas? Thanks. Depending on what kind of hat you are designing, you could design it so that it directly powers you device and supplies power to the stick instead of the stick supply the power.
  • Hard reset

    5
    0 Votes
    5 Posts
    18k Views
    R
    I noticed that when pressing the ctrl-d key combination in REPL micropython it stops / blocks displaying the message Cpu Halted. And the only reset option is to physically disconnect the power supply (in the case of m5atom)
  • IR LED

    7
    0 Votes
    7 Posts
    14k Views
    T
    I understand and thanks for your time, i used to program in arduino and i liked how ui flow is and was wondering why there is no code for it.
  • M5Stick IMU Yaw Readings Off

    core
    4
    1
    0 Votes
    4 Posts
    14k Views
    hagueH
    I have achieved quite good results with the Seeed Studio Grove 3-Axis Digital Compass V2. https://wiki.seeedstudio.com/Grove-3-Axis_Digitial_Compass_v2.0/
  • M5StickC and 18650C endurance

    29
    0 Votes
    29 Posts
    107k Views
    K
    @Pepsi Thanks, I could not find the call to decrease the speed. Not very much, but it helps.
  • Using a API to send out a SMS

    3
    0 Votes
    3 Posts
    5k Views
    R
    Me and a friend of mine figured out how to do a HTTP post with parameters in micropython. Me used it for sending SMS, but it can be modified to anything else. https://forum.m5stack.com/topic/1902/http-post-from-arduino-esp8266-esp32-how-to-send-parameters-x-www-form-urlencoded-using-micropython/3
  • 0 Votes
    3 Posts
    8k Views
    R
    My friend and colleague programmed this.. https://github.com/46elks/46elks-getting-started/blob/master/code-examples/MicroPython/https_post_with_micropython.py If you would like to use 46elks Telco API mentioned in the code, register here and contact us at help@46elks.com for help. # Rudimentary HTTPS POST request using MicroPython without any dependencies. # Supports Basic Auth and encodes data as x-www-form-urlencoded. # # Written by Johannes Ridderstedt <johannesl@46elks.com> # This code is public domain. Use freely. from ubinascii import b2a_base64 import usocket import ussl # API credidentials username = 'u2c11ef65b429a8e16ccb1f960d02c734' password = 'C0ACCEEC0FAFE879189DD5D57F6EC348' def quote( value ): l = [] for ch in value.encode( 'utf-8' ): if ch == b' ': l.append( b'+' ) elif ch > 32 and ch < 128 and ch not in b'?=': l.append( b'%c' % ch ) else: l.append( b'%%%02X' % ch ) return b''.join( l ) def api_post( path, data ): info = usocket.getaddrinfo( 'api.46elks.com', 443 ) ip = info[0][-1] args = [] for key in data: args.append( quote( key ) + '=' + quote( data[key] ) ) content = b'&'.join( args ) lines = [ b'POST /a1/%s HTTP/1.0' % path, b'Authorization: Basic %s' % b2a_base64( username + ':' + password )[:-1], b'Content-type: application/x-www-form-urlencoded', b'Content-Length: %d' % len( content ), b'', content ] conn = usocket.socket() conn.connect( ip ) conn = ussl.wrap_socket( conn ) conn.write( b'\r\n'.join( lines ) ) print( conn.read(4096).decode('utf-8') ) conn.close() sms = { 'to': '+46704508449', 'from': 'MicroPython', 'message': 'Hello from MicroPython!' } api_post( '/sms', sms )
  • UI Flow Text encode/decode

    2
    0 Votes
    2 Posts
    6k Views
    lukasmaximusL
    Its used for encoding and decoding unicode strings https://docs.python.org/3/howto/unicode.html
  • PowerC I2C and power switch

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    There are quite a few pin outs for pin A as its a groove i2c port. From power button side White - SCl Yellow - SDA Red - 5V Black - GND Please note that there are some cables with the white and yellow wires switched.
  • Env Hat Compass

    6
    0 Votes
    6 Posts
    9k Views
    ajb2k3A
    @liemph it looks like the compass side has not been enabled yet in UIFlow
  • Initiate an action with Button A or B

    3
    0 Votes
    3 Posts
    6k Views
    R
    Thanks for the reply Found the tutorial too! http://forum.m5stack.com/topic/42/lesson-2-buttons-menu
  • Connecting and using LimeSDR Mini?

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied