🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • Tools: ampy reloaded

    2
    0 Votes
    2 Posts
    7k Views
    F
    there is a small mistake in the last commands: ampy put boot.py that is ampy put {{local_file_path}} # implicit remote path and name with json and the JSON-File
  • PIN number and shields

    12
    0 Votes
    12 Posts
    39k Views
    ajb2k3A
    @farmeuhly said in PIN number and shields: Hello, happy new year ! I'm back on my tests... I have a lot of problems. 1 : problem for uploading sketch on the board, i should remove the "bottom" of the m5stack and bush the boot button for it to work ! And sometimes it fails anyway... 2 : I tried to stop the pins on the "bottom" with the sketch "blink" and those that work are : 0, 2, 3, 5, 12, 13, 15, 16, 17, 19, 21, 22, 26 The others (1, 18, 23, 25, 34, 35, 36) doesn't work. 3 : I don't understand why the same simple sketch work fine on arduino uno board and don't work on the m5stack. I put the #include <M5Stack.h>, m5.begin(), m5.update... But i have the impression that the selected pins don't work. What i'm doing wrong ? Because the esp32 and the mega328p do not have the same pins. The AtMegas have defined pins but the esp32 uses a matrix of functions that can be assigned to each i/o pin. Check out the esp32 data sheet for these functions.
  • Connect to WI-FI on startup from custom app in APP.LIST

    2
    0 Votes
    2 Posts
    6k Views
    S
    I solved this problem: from m5stack import * import wifisetup wifisetup.auto_connect()
  • Camera compile help please

    9
    0 Votes
    9 Posts
    18k Views
    lukasmaximusL
    Glad it worked, Merry christmas bud :p
  • save some variables into sd card

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • arduino espnow.h

    7
    0 Votes
    7 Posts
    20k Views
    ajb2k3A
    @cepics said in arduino espnow.h: @yalezy tnks but trying to add zip library, arduino IDE 1.8.7 say: Specified folder/zip file does not contain a valid library Confirmed, I'm getting the same error. .h and .c files need to be a folder named src
  • M5 POWER BANK with IP5108

    6
    1 Votes
    6 Posts
    26k Views
    E
    @jikuch Hi, can you tell me: if I change something in ip5108 through i2c (for example disable auto-standby), will this changers be saved, or i must make this changes (with software) each time when i start device?
  • Add custom app to firmware APP.LIST

    4
    0 Votes
    4 Posts
    9k Views
    world101W
    Excellent. Thank you!
  • esp8266 to m5stack wifi communication

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • On Screen "full size" qwerty keyboard

    4
    1 Votes
    4 Posts
    10k Views
    RopR
    It's all a matter of taste I guess. Three buttons just aren't that many, I prefer to use as few keypresses as possible. Nobody is going to write their thesis on it: it's for WLAN passwords and the like.
  • I need help with a webserver project...

    25
    0 Votes
    25 Posts
    101k Views
    C
    Thanks for your help, I'll try to follow your directions in the following days.
  • PWM brightness meter

    2
    0 Votes
    2 Posts
    7k Views
    lukasmaximusL
    Very cool Sergey. Thanks for sharing
  • Usb host capability + power supply

    1
    1 Votes
    1 Posts
    3k Views
    No one has replied
  • Connect Bluetooth HID (Keyboard/RFID)

    1
    1 Votes
    1 Posts
    5k Views
    No one has replied
  • M5Fire and MLX90640 works

    10
    0 Votes
    10 Posts
    21k Views
    ajb2k3A
    @lastcaress 在 M5Fire and MLX90640 works 中说: The code was compiling, it just didn't do anything when I connected the camera. Tried m5 core, fire and nothing. Tried today with m5go and it worked! [image: a7NXJWg.jpg] I think i have too many m5stack things thats quite a collection you have there.
  • Photography Turntable test run using M5Core.

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Neopixel running on M5 Camera

    1
    1 Votes
    1 Posts
    4k Views
    No one has replied
  • External MPU6050 working with the M5Camera.

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Acessing the MAG-3110 on the M5STACK FIRE

    3
    0 Votes
    3 Posts
    6k Views
    A
    Hey Lukas, This won't work. The mpu9250 module expects to find an MPU6500 accelerometer so even instantiating an mpu9250 object will fail during init(). Even if I remove the part of the code that checks for the MPU6500, instantiation will still fail when it attempts to initialize the magnetometer by writing to one of it's registers.
  • pneumatic seeder

    4
    0 Votes
    4 Posts
    10k Views
    F
    Hello again, i've made a sketch on arduino ide to control a nema 17 stepper motor with the shield L298N here is the sketch : /* Controle de moteur pas à pas avec un L298N Le moteur est connecté sur les broches 2,3,4 et 5 de l'Arduino Le fil de masse (GND) est commun aux 2 platines. */ #include <Stepper.h> const int NbPasParTour = 200; // Nombre de pas pour 360 degres Stepper Moteur1(NbPasParTour, 2, 3, 4, 5); // Initialise le moteur sur les broches 2 à 5 void setup() { Moteur1.setSpeed(60); //Vitesse de rotation du moteur Serial.begin(9600); //Initialise le moniteur série } void loop() { Serial.println("Sens horaire"); //On fait 1 tour en sens horaire Moteur1.step(NbPasParTour); delay(1000); //Pause 1 seconde Serial.println("Sens anti-horaire"); //On fait 1 tour en sens anti-horaire Moteur1.step(-NbPasParTour); delay(1000); //Pause 1 seconde } It's work fine ! But when i try on the m5, on the PIN 3, 1, 16, 17 with this sketch, the motor only vibrate : /* Controle de moteur pas à pas avec un L298N Le moteur est connecté sur les broches 3, 1, 16, 17 du m5 Le fil de masse (GND) est commun aux 2 platines. */ #include <M5Stack.h> #include <Stepper.h> const int NbPasParTour = 200; // Nombre de pas pour 360 degres Stepper Moteur1(NbPasParTour, 3, 1, 16, 17); // Initialise le moteur sur les broches void setup() { Moteur1.setSpeed(100); //Vitesse de rotation du moteur m5.begin(); M5.Lcd.setBrightness(200); M5.Lcd.setTextColor(0xffff); M5.Lcd.setTextSize(3); M5.Lcd.setCursor(50, 20); M5.Lcd.print("M5 Seeder"); } void loop() { M5.Lcd.setTextColor(0x7bef); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(55, 60); M5.Lcd.print("Sens horaire"); Moteur1.step(NbPasParTour*2); delay(1000); //Pause 1 seconde M5.Lcd.setTextColor(0x7bef); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(55, 60); M5.Lcd.print("Sens anti-horaire"); Moteur1.step(-NbPasParTour); delay(1000); //Pause 1 seconde m5.update(); } Any idea ? thank you