Apologies for resurrecting an old thread, but have you seen SquareLine Studio? If you’re still designing UI’s for your m5core2 you might like to take a look.
Best posts made by theMusicMan
-
RE: Libraries/Frameworks/Software for GUI design for M5Core2
-
RE: Nothing showing on M5Core2 when connected to USB power and unable to upload
I guess I have posted twice more or less about the same thing @ajb2k3 sorry. I installed the ArduinoIDE on to my MacBook Pro, followed the M5Stack instructions again to install the boards, library and drivers, and I get the same thing on this machine as I do on my iMac. here's the error...
I genuinely think my M5Core2 is bricked. I tried to do some research and it appears there's no successful way to get the core2 into BOOT mode. Sigh...
Erase Flash
esptool.py v3.3.2-dev
Serial port /dev/tty.wchusbserial54FC01826501
Connecting...
.
.
.A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html -
RE: How do I enter BOOT mode on M5Core2: Wrong boot mode detected (0x0)! The chip needs to be in download mode
@ajb2k3 said in How do I enter BOOT mode on M5Core2: Wrong boot mode detected (0x0)! The chip needs to be in download mode:
@themusicman This means that something else in OSX is access the USBport via a terminal preventing M5Burner from being able to access the port.
Please make sure only M5Burner is running and that no other terminal software is running.
I tried on my MacBookPro (original issue was on iMac) with no other serial terminal software running, exactly the same issues unfortunately. I have now returned the M5Core2 device back to thePiHut and am awaiting a replacement.
Thanks for your support though @ajb2k3 - it is much appreciated.
Latest posts made by theMusicMan
-
RE: Alternative code for the M5Stack BCT Standing Base with built in SHT30 temp/humid sensor
@teastain said in Alternative code for the M5Stack BCT Standing Base with built in SHT30 temp/humid sensor:
@themusicman Nice graphics!
Thanks Terry. Looks like you've a nice implementation of temp control system there.
I just thought this alternative to the factory code might help some to dive in and make their own look's and feel's :)
-
Alternative code for the M5Stack BCT Standing Base with built in SHT30 temp/humid sensor
Nothing complex, just a few very simple alternative lines of code to use when you have the M5Stack device connected to the M5Stack BCT Standing Base - with SHT30 temperature and humidity sensor. This is what you should see on your M5Stack device when running this code. Feel free to grab from my GitHub repository page and use as you wish.
-
ENVIII Hat not responding on M5StickCPlus
Has anyone managed to get the ENVIII hat temp/pressure/humid sensor working on their M5Stick device please? I have an unusual issue in that the M5Stick device works fine, but I get no readings from the ENVIII hat!
When I connect another device hat to the M5Stick (I have the rotary encoder) it works perfectly, and also when I attach an alternate ENVIII sensor that I have to the 4-pin grove connector on the bottom of the M5Stick, it works and displays readings correctly.
So, I am guessing it is possibly an I2C issue where the incorrect address is set somewhere in the code. I have tried several versions of the code from various repo's on the M5Stack GitHub pages, and have checked the I2C address and changed it myself etc, and I can't get the ENVIII Hat sensor to show any readings at all.
-
Multiple errors when using <M5GFX.h> and MM5Stack.h> in same program
Hey all - sounds like a daft question but does anyone know if it is not possible to use both the M5Stack.h and M5GFX.h libraries in the same code please?
I am simply starting to write code that plots a graph of temp from the ENVIII sensor. The factory code for this uses the M5Env and M5Stack libraries, and I want to also use the M5GFX library to plot data to the screen. However, when I add the M5Stack library to the code - and without changing anything else in the code at all - I get multiple errors upon compile. Now, I can post the code, but I have literally just started writing it and there's loads to do before I end up with the final version, so there's much not even penned as yet however it appears I have hit a hurdle at the very start.
Simply adding #include <M5Stack.h> to this code created many many errors...
#include <M5GFX.h>
#include "M5_ENV.h"
#include <M5Stack.h>M5GFX tft;
SHT3X sht30;float tempC = 0.0;
float tempF = 0.0;
float hum = 0.0;void setup(void) {
Wire.begin();
M5.Power.begin();
tft.init();
tft.setTextDatum(textdatum_t::middle_center);
tft.drawString("Temp Plot Test", tft.width() / 2, 20, 4);
tft.drawLine(10, 10, 10, 100);
}void loop(void) {
tft.drawCircle(100, 100, sht30.cTemp, TFT_YELLOW);
tft.println(sht30.cTemp);
} -
barometer in ENV III Temp/Humid/Baro sensor QMP6988 for calculation of altitude
Hi All
In the ENVIII unit temp/humidity/baro sensor, the barometric sensor is the QMP6988, and this can also be used to calculate altitude. In the QMP6988.h file line 138, there is a line for this:
float calcAltitude(float pressure, float temp);
... meaning you can call that method (calcAltitude) from the class in your .ino file.
Does anyone know which are the correct units (degC or degF) required for the float temp entry please? And also what units are returned for the calcAltitude (feet, meters etc)?
Many thanks.
-
Unterminated /* comment clang(unterminated_block_comment) error with red squiggle
I am seeing a red squiggle in my code. Now, the code still needs development and is nowhere near completed, but it compiles and uploads to my M%Core5 fine, however I see a red squiggle on the first line of the code which when I hover over, gives this result.
I cannot see any unclosed /* lines in my code. Can anyone shed some light on why I am seeing this please?
Also, when I now add any blank lines at the top of my code, the code no longer compiles
Thanks
-
How do I draw an arc using M5CORE2 - can't find method in m5core2 or m5gfx
Apologies if I should know this folks, but how do I draw an arc using the internal M5CORE2 libraries please?
I can't seem to find that method in any of the documentation or in the include files.
Should I simply include the TFT_eSPI.h library and use that one?
-
RE: How do I enter BOOT mode on M5Core2: Wrong boot mode detected (0x0)! The chip needs to be in download mode
@ajb2k3 said in How do I enter BOOT mode on M5Core2: Wrong boot mode detected (0x0)! The chip needs to be in download mode:
@themusicman This means that something else in OSX is access the USBport via a terminal preventing M5Burner from being able to access the port.
Please make sure only M5Burner is running and that no other terminal software is running.
I tried on my MacBookPro (original issue was on iMac) with no other serial terminal software running, exactly the same issues unfortunately. I have now returned the M5Core2 device back to thePiHut and am awaiting a replacement.
Thanks for your support though @ajb2k3 - it is much appreciated.
-
RE: Nothing showing on M5Core2 when connected to USB power and unable to upload
Update: I have returned the M5Core2 device purchased last week to the dealer I bought it from, something they had absolutely no issue with doing for me. They are going to issue a replacement. Now I need to try to identify what caused the M5Core2 to go into this rather ridiculous fail mode. I simply left it running overnight with code that was working the previous evening, and when I came to use it the following afternoon it was unresponsive.
Let's hope the same thing doesn't happen again, which if it does, will sadly prematurely end my relationship with M5Stack devices :)
-
RE: Core2 buttons don't work after M5.Lcd.setRotation(3)?
@teastain said in Core2 buttons don't work after M5.Lcd.setRotation(3)?:
@themusicman This is "The Community" website supported by user volunteers.
You should raise an Issue over on the M5Stack Github page,
https://github.com/m5stack/M5Core2
-TerryHi Terry, sure will do. I simply followed the links on the official M5Stack page where 'Forum' is listed under the 'Explore' menu hence considered this an official forum of M5Stack. There's no indication on the M5Stack page that this is anything other than an official page of theirs, quite misleading many would agree I am sure, especially considering each of the other links on that page head to official M5Stack pages such as GitHub, News, YouTube etc.
In any event, many thanks for the clarification that this is a site run by the community, that's good to know.
Also, unfortunately, on GitHub I see infrequent replies to issues posted. It appears M5Stack are not particularly supportive to customers when it comes to official replies to issues. I've returned a device to the company I bought it from which was purchased only last week due to what appears to be a strange and possible design issue where the M5Core2 device is unable to be placed into BOOT mode in order to recover/restore factory settings. At £45... bricked after a week is not something I expected for what is essentially a very high spec ESP32 board!
The issue I have overall with M5Stack is that their devices are not cheap low cost £3.50 ESP32 boards, they are quite expensive items relative to what they are and as such M5Stack don't appear to run an acceptable official after-sales support service. This makes this community even more valuable.
Thanks again Terry.