🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • UnitCamS3 - log into home wifi

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • IMU - what is the best vibration sensor

    2
    0 Votes
    2 Posts
    2k Views
    H
    Please specify the vibrations you want to measure. There is a big difference between a mosquito landing on a concrete block and a earthquake that cracks the block. Both has to do with vibrations... The best will be to open the datasheets (both are linked) and compare. As far as I see the range and sensitivity are more or less similar for both sensors.
  • How to use multiple Units wired via GROVE? PbHub?

    10
    0 Votes
    10 Posts
    10k Views
    konacurrentsK
    Thanks, that helps a lot. This is my first use of the Unit devices. I've use the HAT on the M5 which obviously is only 1 at a time. I'll get the PbHUB and the I2C version of the Ultrasonic Distance Unit. I'm working on many sensors to help disabled users. These sensors help those in wheelchairs where they might not be able to even touch buttons. So providing a multitude of options (motion, tilt, distance, LUX, buttons) - even the touch of the Core2 is very sensitive which is good. Thanks,
  • CamS3 Unit - any RTSP software /code

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • UHF RFID(JRD-4035)

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • I try PaHUB2. but Socket No0 is not work.

    2
    0 Votes
    2 Posts
    3k Views
    E
    This change makes the socket 0 work. Thank you
  • Cardputer serial woes :-(

    5
    0 Votes
    5 Posts
    5k Views
    felmueF
    Hello @loscuras2 have you tried a different USB cable? Thanks Felix
  • KMeterISO unit not supported on uiflow2

    2
    1 Votes
    2 Posts
    2k Views
    M
    Were you able to find a way to add the Kmeter to UIflow2? I am having the same issue with the core tough. thx
  • Using Cardputer without carputer library

    4
    0 Votes
    4 Posts
    4k Views
    ajb2k3A
    There are 2 SPI buses that can be defined
  • UIFlow Code Error with GPS Latitude and Longitude.

    2
    1
    0 Votes
    2 Posts
    2k Views
    No one has replied
  • ENV4 gives low pressure reading

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • unable to connect to CO2L unit

    co2l
    11
    1
    0 Votes
    11 Posts
    10k Views
    D
    To close this topic: I have no problem with a newly ordered sensor. I was apparently unlucky enough that my first sensor was faulty.
  • M5Stamp power timer, Max ampere out?

    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    I'm not exactly sure but I think it could be around 500mA but the data sheet is in Chinese and I just woke up.
  • Core2 with 4 Relay UNIT, example code crashes

    2
    0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @Pugmartin you are correct, the example is broken in at least two ways. Firstly it doesn't compile and secondly a statement is missing. I had success compiling using the example here. To fix the crash it needs a small fix in setup() - add this line before relay.init(0): relay.begin(); // new line relay.init(0); // existing line Thanks Felix
  • PaHUB + ENVIII pressure reading issue

    7
    0 Votes
    7 Posts
    9k Views
    felmueF
    Hello guys as stated before PaHUB and ENV III units cannot be used together as they share the same I2C address 0x70 by default. That said the I2C address of the PaHUB unit can be modified (let's say to use 0x71) to avoid the conflict. And in UIFlow2 it is possible to use a PaHUB unit with modified I2C address. So in UIFlow2 add an ENV III unit and select PAHUB as BUS (which automatically will add a PaHUB unit as well). Then replace the resulting Init env3_0 block with an Execute code block with the following content: env3_0 = ENVUnit(i2c=PAHUBUnit(i2c=i2c0, channel=0, address=0x71), type=3) Note: ENV III unit is connected to the first channel of the PaHUB unit, e.g. channel 0. Complete Micropython code: import os, sys, io import M5 from M5 import * from hardware import * import time from unit import * label0 = None label1 = None label2 = None i2c0 = None pahub_0 = None env3_0 = None def setup(): global label0, label1, label2, i2c0, pahub_0, env3_0 M5.begin() label0 = Widgets.Label("label0", 3, 4, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18) label1 = Widgets.Label("label1", 2, 22, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18) label2 = Widgets.Label("label2", 2, 44, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18) i2c0 = I2C(0, scl=Pin(1), sda=Pin(2), freq=100000) env3_0 = ENVUnit(i2c=PAHUBUnit(i2c=i2c0, channel=0 , address=0x71), type=3) def loop(): global label0, label1, label2, i2c0, pahub_0, env3_0 M5.update() time.sleep(1) label0.setText(str(env3_0.read_temperature())) label1.setText(str(env3_0.read_pressure())) label2.setText(str(env3_0.read_humidity())) if __name__ == '__main__': try: setup() while True: loop() except (Exception, KeyboardInterrupt) as e: try: from utility import print_error_msg print_error_msg(e) except ImportError: print("please update to latest firmware") BTW: In UIFlow1 I have not been able to figure out how (if at all) it is possible to use a PaHUB unit with non default I2C address. Thanks Felix
  • Unit 8 encoder

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • AirTube to AtomS3

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Cardputer... HID device?

    2
    0 Votes
    2 Posts
    5k Views
    F
    usb keyboard demo https://github.com/m5stack/M5Cardputer/tree/master/examples/Basic/keyboard Masterkey - USB WiFi Keylogger https://github.com/justcallmekoko/USBKeylogger
  • Best Approach to Connect Multiple HX711s?

    weight scale hx711 pbhub
    2
    0 Votes
    2 Posts
    3k Views
    teastainT
    @arealguru Speaking personally, I feel that the PbHub is still not a finished product because it cannot pass two digital signals, only one In and 1 Out, not the digital signals of the HX711. Myself, if there was a need to read 5 digital sensors I would (and did in the 80's) build a multiplexer from three CMOS 4066 quad bilateral switches, that are digital, analog and bi-directional. https://www.ti.com/lit/ds/symlink/cd4066b.pdf If you are a hobbyist it would be a surprisingly simple and fun project! -Terry
  • UHF-RFID unit not writing or reading data to tags

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