@ajb2k3 Well, this had nothing to do with the OS this time. But yeah, Ive had my own code, compiled as an EXE, promptly quarantined by the over-zealous anti-malware system. My employer takes security...very very seriously. To the point where software guys like myself get frustrated over things like this.
But still, it was unnerving to be contacted by our cybersecurity team on the other side of the planet, telling me I'd set off alarms from several thousands of kilometers away, just from playing with my new m5stack devices I'd received that day, and that I'd have to have my machine scrubbed.
But it looks like nothing has come of it, and was a false alarm. I'll just stick to using them at home instead of at work. I could never get M5burner to work through the layers of security anyway.
BTW, Ive succeeded in geting both UIFlow1 and UIFlow2 working on my Core2 AWS. I basically bought it to use with UIFlow1 until UIFlow2 is more complete. Now I can use all my "only supported by UIFlow1" bits, while UIFlow2 grows.
@felmue
BTW i forgot to mention that I also removed those nasty magnets as they disturb the used magnetometer. The metal screws where also replaced with plastic made.
Thanks @teastain,
i try it since few days, but i can't find any information how i must connect the Motor Modul.
I use this one: Link
Have you an idea how i must connect ENA (for PWM), IN1 and IN2 with the M5stack core and set the motor speed with PWM?
Hello @dahult
the IP5306 I2C registers are described here (under Related link - Datasheet).
Unfortunately the IP5306 turns the output off after a timeout (max: 64 s) if the load is too low; like when ESP32 is in deep sleep mode.
There was a similar discussion in this thread here.
Thanks
Felix
my sd card slot is broken due to gunk inside it leaking out.
it was a oily substance.
i then opened to find you built these in surplus and as a result it's heat speader is some thermal paste.
https://imgur.com/a/qryWEbX
this went into the sd card slot and killed it.
i have sent a request to support and they have ignored me as all of you have ignored me here.
Hang on I have a mighty headache this morning so need things dumned down.
Please explore how you have installed the software, connected hardware and tried to access the devices in M5Burner and are you sure you are accessing the correct com port?
@m5stack thnx, I solved this problem - indeed I had to load board definitions
Also this YT-video 'M5Paper Seasons Greetings Display' was helpful: https://youtu.be/Tjz4fGRn8fo
When you install UIFlow and finish setting up the wifi, the API key will be displayed on the screen along with the mode and the network you have connected the device to.
As mentioned in the other thread, the missing step is transferring the canvas framebuffer to the EPD.
If your loop function is changed as below, it works as you expect.
void loop() {
for (int i=1; i<7; i++)
{
canvas1.drawString(testString[i],20,20);
/* m5epd_err_t UpdateArea(uint16_t x, uint16_t y, uint16_t w, uint16_t h, m5epd_update_mode_t mode); */
M5.EPD.WriteFullGram4bpp((uint8_t*)canvas1.frameBuffer());
M5.EPD.UpdateArea(0,0,100,100,UPDATE_MODE_GL16);
delay(1000);
}
}
I found the following documents.
Command description
https://github.com/espressif/esptool/wiki/Advanced-Commands#write_flash_status
Source code
https://github.com/espressif/esptool/blob/master/esptool.py
L3499
def write_flash_status(esp, args)
GD25Q32C datasheet
http://www.elm-tech.com/ja/products/spi-flash-memory/gd25q32/gd25q32.pdf
@world101 said in M5Paper and API Key:
@ajb2k3 Actually, most of the time when I flash new firmware with M5Burner, it does assign a new API key to my device. Maybe that is because I always erase the flash before burning the firmware. I just tried it and it gave me a new API key.
@k33g give it a try. The Erase button is in the upper right corner of M5Burner. Then burn the latest M5Paper firmware.
I thought i was supposed to but for me, lately, it looked to always generate the same api.
Hi @fonix232
thank you for the clarification. Yes, being able to wake up the system from shutdown mode via touch would be nice (like it is already possible using an RTC timer or alarm).
Thanks
Felix
Hi guys
I've found that the SD card only seems to be read when it already is inserted when M5Paper is booted / reseted. Or in other words, if M5Paper already is running when I insert the SD card it is not read and going to the Factory Test Test screen returns an SD card failed. On the other hand when the SD card has been recognised and I remove it and then go to the Factory Test Test screen the SD card still passes the test.
Which leads me to my question. In the M5Paper schematic the SD card detect line is connected to GPIO34 and I already verified that reading GPIO34 actually reflects whether an SD card has been inserted or not. Has anyone already tried to use this information?
Thanks
Felix
@world101 Thanks for your reply. For the project I have in mind, I just only need beeps, but if I'm going to hack around, I'll try to attach a speaker since it would allow me to do many other things. For programming I'd go with Arduino.
@lukasmaximus
Thanks Lukas, The problem was loading the font from the internal file system.
After delete all these, and place Serial.begin in the right orde loading of the fonts was no problem. Even my DSEG7Classic-Regular.ttf was loaded correct, and display correct. Converted it with the python file ttf2bin.py was also a succes in use.
One question remains. The command "createRender(168, 256)" is used for drawing bigger text, but are there limitations?
In my case when I put a larger value as 168 the screen still blanks, notting happens, but no error message shows up. The documentation is a bit fuzzy. Please can you explane this command.
Hi guys
Power consumption update: even though the example keeps the M5CoreInk in shutdown mode (everything off except for the RTC) most of the time and only powers up for about 2 seconds every minute to do the update, the built in battery only last for about one week.
Thanks
Felix
I saved a copy of the IP5306_I2C data sheet from a long time ago. In this table, I see the charge current can be set by the CHG_DIG_CTL0 register (see the formula). I would assume the M5stack designers took care of setting the max charge current with that register bits 0 through 4, though I could be wrong.
If you want the entire data sheet, let me know.