Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. PRODUCTS
    3. Units
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes

    Units

    • M

      GPS data from UIFLOW
      • milius

      1
      1
      Votes
      1
      Posts
      2536
      Views

      No one has replied

    • P

      Issue with RFID code
      • Permafrost67

      1
      0
      Votes
      1
      Posts
      1731
      Views

      No one has replied

    • M

      Connect units to PbHUB
      • maechler

      8
      0
      Votes
      8
      Posts
      9574
      Views

      M

      I ended up copy pasting the method from the Light unit with some slight adjustments: def pbhubAnalogRead(pbhub, pbhub_address): data = 0 max_val = 30 min_val = 750 for i in range(0, 10): newdata = 750 - pbhub.analogRead(pbhub_address) data += newdata if newdata > max_val: max_val = newdata if newdata < min_val: min_val = newdata data -= (max_val + min_val) data >>= 3 return round(max(1024 * data / 750, 0), 2) pbhub = unit.get(unit.PBHUB, unit.PORTA) light = pbhubAnalogRead(pbhub, 0x01) The magic number min_val I got by pressing my finger on the light sensor (blocking all the light from entering) and reading the analog value. The value 750 seems to be the minimum value the light sensor would emit. The number max_val I got by pointing a strong light at the sensor, it seems to be the maximum value the sensor emits. The min max values are mixed up because it measures the resistance and decreasing resistance means increasing light intensity. Using this method I get values that are somewhat similar to what I get by connecting the Light unit to PortB directly. If anyone knows how this should be done properly, please let me know!
    • SPK hat for m5 stick
      • Ariane98

      6
      0
      Votes
      6
      Posts
      6601
      Views

      @ariane98 UIFlow is always a bit strange on weekends as everyone is not at work
    • P

      [Solved] pinout - CardKB programming via ISP
      • ptrm

      3
      0
      Votes
      3
      Posts
      4998
      Views

      P

      Yay, been on the docs subdomain, missed this one. Thanks :) ~  avrdude -c usbasp -p atmega328p avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e950f (probably m328p) avrdude: safemode: Fuses OK (E:F9, H:D8, L:C2) avrdude done. Thank you.
    • G

      GPS unit with M5Stack Fire not working.
      gps m5stack fire • • gjgsmithvr

      7
      0
      Votes
      7
      Posts
      11456
      Views

      G

      Currently, I have not been able to get -TinyGPS++ - examples working. The FIRE has a serial connection and is reading the GPS sentences but is not printing data because the 'valid data' test = FALSE. I have successfully run the -TinyGPS++ - examples on Arduino UNO and DUE no problem. Can any one help with my issue?
    • T

      Finger Unit with UIFlow
      • tomorrow56

      6
      0
      Votes
      6
      Posts
      6714
      Views

      T

      I use the Web IDE version.
    • S

      M5Camera Glitches and poor documentation
      • scotus

      1
      0
      Votes
      1
      Posts
      2320
      Views

      No one has replied

    • PaHub Access cracked.
      • ajb2k3

      10
      0
      Votes
      10
      Posts
      11369
      Views

      M

      @ajb2k3 Thanks, it does work with 1.3.5 beta!
    • C

      Lidar Bot remote no longer connects after upgrading to latest firmware
      • chris

      4
      0
      Votes
      4
      Posts
      4972
      Views

      @chris https://github.com/m5stack/Applications-LidarBot in here , we updates the tutorial in this week, so ah you never saw it before........thanks your reply
    • L

      M5Stack camera video info
      • LURK_

      1
      0
      Votes
      1
      Posts
      2659
      Views

      No one has replied

    • Looking for unit to read the status of several relay-contacts via OneWire-bus
      • grelm

      5
      0
      Votes
      5
      Posts
      7198
      Views

      Hi! Are there really no answers to my questions? Thanks - grelm
    • [Solved]Fire, PaHUB, & ADC (ADS1100)
      • mick

      4
      0
      Votes
      4
      Posts
      7386
      Views

      Nice find. Just reached my knowledge of i2c and yeh found that the pullups have bee put on the hubs i2c lines as well as the line to the M5Stack port a. nice but of bug fixing. Just don't forget to put them back if you want to connect the ADC directly to the M5stack in future.
    • G

      M5Stack ESP32 BLE tx power level
      • Gero Nimo

      3
      0
      Votes
      3
      Posts
      5118
      Views

      Sorry my friend but their seams to be an issue with bluetooth on the esp32.
    • H

      RFID RC522 does not detect cards
      • HighTML

      2
      0
      Votes
      2
      Posts
      2972
      Views

      The readers works with 13.56Mhz tags and cards that support ISO14443A, MIFARE and NTAG. I have mine reading and writing to cheep blank cards I found on ebay and programmed through the UIFlow environment.
    • D

      Disassembling PIR Unit for Black Fresnel Lens Replacement
      pir unit fresnel lens disassembly • • dotyu

      1
      0
      Votes
      1
      Posts
      3620
      Views

      No one has replied

    • [NEW] LED strips need intermediate I2C connector between Core and between each segment (?)
      • jcabad100

      3
      0
      Votes
      3
      Posts
      4722
      Views

      L

      M5Stack have GROVE connector for the LED extension. check out here. https://www.aliexpress.com/store/product/M5Stack-Official-Connector-Grove2Grove-Grove2Pin-Grove2SERVO-5pcs-a-set-Three-kinds-Optional-Grove-to-GROVE-PIN/3226069_32960512299.html?spm=2114.12010612.8148356.15.22f0659dLlCy6X
    • [NEW] Servo motors non-reproducible instability / position jittering
      • jcabad100

      2
      0
      Votes
      2
      Posts
      3519
      Views

      @jcabad100 And I thought that was just me. If you have facebook, join the official M5Stack group link text and drop them a message. Sorry, the FB group needs to be added to the FAQ.
    • V

      [Solved]Error compiling ESP32 Camera Demo
      • vikaci

      8
      0
      Votes
      8
      Posts
      13825
      Views

      V

      @zhouyangwen Thanks. This is works. Now i am abo
    • L

      [Solved]ESP32CAM 3.3v
      • LURK_

      12
      0
      Votes
      12
      Posts
      15579
      Views

      @lurk_ Because there are SY8089, RT9182 chip between BAT pin and ESP32_VCC, in order to transfer high voltage to 3.3V. So you need a battery with higher voltage capacity.

    Move Topic