Members Introductions aka The Icebreaker discussion.
Again, thanks for your help.
Today I uninstalled driver, then rebooted computer, then installed driver (v10.8.1), then rebooted computer, then started VSCode, then plugged in M5ST A CK, not M5ST I CK, into computer. Up to this point, while the M5Stack is plugged into the computer the M5Stack has not rebooted.
I then connected the M5Stack using COM5, which is the COM port for the M5Stack. The M5Stack did not reboot.
Then, in the Explorer pane under M5STACK DEVICE, I touched COM5. This is supposed to expand and show the files and folders currently on the M5Stack device. At this point, the M5Stack reboots. It shows the QR code for roughly 10 seconds and then reboots. This behavior repeats, even after closing VSCode until I unplug the M5Stack from the computer.
When I plug the M5Stack back into the computer, it reboots once and continues to show the QR code without rebooting.
I then start MaixPy IDE. When I try to connect to the M5ST I CK (which is really an M5ST A CK) a dialog is displayed that has text, "Connecting ... Please wait ...". That dialog has a sweeping green bar that continues to sweep until the cows come home.
I then start UIFlow and connect to the M5Stack. The M5Stack does not automatically reboot. I then open an existing project. I then run the file. It runs. There is no cycle of rebooting.
I then attempt to "Download" the file to the M5Stack. The M5Stack displays "Uploading ...". The computer displays an Uploading message, "Uploading, please wait a minute ..." , then displays, "Upload code failed. Maybe your device is offline check it and retry". I have not usually had that happen previously. In the past, I have been able to download (or upload?) to the M5Stack.
I rebooted the computer and tried again. Same result.
I opened a different project and tried to download (or upload?) it. This was successful.
I then opened the original program and copied the contents into the buffer. Then I opened the second project that downloaded successfully and replaced its contents with the contents of the buffer. I downloaded the program and it ran correctly.
So, in general, I can make things happen with UIFlow that I cannot seem to get working using either MaixPy or VSCode.
Does anyone have suggestions for what to try next?
Again, thanks for your help.
Apparently I am dislexic (sp). The driver version is 10.1.8.2466.
Is my problem Windows 10? Should I try this on a 32-bit Windows 7 machine?
@Hamster to set the record straight Maixpy is not developed by M5Stack and is only intended to be used with Stick V. It is possible to open a serial terminal in Maixpy and code M5Stack devices from the REPL, but there are much better ways for doing that.
I just wanted to double check, when you used vscode did you set your M5Stack into USB Mode?
Yes, I set the M5Stack in USB mode.
I installed the toolchain for programming the M5Stack using VSCode in Windows 7 32-bit. The doohicky at the bottom of the VSCode window for adding an M5Stack did not even show up.
I have been able to REPL to the device using PuTTY without issue.
At this point, I think I need to move on. I am using a Visual Micro plugin for Visual Studio to develop using C++. Have I mentioned that I really wanted to use MicroPython instead? I'm much more versed in C++, but I wanted an excuse to learn Python. Oh, well.
I know that the ESP32 has not been out that long and it is amazing what can be done with it. I'll check on MicroPython for the M5Stack in a few months.
Thanks again for all your help!
Hi 2 All,
I'm Red_Ant from Germany.
I thought, it's time to start experimenting with these Arduino/ESP/whatever stuff, and I'm honest, I'm a real newbie. For that reason I decided to buy the M5Stack IoT StarterKit (white device).
First hurdle was the setup of the editors ... I'm running Linux Mint.
No chance to get it running ... so I switched to WIN10 ... no chance. Finally I figured out, that the short USB cable of the starter kit doesn'twork. With my Samsung phone line, everything worked fine.
Great .... but
Next I started with the sample app, already installed on the M5 ... ok, sensor on port A worked fine.
But on port B, I wasn't able to get any of the other sensors running ... no feedback signal.
I also found the explanation: no 5V on port B or C. Connecting the sensors to the 5V of port A (only 5V and GND) and all sensors worked fine.
After all this, I thought to be ready for my first program ... so I give it a trial.
What to say ... of course no success ... something with "uiflow lib missing".
I also figured out, what's the problem: very old firmware.
And after updating the firmware everything was fine ... except the missing 5V on port B & C.
Any ideas ? Is there a switch to turn it on ? Setting/parameter/ ....
Currently I've got the feeling, that I have to return the device.
(Buy the way: in parallel I started with an Arduino ... without any trouble)
ajb2k3 last edited by ajb2k3
Be very careful with the units. They have colour coded connectors and only work with matching ports.
How do you know that there is no 5v on the other ports?
I measured it with a multimeter ... no I didn't put the probes into the connector ... first I applied the original grove cable to the M5 and then extended it by breadboard cables, where it was easy and safe to connect the multimeter.
And so I did for all three ports ... only on port A 5V could be seen
@red_ant Is the base fitted securely and squarely to the face plate?
I think so ... the screws seems to be tightened
Do the leds on the side of the base work?
shall we continue this discussion somewhere else ? Move it to another place in the forum ?
Regarding the question ... I can't see any LEDs
JRelland last edited by
I am José, from France.
Congratulations for M5 Stack and for the all the community projects.
Interesting in M5 Stack starter kit.
I imagine, only online.
Have a great time with M5 Stack
Je suis José de Troyes, France.
Félicitations pour M5 Stack et pour les projets de la communauté :).
Je suis intéressé par un kit de démarrage M5 Stack
J'imagine qu'on le trouve uniquement en ligne.
Bonnes fêtes de fin d'année :)
MCHack last edited by
@lastcaress Hey Lukas, I have just implemented a M5Stack-C Project for Orientation during sleep that works fine. Is there a place where we can share our programs? Did not find that. yet.
@mchack there is the project forum designed just for that!
MCHack last edited by
there is also a project section of the forum just for this!
MashBal last edited by
I am My name is Mehwish and I am also new here. hope we will spend a good time here.