🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • 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
    5k 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
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Micropython simultaneous ptt record n play wav

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • How to use RTC in Arduino IDE ?

    2
    0 Votes
    2 Posts
    9k Views
    J
    Try using this code from this link to add to your M5stack Digital Clock example. https://github.com/adafruit/RTClib/blob/master/examples/ds3231/ds3231.ino you need to install the RTClib master library to make it work.
  • Send Email Alerts upon event

    3
    0 Votes
    3 Posts
    8k Views
    world101W
    @millerman I would recommend using Blynk. It has email and push notifications built into their platform and should be pretty easy to do using the Arduino IDE. https://www.blynk.cc
  • M5camera Projects?

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • M5Stack fire gyro mpu6050

    3
    0 Votes
    3 Posts
    10k Views
    I
    Ok, it seems that the problem was due to my version of ESP32 tools. I updated my ESP32 framework and now the code is working fine. Also, I used PlatformIO in VSCode which make things simpler since it enables the M5STACK_FIRE flag during compilation.
  • Serial2 Don't compile

    9
    0 Votes
    9 Posts
    22k Views
    A
    @nnn 在 Serial2 Don't compile 中说: HardwareSerial Serial2_(2) Thanks That worked for me David Ardis
  • Arduino M5Stack Camera.

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Anyone tried MySQL_Connector?

    3
    0 Votes
    3 Posts
    9k Views
    T
    Thanks for the tip. Will do!
  • Scrolling / m5.lcd.readRect()

    2
    0 Votes
    2 Posts
    10k Views
    K
    Hi I'm having the same problem with the M5Stack/Advanced/Display/TFT_Screen_Capture example just get white screen captures (0xFFFF for any pixel ) Keith
  • Visual keyboard

    3
    0 Votes
    3 Posts
    9k Views
    C
    @julian Exactly what I need, many thanks
  • M5stack Flow Ui "offline" problem.

    3
    0 Votes
    3 Posts
    9k Views
    F
    Thanks a lot Osmar.
  • GUI for M5stack(micropython)

    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Portal sentry gun?

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