Install DataLab on your device
DataLab turns an M5Stack or another ESP32 board into a stand-alone data logger. Choose your device, plug it in over USB and install the firmware from this page. There is nothing to download.
Choose your device
Connect and install
This browser cannot reach USB serial devices, so it cannot install the firmware. Open this page in Chrome or Edge on a computer, or install by hand as described under Other ways to install.
- Plug the device into this computer with a USB cable that carries data, not a charge-only one.
- Press Install and pick the device's serial port in the list the browser shows.
- Confirm, and keep this tab in front until the installation is complete. It takes about two minutes.
Choose a device above to continue.
Coming from DataLab 2? Tick Erase device when the installer offers it. Version 3 organises the device's storage differently and cannot read what version 2 stored. Erasing removes every setting and recording on the device.
First start
- The device restarts and opens a WiFi network called
DataLab-xxxxxx. - Join that network from a phone or a computer.
- The DataLab page opens by itself. If it does not, browse to http://192.168.4.1 while connected to that network.
Other ways to install
Download the firmware files
Flash by hand with esptool
Works from any operating system and any browser. Install
esptool
(pip install esptool), download the full image for your device, then run:
esptool --chip esp32 --baud 460800 write-flash 0x0 datalab-VERSION-DEVICE.factory.bin
The full image holds the bootloader, the partition table and the application, and always
goes to offset 0x0. To wipe a device that ran DataLab 2 first, run
esptool --chip esp32 erase-flash before flashing.
With esptool 4 and older the commands are spelled write_flash and
erase_flash.
Update a device that already runs DataLab 3
No cable needed. Download the update image for your device and upload it on the firmware update page of the device's own web interface. Settings and recordings are kept.
It does not work
- No serial port in the list. Try another cable and another USB port: many cables only charge. Depending on the device, the computer may need the driver for its USB chip (CH9102, CH340, CP210x or FTDI).
- The port cannot be opened. Close every other program that uses it, such as a serial monitor or the Arduino IDE.
- The installer cannot connect to the chip. Put the device in download mode by hand: hold the BOOT or G0 button while plugging it in. On an AtomS3, hold the reset button for two seconds until the green light comes on. Press reset or replug the device once the installation is finished.
- The device restarts in a loop after installing. Install again and tick Erase device. If that does not help, check that the device chosen above matches yours, in particular its flash size.
Still stuck? Open an issue and say which device you have.