🧪 New tutorials are being published — build from robot arms to sensors step by step
Skip to content

Chapter 2: Quick Start

Buy in Store

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

  1. Unzip the folder → nanocam_xxx.bin

  2. Open esptool-js

  3. Connect the NanoCam via Type-C

  4. Click Connect → select the serial port

  5. Select the firmware file, enter 0x0 as the address

  6. Click START → wait for completion

Verification

Connect the NanoCam with a serial terminal (115200 8N1); you should see:

Plain
NanoCam Board Ver:0.3.0

2.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 password

Receiving 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 Connect your phone to it, then open http://192.168.4.1 in a browser

Verification

Plain
sta_ip

Returns: sta_ip:192.168.x.x


2.3 First Frame

Output: NanoCam's live image visible in the browser

  1. Enter http://<IP address> in your browser

  2. See the live MJPEG image

  3. Send ai_mode:1 over serial → switch to cat face detection → detection boxes appear on the image

Endpoint Description

URLPurpose
http://<IP>/Live image (HTML)
http://<IP>/streamRaw MJPEG stream (readable by OpenCV/VLC)
http://<IP>/statusDevice status JSON
http://<IP>/adminWeb admin console

Next chapter: Chapter 3: Camera Basics