Is there a method to log a few seconds of sensor data directly to ESP32 memory using either version of UiFlow? Specifically, I am trying to use one of the lightweight controllers such as the Atom or Nano to capture some model rocket accelerometer or barometer data for some young students. These students have been able to make exceptional progress with UiFlow.
Posts made by earla
-
Data Logging using UiFlow for model rockets?
-
RE: Label disappears
@cerietke I didn’t try your code yet, but the first thing I would do is get your core2 updated to 1.13.5 via M5 Burner.
Update - just tested your UiFlow code and it works fine on my Core2. I usually load my WiFi credentials when I burn the firmware via M5 Burner. I’m not sure how you are connecting to WiFi using your code without using the SSID and PASSWORD block
-
RE: EXT-ENCODER (U161) proper use & tricky problem
@teastain Thank you! Good information.
-
EXT-ENCODER (U161) proper use & tricky problem
Does anyone have any experience using the EXT-ENCODER (U161) to read rotary encoders? When I connect a Type LPD3806-360BM Rotary Encoder, I can accurately count the pulses if the RPM is very slow. When I look at the A and B inputs with an oscilloscope the EXT-ENCODER is adding capacitance causing the leading edge of the pulse to be rounded off. If the RPM is increased, the pulses never reach enough voltage to be counted. Disconnecting the A & B leads removes the capacitance and restores the encoder pulses to a perfect square wave even at high RPM. The EXT-ENCODER schematic shows pull up resistors which are required and they appear to be correct.
This is the first time I have worked with reading encoders & I need to learn more.
-
RE: Heart Unit with Core 2 - any suggestions?
This sensor is surprisingly difficult to use but I still learned a lot. As suggested, I took a look at the raw data from the sensor using an M5Stack Arduino program. Although you can see the pulse data, it is very unstable, noisy and has a varying offset. Here is a very good description of what it takes to make the MAX30100 work.
https://morf.lv/implementing-pulse-oximeter-using-max30100 In addition to what the article says, the two Heart sensors I have behave differently and would require individual calibrations. -
RE: Heart Unit with Core 2 - any suggestions?
@basgoossen Thank you for this excellent information.
-
RE: Heart Unit with Core 2 - any suggestions?
@ajb2k3 Yes - I am making progress - working on the calibration against a medical grade device. Thank you!
-
RE: Heart Unit with Core 2 - any suggestions?
@teastain Yes! Binding it to my finger makes it work properly! Thank you!
Seeing the module code M5Stack is using would certainly help, but I don't know how to do this of if it is even possible.
-
Heart Unit with Core 2 - any suggestions?
I just received 2 new Heart Units and have tested them using UiFlow & the supplied test code or slightly modified versions of the test code. Both of the units read the heart rate at about 2x the actual rate or sometimes randomly. The SpO2 readings are close when compared to a medical grade Pulse Oximeter. Experimenting with the LED current settings sometimes makes the units work properly, but it is very intermittent & will not repeat with a core restart. Experimenting with the timing delays produces similar results.
I connected a logic analyzer - data pulses seem to agree with the delays specified in the code.
Has anyone figured out how to improve the results with these Heart Unit devices? Is it possible the Core 2 can't supply enough current to the Heart Unit?
-
HEX RGB LED
Hi - I can only light up the first 13 leds on my hex rgb led unit using UiFlow. I set the led number to 37 and tested on both the M5 Core 2 AWS and the M5 Stickc Plus with the exact same results. Am I missing something?
Update: looked at this HEX RGB
unit under a microscope. It looks like this particular unit had soldering problems. There was excess flux, 2 solder blobs and the tops of some leds are melted with bubbled plastic - soldering looks fair. Cleaned board but no change - still only 13 ledsUpdate 2 - purchased some new ones - all work perfectly and look fine