M5Stack ESP32
1. use uPyCraft
https://randomnerdtutorials.com/install-upycraft-ide-windows-pc-instructions/
2. Tools > Burn Firmware - m5stack-20180516-v0.4.0.bin
Connect to Putty
1. Open Putty
2. Select 'Serial' Connection
3. Port: COM7, Speed 115200
4. exec(open('./main.py').read(),globals())
M5Cloud
How to make it connect to wifi
1. Burn with M5Cloud firmware
https://github.com/m5stack/M5Cloud/tree/master/firmwares
2. Connect to wifi using http://192.168.4.1/
3. Add device via http://io.m5stack.com
M5 UI-Flow
1 Instruction
https://medium.com/mmp-li/m5stack-with-ui-flow-b6d1a37385b0
1.1 How to burn firmware https://docs.makerfactory.io/m5stack/related-documents/burn-firmware/
1.2 M5Burner https://github.com/m5stack/M5Stack-Firmware
Arduino
1 Install Arduino IDE
- [1] arduino ide
- [2] arduino on vscode
2. Install ESP32 board on Arduino IDE
https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
3. Set port
4. load library: Sketch > Include Library > Manage Library > Type 'M5Stack' > Search and install
5. File > Example > M5Stack > /// whatever
Support MQTT using PubSubClient
1. load library: Sketch > Include Library > Manage Library > Type PubSubClient
Troubleshoot
1. Get error
Sketch too big. BLEDevice::init() consumes 713 352 bytes of program storage
https://randomnerdtutorials.com/install-upycraft-ide-windows-pc-instructions/
2. Tools > Burn Firmware - m5stack-20180516-v0.4.0.bin
Connect to Putty
1. Open Putty
2. Select 'Serial' Connection
3. Port: COM7, Speed 115200
4. exec(open('./main.py').read(),globals())
M5Cloud
How to make it connect to wifi
1. Burn with M5Cloud firmware
https://github.com/m5stack/M5Cloud/tree/master/firmwares
2. Connect to wifi using http://192.168.4.1/
3. Add device via http://io.m5stack.com
M5 UI-Flow
1 Instruction
https://medium.com/mmp-li/m5stack-with-ui-flow-b6d1a37385b0
1.1 How to burn firmware https://docs.makerfactory.io/m5stack/related-documents/burn-firmware/
1.2 M5Burner https://github.com/m5stack/M5Stack-Firmware
Arduino
1 Install Arduino IDE
- [1] arduino ide
- [2] arduino on vscode
2. Install ESP32 board on Arduino IDE
https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
3. Set port
4. load library: Sketch > Include Library > Manage Library > Type 'M5Stack' > Search and install
5. File > Example > M5Stack > /// whatever
Support MQTT using PubSubClient
1. load library: Sketch > Include Library > Manage Library > Type PubSubClient
Troubleshoot
1. Get error
Sketch too big. BLEDevice::init() consumes 713 352 bytes of program storage
Solution
Change sized in C:\Users\xxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\board.txt
Link
2. Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
https://github.com/espressif/arduino-esp32/issues/1682
Reference
[1] M5Stack Arduino Library
[2] Product
[3] Beginner
[4] M5Stack Micropython
[5] Install Micropython
[6] Putty
[7] M5Cloud
[8] M5Stack Arduino
[9] MultiApp
[10] mqtt simple
[11] bluetooth by naoki
[12] Arduino ESP32 connect MQTT
[13] Arduino ESP32 connect BLE
[14] MiBand Code Service
[15] Characteristic UUID
[16] Characteristic UUID2
Link
2. Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
https://github.com/espressif/arduino-esp32/issues/1682
Reference
[1] M5Stack Arduino Library
[2] Product
[3] Beginner
[4] M5Stack Micropython
[5] Install Micropython
[6] Putty
[7] M5Cloud
[8] M5Stack Arduino
[9] MultiApp
[10] mqtt simple
[11] bluetooth by naoki
[12] Arduino ESP32 connect MQTT
[13] Arduino ESP32 connect BLE
[14] MiBand Code Service
[15] Characteristic UUID
[16] Characteristic UUID2
Comments
Post a Comment