SetWiFi_Mic is an M5Stack program for setting up WiFi. Record the SSID and password on M5Stack's NVS (non-volatile storage device). SetWiFi_Mic supports calling of SD-Updater, so please put SetWiFi_Mic.bin file in microSD and load it using SD-Uploader. You can easily install SD-Updater by using M5Burner_Mic.
- in M5_Gamebin ... 4M minimal SPIFFS partition scheme.
- in MD_Gamebin ... 4M default partition scheme.
- in MF_Gamebin ... Fire defaut partition scheme.
- in OG_Gamebin ... bin file for Odroid-GO.
- in odroid/firmwares ... fw file for Odroid-GO Menu Control.
- Copy the files in the microSD folder to the root of microSD.
- Set the microSD into the M5Stack / Odroid-GO
- Select and launche the program with LovyanLauncher.
- For the original Odroid-GO device firmware menu control, no launcher is needed (see below).
1. Power Switch Off
2. Hold B button, Power Switch On
3. Release B button when device firmware Menu appears.
Launch an app
- A button: Select Application F/W
- B button: Cancel
- Start : Write Application F/W
When you start SetWiFi_Mic, it will look like the image below.
- You connect to M5Stack at 115,200 bps with Arduino's serial monitor or common terminal software.
- You can enter the SSID and password from the software.
If you make a mistake, SetWiFi_Mic has no function such as "Delete" or "Backspace". In such a case, please press the A button and input from the beginning again.
M5Stack can do WiFi setting by SmartConfig. This function is the setting method supported by ESP8266 and ESP32, and can use the same application as the connected WiFi environment of the smartphone using the smartphone application.
- Press B to enter Smart Config mode.
- The image below shows the QR code of the download destination of the app for iOS application and for Android. Also, if you press the A button or C button, only one QR code will be displayed, so if it is difficult to read, please display only one and read it with your smartphone.
The smartphone app that you install is an application called Esptouch of the company Espressif of the ESP32 which is a microcomputer of M5Stack. Below is the download URL of iOS and Android of that App. It is easy for you to have the App installed.
Esptouch for iOS
https://itunes.apple.com/jp/app/id1071176700
Esptouch for Android
https://git.io/fjUSl
- Enter the password of the SSID (the smartphone is connected) in the "Password" field in the Esptouch app.
- Press the "Confirm" button and wait for a while to complete the settings.
You can call the configured SSID and password with the following code (These are the same as WiFi settings of LovyanLauncher).
#include <Preferences.h>
Preferences preferences;
preferences.begin("wifi-config");
mySSID = preferences.getString("WIFI_SSID");
myPSWD = preferences.getString("WIFI_PASSWD");
preferences.end();
ver 1.0.1: 2019/ 5/24 ODROID-GO compatible
ver 1.0.0: 2019/ 3/27