SOLUTION
I found the solution:
You need to follow these steps
Remove all modules, leaving only the host
Then try to lower the baud rate when burning
If there are wires, you can short-circuit G0-GND before powering on the device and then power on again.
I had a really hard time finding how to use the Port A of the M5Grey with the Port C GPS unit. After many hours
I figured it out.
Define the pins to use:
#define APortM5DialRxPin 15 //M5Dial PortA
#define APortM5DialTxPin 13 //M5Dial PortA
#define APortM5CoreRXPin 22. //M5Grey PortA
#define APortM5CoreTXPin 21. //M5Grey PortA
Define the HardwareSerial port.
HardwareSerial GpsSerial(2);
In setup begin the serial communication
GpsSerial.begin(GPSBaud, SERIAL_8N1, APortM5CoreRXPin, APortM5CoreTXPin);
I hope this will save people a lot of time
Firmware: M5GO core
Version: 1.13.2
Use according to the guide, graph receives data for 1 cycle, M5GO crashes afterwards.
Error" File "<string> ". line 56 in addToList Exception: 16
I've successfully flashed the FACES-Firmware, using this command line
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 ./m5stack-micropython-tft-repl-v1.0.bin
After this, I got this prompt:
The OSError is due to a missing main.py. After adding this with mu-edit, the error no longer occurs.
The REPL is also available on the serial interfaces, accessing it with tio /dev/ttyUSB0
Hi, some suggestions for the next hw iteration:
connect imu irq pin
connect rtc irq pin to esp32 to let us know whether the irq comes from power button or rtc
let the buttons go out the case for easier access
reduce time of power on btn to a single click
seperate LED and IR for incognito use
add the L-R-Center button from the M5Paper
Hello @dominik
the nice thing about ESP32 and its variants (like the C3) is that different functions (like SPI) can use almost any GPIOs.
With the Arduino environment you can define the GPIOs to be used for SPI like this:
#define SCK GPIO_NUM_6
#define MISO GPIO_NUM_4
#define MOSI GPIO_NUM_7
#define CS GPIO_NUM_5
SPI.begin(SCK, MISO, MOSI, -1);
Thanks
Felix
@twostick
FYI; light sleep current pulled out of the battery depend on the battery voltage:
<2.7V device wont wake up anymore
2.7V 4.4mA
3.0V 3.9mA
3.7V 3.1mA
4.2V 2.7mA
This dependacy is caused by the DC-DC conversion that converts the Lipo voltage first to 5Vdc. (SY7088 chip).
The 5Vdc gets also down converted to 3v3 (SY8089 chip) .
According to the datasheet, the ESP itself should only use 0.8mA in light sleep. So 2mA gets waisted.
What a pitty.
dd.07-04-22:
The above is not completely true. I'm using the M5GFX lib and when I execute the function display.sleep(); before going to deep sleep (esp_deep_sleep_start();) the sleep current drops to a 1.25mA. Still considerable...
Hi,
It's actually significantly simpler to type an e after the umlauted letters, and utilize a twofold s (ss) for ß. That is how Germans treat they need to.
@felmue thank you for this quick and excellent reply!!! I will do this. Can you just tell me if I need to specify the pins as GPIO33 or 33 in the constructor
Hello @buzali
no, at the time I used the Arduino environment for my tests. RTC wakeup should be covered by this example.
In UIFlow have a look at the Restart on block. You can find it under Hardwares - Power with M5CoreInk selected as device.
Thanks
Felix
@felmue
The tip has hit the problem. I have implemented a query of the key A in the callback routine after 1 ms. Only if the key is still pressed the routine is executed. Otherwise nothing is done. Now there are no more key presses from the ghost.
Thanks
I have downloaded that and it does work.
But, your documentation leaves so much to be desired / it would be great if this could be documented somewhere rather than in a git repo.
Some of us do read documentation / and don't necessarily consider git to be documentation.
Hello @DavidoZ
why don't you try the provided example?
Strictly Serial.begin() isn't needed in setup() as M5.begin() already takes care of that. And for the communication with the SIM7600 you'll need to open Serial2. See above example.
Thanks
Felix