I have both the GPS Unit and the GPS module. Both give incorrect readings using UIFlow. Why is this the case?
Posts made by dsrc12
RE: Downloading updates - fails
@zontex I am in Australia. I also had problems with downloads yesterday - extremely slow download speeds and often downloading just hung. Occasionally core firmware downloads would get accepted by M5Burner after 10 attempts but drivers for the latest M5Stack cores could not be updated from the Arduino IDE using the Board Manager with a reference to 'M5Stack'. At the end of attempting downloads if it got that far it produced a CRC error and the Arduino IDE abandoned it.
Today everything changed - downloads were fast, only one CRC error but a second download was successful. On a second Windows PC the first download was successful. I now have the latest drivers on my Arduino IDE for all M5Stack Cores and I have the latest firmware versions. I could develop test software for Fire, Core 2 and Core Ink using UIFlow IDE on Windows and downloaded onto all of these platforms but I was only able to execute code - Fire. While Core Ink accepted my firmware it would not execute it. Both Core Ink and Core 2 are hard to control compared to Fire and I could only get my firmware to download and execute on Fire.
I suggest that M5Stack do more alpha testing with users from a few countries before officially announcing a new version. This is a regular issue with M5Stack and happens after each new version is released. While these failures were occurring I could not do any software development on M5Stack from Arduino IDE to UIFlow.
RE: UIFlow 1.6.6
@m5stack I had problems downloading firmware updates for cores and drivers for the Arduino IDE over the last 5 days but today it all went well. All downloads worked and my test code on Fire also worked. I was able to download the latest version for Core Ink: 22.214.171.124 and it was able to connect and accept firmware from my Windows PC UIFlow IDE on-line (V1.6.6) but it would not execute any simple programs on Core Ink. It had problems with Core 2 and ended up abandoned it and completed my latest projects with Fire - it is a good stable platform and works with the latest firmware (1.6.6).
RE: ECG Module code
@dsrc12: I have now got this to work and it works best if I discount the USB link to Fire. The code I had difficult understanding is based on a C++ Ternary Operator in C. Returns either ECG_Data_LENGTH if data equals 0xAA or ECG_IDLE if false. At least this is a start. Still need to decode the meaning of the parameters.
Downloading updates - fails
The download speed from M5Stack has dramatically worsened in the past two weeks. While I can still download firmware to core devices like Fire and Core 2 it often fails in the first attempt and it can take up to three attempts to get the download. It is now impossible to install Board Manager drivers under the Arduino IDE for M5Stack processors. I tried ten times and it failed 10 times - for example the 45MB M5Stack board Manager files only reached 10MB and refused to continue. I have excellent internet speeds and have no problems in downloading from elsewhere. I repeated the download and update procedures on another Windows 10 computer and had the same problems. On starting the Arduino IDE it attempts to update the M5Stack board file and gives me the error: Error downloading https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
Is this a result of the recent UIFlow updated to 1.6.6? Software quality at and download speeds from M5Stack are terrible! This brings into question the whole viability of M5Stack - good hardware but shocking software support.
Core Ink with UIFlow
I wrote a simple UIFlow program to set and display the time on Core Ink. I had to update both the M5Burner to access Core Ink firmware and downloaded version 1.6.6 I was able to connect by Windows PC to Core Ink but it refused to accept the download and failed on each occasion. There seems to be a bug in this early release of Core Ink Firmware or it could be in the on-line UIFlow 1.6.6.
ECG Module code
Please help me understand your code for this module
I got this module to work on a m5stack Fire but I would like an explanation of the library program, ECG.ino at:
There are no comments in the code which makes it hard to follow the program.
There is also no data dictionary for the following terms:
Difficult to understand constructs
What does the following do?
ECGdataFSM = ( data == 0xAA ) ? ECG_DATA_LENGTH : ECG_IDLE;
DataMAX = ( ECGData > DataMAX ) ? ECGData : DataMAX;
DataMIN = ( ECGData < DataMIN ) ? ECGData : DataMIN;
The documentation for this product at https://docs.m5stack.com/#/en/module/ecg?id=related-link
states that the MPU STM32 in the module supports a heart rate statistics algorithm. What does this algorithm do? What parameters does it use?
Timer Camera X
The support for this camera is terrible. UIFlow introduces "Media Trans" without any explanation as to what this is - not even a link. The block commands supplied with UIFlow are not that helpful either and I can not get any programs to work. The Arduino example for Web_Cam fails to compile: Error compiling for board ESP32 Wrover Module" even through the Arduino IDE is configured for "ESP32 Wrover Module". The only software that works is Easyloader but what a disappointment this camera is because of the lack of software support, no examples for a working UIFlow and no tutorials. Please fix this. As usual M5Stack are inconsistent in naming modules and in M5Burner they call it "TimerCAM" but in it is called "Timer Camera X" and in UIFlow it is "Media Trans > Timer Camera" - please be more consistent in naming conventions. Quality Control for software at M5Stack should be improved.
RE: V-function Face Detect not working on Unit-V
Hello world101, I have a similar problem. None of the UIFlow Unit V examples work. I am using a M5StickC and the latest firmware on both M5StickC (1.6.4) and Unit V. I would appreciate better help from M5Stack - there are no examples, no help and little documentation - it is all guess work. Others have suggested differences between the two V modules and a flip in image orientation may be required.
Problems with this project - incorrect frequency band allocation and crashes
Re: M5StickC Audio Spectrum Display
Very interesting project especially has it uses the I2S microphone and there are very few examples of using this. I was able to compile your code and download it into the MCStickC. I encountered two problems: 1) after about 10 mins the program crashes 2) displayed frequency band allocations are incorrect
RE: BugC problems
Thanks for the reply. Got the Arduino library example to work. Looking forward to a UIFlow fix. See my review at: Another Uncontrollable Bug: BugC from M5Stack: https://www.facebook.com/thomas.andrews.357/media_set?set=a.2587374321367103&type=3
I have tried both UIFlow and the demo Arduino program and both have problems. Starting with the UIFlow it is a simple program just to test that the motor controls work. In this program it justs loops through the functions: motor0, motor1, motor2 and motor3. At each function it is meant to pulse the motor for 5 secs and turns on and off RGB LED patterns on the two LEDs. The problem is that the program stalls on the first function and does not continue. Motor0 stays on. If I remove the motor control statements the loop completes and repeats and the various patterns of the RGB LEDs work. Could the motor control hardware be defective?
I also tried the demo program: BugC.ino (from https://github.com/m5stack/M5StickC/tree/master/examples/Hat/BUGC but it will not compile. I am using Arduino 1.8.12 and have set the Arduino IDE to Stack5C and have all of the Stack5C libraries installed. The compile errors are:
bugC.cpp:44:8: error: 'class M5StickC' has no member named 'I2C'
M5.I2C.writeBytes(BUGC_ADDR, 0x10, color_out, 4);
Multiple libraries were found for "SPI.h"
Multiple libraries were found for "FS.h"
Multiple libraries were found for "M5StickC.h"
Multiple libraries were found for "Wire.h"
exit status 1
'class AXP192' has no member named 'SetChargeCurrent'
Is there a configuration problem with the BugC.ino or the libraries? The M5.I2C.writeBytes() function is not recognised.
RE: ATOM Matrix and UIFLow V1.4.5 extremely unreliable (including behavior with Arduino IDE) / external program needed to get API key
Hello Juan, I am having the same problem that you experienced it trying to get the API code. How did you do it with Putty? What baud rate? I have connected via Putty on serial coms at both 9600 and 115200 baud and their is no response. My previous M5Stack processors always had the API key printed on the case but not this one - not enough space!