Chapter 2: Quick Start
Chapter goal: Flash the firmware, complete WiFi provisioning, and see the first live frame from the NanoCam in your browser.
2.1 Firmware Flashing
Steps
- Unzip the folder →
nanocam_xxx.bin - Open esptool-js
- Connect the NanoCam via Type-C
- Click Connect → select the serial port
- Select the firmware file, enter
0x0as the address - Click START → wait for completion
Verification
Connect the NanoCam with a serial terminal (115200 8N1); you should see:
Plain
NanoCam Board Ver:0.3.02.2 WiFi Provisioning
Output: NanoCam connects to WiFi and gets an IP
Method A: Serial Provisioning (Most Common)
Plain
sta_ssid:your WiFi name
sta_pd:your WiFi passwordReceiving OK → setup successful. The device reboots automatically after the password is changed.
For the complete serial commands, see the Serial Protocol Manual.
Method B: Direct AP Hotspot Connection
The NanoCam has a built-in hotspot: NanoCam-AP, password 12345678 After connecting your phone, open http://192.168.4.1 in a browser
Verification
Plain
sta_ipReturns: sta_ip:192.168.x.x ✅
2.3 First Frame
Output: NanoCam's live image visible in the browser
- Enter
http://<IP address>in your browser - See the live MJPEG image
- Send
ai_mode:1over serial → switch to cat face detection → detection boxes appear on the image
Endpoint Description
| URL | Purpose |
|---|---|
http://<IP>/ | Live image (HTML) |
http://<IP>/stream | Raw MJPEG stream (readable by OpenCV/VLC) |
http://<IP>/status | Device status JSON |
http://<IP>/admin | Web admin console |
Next chapter: Chapter 3: Camera Basics

