Skip to content

MicroSD

Patrick Sonnerat edited this page Dec 11, 2021 · 2 revisions

Setup the micro SD (now deprecated with SoftAP)

See how to setup your micro SD directly with SoftAP.

With your Windows computer

Plug your memory to the PC either directly or through an adapter and verify it’s formatted FAT32.

Copy these two files from the project folder SD: C:\Users\...\Downloads\M5_NightscoutMon-master\M5_NightscoutMon\SD to the SD memory.

Note: Don’t copy the folder: just these two files

Open the M5SN.ini file with a text editor, like Notepad.

With your Mac computer

Plug your memory to the Mac either directly or through an adapter and verify it’s formatted FAT32. Copy the two files below to the SD memory.

Note: Don’t copy the folder: just these two files

With an Android phone

If you don't have a way to read it on your PC and you have an Android phone, insert it in your phone.

Install https://play.google.com/store/apps/details?id=com.rhmsoft.edit on your phone to edit the M5NS.ini file.

Minimal setup

Once you've opened the M5NS.ini with a text editor, add your Nightscout site or Sugarmate json address here.

If your Nightscout site uses https (default) enter the name directly like in the example.

[config]
nightscout = yoursite.herokuapp.com

If your Nightscout site uses http include it:

nightscout = http://yoursite.herokuapp.com

Only if your Nightscout site is secured add the following line:

token = your_security_token

Make sure the local web server is enabled, like this you'll continue the configuration with a browser later.

device_name = M5NS
disable_web_server = 0

Browse down the file to [wlan1]:

[wlan1]
ssid = ssid1
pass = pass1

Replace ssid1 with your Wi-Fi network name.

Replace pass1 with your Wi-Fi network password.

Save the file and exit the text editor.

Place the SD card in your M5Stack device. Don't miss the slot else it might fall inside the device and you'll have to open it to recover the memory...

Clone this wiki locally