🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • ATOMFLY Community Project Collection: How to fly the ATOMFLY?

    30
    0 Votes
    30 Posts
    117k Views
    ajb2k3A
    @t66 I wan't one but now that we can control a DJI mini drone, they are so much nicer to control then the atomfly.
  • M5.BtnA.wasPressed() conflicts with WiFi

    2
    0 Votes
    2 Posts
    6k Views
    M
    Countermeasure: Turn on the ADC Power of GPIO39. #include <driver/adc.h> void setup(){ adc_power_acquire(); // ADC Power ON The countermeasures have been clarified by the investigation and analysis of Mr. nao *. https://twitter.com/mikasa231/status/1403576681701335044 We would like to thank Mr. nao * for his efforts. ded it to my blog. Postscript: 2021.06.13 ButtonA on M5Stack does not work properly https://macsbug.wordpress.com/2021/05/02/buttona-on-m5stack-does-not-work-properly/
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • I would like to send a PPM with M5 stack Fire

    9
    0 Votes
    9 Posts
    15k Views
    ?
    @amn HI found this code: (how to adapt with potentiometre for the lenght of pulse , ?) //////////////////////CONFIGURATION/////////////////////////////// #define chanel_number 1 //set the number of chanels #define default_servo_value 1500 //set the default servo value #define PPM_FrLen 22500 //set the PPM frame length in microseconds (1ms = 1000µs) #define PPM_PulseLen 300 //set the pulse length #define onState 1 //set polarity: 1 is positive, 0 is negative #define sigPin 36 //set 10 PPM signal pin on the arduino /this array holds the servo values for the ppm signal change theese values in your code (usually servo values are between 1000 and 2000)/ int ppm[chanel_number]; void setup(){ // Initialize the M5Stack object M5.begin(); /* Power chip connected to gpio21, gpio22, I2C device Set battery charging voltage and current If used battery, please call this function in your project */ M5.Power.begin(); M5.Lcd.fillScreen(BLACK); M5.Lcd.setTextColor(GREEN , BLACK); M5.Lcd.setTextSize(2); //initiallize default ppm values for(int i=0; i<chanel_number; i++){ ppm[i]= default_servo_value; } pinMode(sigPin, OUTPUT); digitalWrite(sigPin, !onState); //set the PPM signal pin to the default state (off) } void loop(){ //put main code here ppmWrite(); } void ppmWrite(){ //generate PPM signal static unsigned long lastFrLen; static unsigned long lastServo; static unsigned long lastPulse; static boolean PPM_run; static boolean pulse; static boolean pulseStart = true; static byte counter; static byte part = true; if(micros() - lastFrLen >= PPM_FrLen){ //start PPM signal after PPM_FrLen has passed lastFrLen = micros(); PPM_run = true; } if(counter >= chanel_number){ PPM_run = false; counter = 0; pulse = true; //put out the last pulse } if(PPM_run){ if (part){ //put out the pulse pulse = true; part = false; lastServo = micros(); } else{ //wait till servo signal time (values from the ppm array) has passed if(micros() - lastServo >= ppm[counter]){ counter++; //do the next channel part = true; } } } if(pulse){ if(pulseStart == true){ //start the pulse digitalWrite(sigPin, onState); pulseStart = false; lastPulse = micros(); } else{ //will wait till PPM_PulseLen has passed and finish the pulse if(micros() - lastPulse >= PPM_PulseLen){ digitalWrite(sigPin, !onState); pulse = false; pulseStart = true; } } } }
  • ESPHome Heart Rate Display for Bluetooth Low Energy with M5Stack Core

    1
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • M5 stack bluetooth with HM10

    3
    0 Votes
    3 Posts
    6k Views
    ?
    thx I'll try later to see
  • M5atom matrix: dimmable light

    3
    1 Votes
    3 Posts
    6k Views
    K
    I have removed de fastled library, it works but the problems remain.
  • offensive security - this could be fun

    3
    0 Votes
    3 Posts
    4k Views
    R
    you can try a digispark with attiny85 onboard which can emulate a hid keyboard, but you must investigate if it can send control keys such windows, alt or combination of keys. You can program it with arduino. [image: 1621350558845-digispark.jpeg]
  • Internet Radio with Base Node

    3
    0 Votes
    3 Posts
    7k Views
    M
    @aattila Very great! arduino-esp32 version 1.0.5-rcX The compiled project will not work consistently because there is a wifi related bug and sometimes the button A (left) will receive the pushed event (many events) This problem should be cured after wifi.setSleep (False) after wifi.begin. Please refer to the following. https://macsbug.wordpress.com/2021/05/02/buttona-on-m5stack-does-not-work-properly/
  • M5.A.R.S Quad

    Moved
    1
    1
    1 Votes
    1 Posts
    3k Views
    No one has replied
  • M5StickC as rangefinder

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Web Radio of M5Stack

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Atom GPS kit hardware mod to enable sending GPS config commands

    1
    1
    2 Votes
    1 Posts
    5k Views
    No one has replied
  • Basic UIFlow Intruder alarm demo.

    1
    1
    1 Votes
    1 Posts
    3k Views
    No one has replied
  • M5StickC and ULP wakeup

    2
    0 Votes
    2 Posts
    4k Views
    felmueF
    Hello @sharek you don't need both ext0 and ext1 for the two buttons. You should be able to cover both buttons with ext1 by adding both to the bitmask: #define BUTTON_PIN_BITMASK ((1UL << 37) | (1UL << 39)) Thanks Felix
  • 1 Votes
    2 Posts
    6k Views
    ajb2k3A
    Thank you for your hard work.
  • M5stick c cplus memory game with joystick hat

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • M5atom web radios

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Sudoku app for M5Paper

    7
    1 Votes
    7 Posts
    14k Views
    E
    I've been trying to get this to compile/install using the Arduino IDE and i'm not getting anywhere... Once installed, the M5Paper just continuously reboots, flashing the screen on and off. Watching the serial monitor I see this repeated on each reboot... Any suggestions? Rebooting... M5EPD initializing...OK Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x400d7c9f PS : 0x00060330 A0 : 0x800d48ea A1 : 0x3ffb1f10 A2 : 0x3ffc19a0 A3 : 0x00000000 A4 : 0xffffffff A5 : 0x3ffc1a78 A6 : 0x0001fa40 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffb1ee0 A10 : 0x00000000 A11 : 0x00000000 A12 : 0x00000000 A13 : 0x000003c0 A14 : 0x0000021c A15 : 0x3f407a74 SAR : 0x00000011 EXCCAUSE: 0x0000001c EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff Backtrace: 0x400d7c9f:0x3ffb1f10 0x400d48e7:0x3ffb1f40 0x400d5d7e:0x3ffb1f90 0x400e174b:0x3ffb1fb0 0x40088dbd:0x3ffb1fd0
  • BALA2 Remote Control

    bala2 remote
    3
    0 Votes
    3 Posts
    5k Views
    D
    can you please send code to dhalse@gmail.com