In yoir case the best option is a connect externall battery to gnd and vbat on hat port and remove internall battery. But opening m5stick withoit damage internal connection is some difficult. I opened it once to remove magnets and i dont doing this again. Axp is settings default to charge battery with 100mA current, so if you connect bigger capacity battery it will default charge in longer time ( it is safe for battery).
I saw command in uiflow to change axp charge current to predefined values, but i dont test it if this change is permament or you need change this everyvrestartvof device.
Best posts made by robalstona
-
RE: Ways to add external battery
-
RE: UIFlow 1.7.3
When was repaired bug with dissapearing wirtual keyboard on mobile browsers?
-
RE: Unable to install Windows ATOM (CP210x) drivers
Hi. I don't remember exactly, but these drivers should match:
-
M5atom Matrix library (micropython)
Hi
I would like to introduce you to a simple library to support the integrated 5x5 led matrix in the M5atom Matrix. The library was written in micropython.
I have attached to the library examples showing the operation of library functions and an example thermometer application.
At this moment you can use individual pixel set/clear function, display pixmaps/mask or use blink or breathe effectt at one selected pixel (at this time)
Scrolling text are not implemented yet.You can download it at:
github.com -
RE: Another UIFlow 2.0 Suggestion
In my opinion should be a button or menu entry to export blocky program as jpg/png image.
-
MtStickC accuweather.com mini weather station
Hello, I wanted to present a simple mini weather station program showing the current weather using the accuweather.com service. The program was made in UiFlow web ide 1.4.5 and tested on m5stickC firmware 1.4.2.
source code and resource files:
https://github.com/stonatm/m5stickc/tree/master/accuweather
-
RE: Reprogramming the Faces keyboard
You will need the UsbAsp programmer to program atmega. The maximum supply voltage can be found in the atmega datasheet because it depends on these few letters or numbers after the inscription 328
-
RE: How to control m5stickc pins via uiflow?
G26 could be use only as input. Change pin to another eg. G36 and should work. Alternativelly
Try use Advanced ->PIN blocks
use init block, change mode to OUT and pull to PULL_FLOAT to set your pin in output mode then set your pin with set pin block. -
RE: Ui Flow support for onewire and ds18x20
@fb24 Hi. A few days ago I made a custom block for ds18b20 support. Maybe you're interested
https://github.com/stonatm/UiFlow-custom-blocks/tree/master/ds18b20
-
RE: Hosting a simple HTML with M5* device img src problem
@thrasher as you say you did simple web server. If you want implement send images you must handle image receive
request. Analogically to send your web page from string or text file you must send raw binary data from file. If image is small you could be try convert it to text in BASE64 format and insert it into <img src="data:image/jpg..........">online converter
https://www.base64-image.de/encode
Latest posts made by robalstona
-
RE: Micropython and C++
No you cannot. The term firmware in this case can be a bit misleading. It is compiled code of micropython interpreter written in c/c++ language with implemented support for uploading or running python scripts via uiflow online editor or usb connection. you might as well call a c/c++ program compiled and uploaded using arduino a firmware.
-
RE: StickC USB support for external USB Memory stick
No you cannot, between usb and esp is a usb-uart conwerter. Its allow only to serial communication.
-
RE: Getting Microphone Data (decibels) from M5StickC Plus or AtomU
You cannot read data from this microphone via analog read. This microphone is digital and has two digital pins. One of them is clock signal (probably connected to gpio0) which you should drive with 1MHz signal. Second is digital output which give a signal similiar to pwm signal (pulse density modulation) . So only walues which you read are 0V or 3.3V.
-
RE: Another UIFlow 2.0 Suggestion
In my opinion should be a button or menu entry to export blocky program as jpg/png image.
-
RE: Analog Read gives wrong value.
The adc readings is non linear at both ends of range (flat). So you can't measure voltage below ~0.17V and under ~3.15.
Below is link with explain
https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/ -
RE: Ways to add external battery
In yoir case the best option is a connect externall battery to gnd and vbat on hat port and remove internall battery. But opening m5stick withoit damage internal connection is some difficult. I opened it once to remove magnets and i dont doing this again. Axp is settings default to charge battery with 100mA current, so if you connect bigger capacity battery it will default charge in longer time ( it is safe for battery).
I saw command in uiflow to change axp charge current to predefined values, but i dont test it if this change is permament or you need change this everyvrestartvof device. -
RE: How to distribute Micropython application as binary flash image ?
You can use esp flash tool
https://github.com/espressif/esptoolBut it is a command line tool. and need python installed on your pc to work. With this tool you can download whole spiflash content to one bin file. You can also flash it back with this tool.
I don't use M5burner which probably don't have option to burn custom bin file. By the way, M5burner use esptool in background to flash their firmwares.
-
RE: Guidance on running multiple programs
Programs on the device are saved in two files
program_name.m5b (used only by uiflow to put the project back into the editor)
program_name.py (generated python code based on your project in uiflow). This file is run on the target device.You can use the import program_name.py statement in your program in the execute block. Then it will be loaded and run.
But this method has its drawbacks, because the initialization instructions at the beginning of the program will be reloaded. You have to be careful what variable names you use, so that you don't overwrite the variable values with new ones from the imported file.
The import statement imports the code the first time and runs it, subsequent imports of the same file just load it into memory without running it (you can find a solution to this problem on google.
Ewentually you could edit your python code before upload to device with this way to solve above problemdef main(): # place whole generated python # file in this function with # proper intend main()
-
RE: M5 atom lite connector.
Probably the grove name is property of seedstudio, so m5stack don't use this in description.