Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. wwhite
    3. Posts
    W
    • Continue chat with wwhite
    • Start new chat with wwhite
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by wwhite

    • Low level neopixel functions with HEX RGB Board question.

      Does anyone have an example using low level neopixel functions. I've tried this with the HEX RGB Board with no luck:

      import esp

      I'm not sure what goes in grb_buy I took a guess.

      grb_buf = [0] = 0
      grb_buf = [1] = 255
      grb_buf = [2] = 0
      esp.neopixel_write(26, grb_buf, is80khz)

      posted in General
      W
      wwhite
    • RE: Latest Firmware for Atom Lite

      I wanted to try this CircuitPython https://circuitpython.org/board/m5stack_atom_lite/

      or

      v1.9.1 from here https://micropython.org/download/M5STACK_ATOM/

      Thanks for responding.

      posted in Atom
      W
      wwhite
    • Latest Firmware for Atom Lite

      Does the Atom Lite come with the latest firmware installed or is there a newer version than Micropython-1.12? I found some firmware on the MicroPython site but when I load it everything appears to go as expected but then I can't reach my Atom Lite via VSCode afterwards. I can put everything back using M5Burner but wanted the newer firmware. Has anyone else trien to update the firmware and if so where did you find it and what version did you use? Thanks in advance.

      Here are the results of my attemp showing no errors:

      python -m esptool --chip esp32 --port COM11 write_flash -z 0x1000 M5STACK_ATOM-20220618-v1.19.1.bin
      esptool.py v3.2
      Serial port COM11
      Connecting....
      Chip is ESP32-PICO-D4 (revision 1)
      Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
      Crystal is 40MHz
      MAC: 4c:75:25:d7:8e:90
      Uploading stub...
      Running stub...
      Stub running...
      Configuring flash size...
      Flash will be erased from 0x00001000 to 0x0017cfff...
      Compressed 1554752 bytes to 1026054...
      Wrote 1554752 bytes (1026054 compressed) at 0x00001000 in 93.4 seconds (effective 133.1 kbit/s)...
      Hash of data verified.

      Leaving...
      Hard resetting via RTS pin...

      posted in Atom
      W
      wwhite
    • RE: I'm looking for an example using the Atom Lite with the HEX

      Ok, I got the HEX RGB LED to work with the Atom Lite. Using the code below everything works as expected but there is an occasional stray LED lighting up in a completely different color. Does anyone know what might be causing that?

      from neopixel import NeoPixel
      from machine import Pin
      from time import sleep

      np = NeoPixel(Pin(26), 37)
      n = 0
      while True:
      np[n] = (0, 0, 0)
      if n < 36:
      n += 1
      else:
      n = 0
      np[n] = (10, 0, 0)
      np.write()
      sleep(0.2)

      posted in General
      W
      wwhite
    • RE: What is the best Dupont cable size to use with ESP32 Core and Core 2 controllers?

      Thanks folks.

      posted in General
      W
      wwhite
    • I'm looking for an example using the Atom Lite with the HEX

      Does anyone know where I can find an example using the Atom Lite with the HEX?

      https://docs.m5stack.com/en/unit/hex

      Thanks in advance,

      WW

      posted in General
      W
      wwhite
    • What is the best Dupont cable size to use with ESP32 Core and Core 2 controllers?

      I noticed when searching Google most Dupont cables are 2.54mm is this the best size for a snug connection on the various M5Stack controllers?

      posted in General
      W
      wwhite
    • RE: Is the Grove port on the M5Stack Basic Core digital or analog?

      Thanks #teastain that works!

      I simply changed ADXL345 accel(ADXL345_STD) to ADXL345 accel(ADXL345_ALT) in example code ReadXYZ.ino.

      Thanks again.

      posted in General
      W
      wwhite
    • RE: Is the Grove port on the M5Stack Basic Core digital or analog?

      Thanks ajb2k3. I have established that I have an I2C device at address 0x53. The device is a Seeed Studio101020054 Grove - 3-Axis Digital Accelerometer. Now how do I read a value from that address?

      Thanks again.

      posted in General
      W
      wwhite
    • Is the Grove port on the M5Stack Basic Core digital or analog?

      I'm trying to connect this Seeed Studio button but not having any luck https://www.seeedstudio.com/Grove-Button.html.

      Here is the code:

      #include <M5Stack.h>

      int last_value = 0;
      int cur_value = 0;

      void setup() {
      M5.begin(); // Init M5Stack.
      M5.Power.begin(); // Init power.
      pinMode(21, INPUT); // set pin mode to input.
      M5.Lcd.setTextColor(YELLOW); // Set the font color to yellow.
      M5.Lcd.setTextSize(2); // Setting the Font size.
      M5.Lcd.setCursor(80, 0); // Set the cursor position to (80,0).
      M5.Lcd.println("Button example");
      M5.Lcd.setTextColor(WHITE);
      }

      void loop() {
      cur_value = digitalRead(21); // read the value of BUTTON.
      M5.Lcd.setCursor(80, 25);
      M5.Lcd.print("Button");
      M5.Lcd.setCursor(0, 45);
      M5.Lcd.print("Value: ");
      M5.Lcd.setCursor(0, 85);
      M5.Lcd.print("State: ");
      if (cur_value != last_value) {
      M5.Lcd.fillRect(85, 45, 75, 85, BLACK); // Draw a black rectangle 75 by 85 at (85,45).
      if (cur_value == 0) {
      M5.Lcd.setCursor(95, 45);
      M5.Lcd.print("0"); // display the status
      M5.Lcd.setCursor(95, 85);
      M5.Lcd.print("pre");
      } else {
      M5.Lcd.setCursor(95, 45);
      M5.Lcd.print("1"); // display the status
      M5.Lcd.setCursor(95, 85);
      M5.Lcd.print("rel");
      }
      last_value = cur_value;
      }
      }

      Thanks in advance.

      posted in General
      W
      wwhite
    • RE: Is my M5Core dead the LCD display is blank? I can erase it burn to it with M5Burner.

      Thanks for responding ajb2k3. I'm certain it's the M5Core version I'm installing. I wrote to M5Stack for information regard a replacement and what the cost would be.

      posted in General
      W
      wwhite
    • Is my M5Core dead the LCD display is blank? I can erase it burn to it with M5Burner.

      I have a M5Core version 2.4 which has nothing on the display. I can see the backlight come on but that's it. This is an older device but I've never used it before as I purchased multiple units. I can see it on the com port and communicate with it via M5Burner. I've erased it and tried different version of UIFlow to no avail. Does anyone have any ideas or is it dead? Thanks in advance.

      posted in General
      W
      wwhite
    • Why are timer camera F pictures taken mirrored?

      Why are timer camera F pictures taken mirrored? What's on the left side of the picture is what should be on the right side. It's as if taking a selfie in the mirror. I'm using the TimerFolderPusher v1.2 burned via M5Burner. Thanks in advance.

      posted in General
      W
      wwhite
    • RE: M5 Core turns off after a few minutes using Base AAA Battery Holder

      Thanks for responding Felix,

      I'm using a M5Stack.
      The red light on the AAA battery holder stays lit when the app stops.
      My program calls an api on the internet and displays 8 lines of text.
      The app will run nonstop when using USB power and perform as intended.

      WW

      posted in General
      W
      wwhite
    • M5 Core turns off after a few minutes using Base AAA Battery Holder

      My M5 Core turns off after a few minutes using Base AAA Battery Holder. I have to press the power button to turn it on again. Is there some sort of power management taking place behind the scenes? Has anyone experienced this issue?

      posted in General
      W
      wwhite
    • RE: Can I connect the Unit LoRaWAN915 to an ATOMIC GPS Module?

      @felmue I purchased a M5Stack LoRaWan 915mhz device and connected it to the Atom and was able to connect and send data to the Helium network https://www.helium.com/ now I need to see if I can get it going with the GPS too.

      posted in Atom
      W
      wwhite
    • RE: Can I connect the Unit LoRaWAN915 to an ATOMIC GPS Module?

      @felmue Thanks for the input. I wasn't sure what could be connected to the Grove port and didn't want to just plug in the LoRaWAN module and damage the Atom. I'm going to give it a go. Thanks again.

      posted in Atom
      W
      wwhite
    • Can I connect the Unit LoRaWAN915 to an ATOMIC GPS Module?

      I have an ATOMIC SPS device and would like to connect the Unit LoRaWAN915 to it. Is that possible and has anyone had any luck doing it?

      posted in Atom
      W
      wwhite
    • TimerCam Token "Error Get token failed. Check your network status and retry.."

      How do I get a token to use with the TimerCam example? I've tried countless times and always get the message "Error: Get token failed. Check your network status and retry.." Obviously my network is fine because I'm posting this question.

      Thanks in advance.

      posted in PRODUCTS
      W
      wwhite
    • Cannot connect to Timer Camera F in UIFlow but works fine with Arduino code?

      I'm unable to connect to my Timer Camera F using UIFlow. I get the message "Upload code failed maybe your device is offline. Check it and try again. I can connect and upload code in the Arduino editor using the same com port. Thoughts?

      posted in PRODUCTS
      W
      wwhite