Hello MartynW
how do you use just the machine library. When I try this the m5stack gives an error.
When I use the m5stack lib I don't have any problems with this
Hello MartynW
how do you use just the machine library. When I try this the m5stack gives an error.
When I use the m5stack lib I don't have any problems with this
At the moment I am using the following code to save energy.
screenlight turn off, not the backlight.
axp.setLcdBrightness(0)
wifi turn off
wlan = network.WLAN(network.STA_IF)
wlan.active(False)
but still the total curent use is 150-200mA
Hello Butwm,
If you download Micropython extension? do you see it?
Hi everybody.,
I am working on making the m5stickC plus run as energy-efficiently as possible.
machine.deepsleep(*)
The above code is possible to save energy on the m5stickC plus.
Now I use external modules that are connected to the 5Vout. actually I want the 5Vout to go out too.
The DOCS of m5stick states that you can communicate with the AXP192 Chip via I2C (21,22).
With this I want to disable the IPSout and enable it again.
What code can I use for this? And do you have any more ideas about what I can do?
I program in VScode and with an extension vscode-m5stack-mpy
P.S. I asked AI to write some code for this and came up with the following
as you probably understand the code doesn't work
If an I2C error occurs, I use M5Burner and then burn new software on it. the I2C error code only appears if you have the M5 stick in USB mode. If you have the M5stick in App mode, it does not happen. probably it is in the COM port that is active.
latest version of M5stickC + software also works, yet the problem persists that new software has to be installed every time before I upload the code
Used code:
thank you for your response. awesome for your help!
but i found the problem.
I have an older one
software version of M5StickC+ installed there. and every time I want to do a code update I first have to do a new burn of the software on the M5stickC+.
Otherwise I keep getting an I2C error (110)
but this is not the solution. Do you/anyone have an idea why this is? and how I can solve this
Hello folks, I am currently working on a project where I want to transmit the temperature over the LoRa network.
I use an M5stickC plus and a Lorawan868 module with a MeterISO(K) module, all from m5stack.
I can send a message via the LoraWan network that is not the problem.
the problem is that i don't know how to use the MeterISO(K) because it also needs a grove plug and I only have 1 on the M5stickC plus. So I want to use the pins that are located at the top of the M5stickC plus.
how can I apply I2C to the top pins? And what code do I need for this?
This is what I got
I want to write everything in micropython but I really need your help.
As you can see, I'm not really a programmer and still a learner.
I hope someone can help me because I'm really desperate