Skip to content

WIZnet Pico HTTPS Camera Streaming(Security Web Server)

A secure Ethernet camera powered by the W6300 and RP2350, featuring HTTPS encryption, account-based authentication, and dual-core image processing.

TheoIm

Published December 01, 2026

WIZnet Pico HTTPS Camera Streaming(Security Web Server)

Components

Hardware components

x 1


x 1



Project description

Overview

Many low-cost network cameras send plain HTTP and ship with a default password. This firmware turns a W6300-EVB-Pico2 and a DVP camera into a wired camera without either problem. The picture and the password travel over HTTPS, and there is no default account.

Open https://192.168.11.7/ in a browser on your own network, log in, and watch. There is no cloud service and no app.

DVP camera --8-bit parallel--> W6300-EVB-Pico2 --Ethernet--> browser
(OV2640, B0554)                (HTTPS server)   https://192.168.11.7/
WIZnet Pico HTTPS Camera Streaming(Security Web Server), Overview
ItemValue
Camera addresshttps://192.168.11.7/ (fixed, no DHCP)
Accountsadmin (changes settings), viewer (watches only)
Live streams at once1
OV2640800x600, 17 fps
Arducam B0554 (3MP)1280x720, 30 fps

The W6300 handles TCP/IP in hardware. The RP2350 does the HTTPS encryption and the camera capture: one core captures the next frame while the other encrypts and sends the last one.


How It Compares

We compared small cameras built on the OV2640 sensor, using what each maker has published. Names are withheld.

 LinkEncrypted streamExternal RAMPublished speed at 800x600
This project (W6300-EVB-Pico2 + OV2640)Wired EthernetHTTPS, measuredNot needed17.28 fps, received over Ethernet
Wired PoE camera AWired Ethernet, PoEVendor examples use HTTP and RTSP8 MB fittedNot published
Wired board B with a camera shieldWired EthernetNot stated8 MB fittedNot published
Wi-Fi camera board CWi-FiHTTPNot stated8.25 fps, received over Wi-Fi (research paper)

Note: The test conditions differ, so this table is not a speed ranking. The OV2640 datasheet maximum at 800x600 is 30 fps; the numbers above are what a client really received over the network. Based on public documents as of 2026-12-01.

"External RAM" means a memory chip added next to the MCU. This project keeps its frame buffers in the RP2350's own memory: 272 KB of its 532 KB is in use.


Required Hardware and Software

Hardware

  • W6300-EVB-Pico2
  • A camera module: OV2640 DVP module, or Arducam Quick-Bootup 3MP DVP camera (B0554)
  • Jumper wires, USB cable and Ethernet cable
  • WIZPoE-P1 PoE module and a PoE switch or injector (optional, to power the camera from the LAN cable)

Software

  • Git, CMake, the Arm GNU toolchain and Python 3 with the cryptography package
  • A serial terminal such as Tera Term
  • A browser

Note: There is no prebuilt firmware file. HTTPS needs a secret key inside the camera, and one shared file would give every camera the same key. The build makes a new key and certificate for your camera.


How to Run the Camera

Step 1: Wire the camera

Camera pinW6300-EVB-Pico2Note
3V3 / VCC3V3(OUT)Check your module's supply voltage
GNDGND 
SDA (SIOD)GP0Camera control data
SCL (SIOC)GP1Camera control clock
VSYNCGP4Marks each frame
D0 to D7GP5 to GP12D0 on GP5, D7 on GP12
PCLKGP13Pixel clock
HREFGP14Marks each line
PWDNGP27Power-down
XCLKGP26OV2640 only. The B0554 has its own clock

Step 1: Wire the camera

Note: Keep D0 to D7, PCLK and HREF on GP5 to GP14 in this exact order. The board reads these ten pins as one block, so one swapped wire shifts every byte of the picture.

Step 2: Build the firmware

git clone --recursive https://github.com/theoim/WIZnet_ArduCAM_Stream.git
cd WIZnet_ArduCAM_Stream
python -m pip install cryptography

cmake -S . -B build_ov2640 -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCAMERA_MODULE=ov2640_dvp
cmake --build build_ov2640 --target camera_stream_https

For the Arducam B0554, use -DCAMERA_MODULE=arducam_b0554. On Linux or macOS, leave out -G "MinGW Makefiles".

The first cmake run also creates the certificate and prints the command that makes your PC trust it. Keep that command for Step 4.

Step 3: Flash it and set the PC address

  1. Hold BOOTSEL, plug in the USB cable and copy build_ov2640/examples/camera_stream/camera_stream_https.uf2 to the drive that appears.
  2. Connect the board to the PC with the Ethernet cable.
  3. Set the PC's Ethernet adapter to 192.168.11.100, subnet mask 255.255.255.0.
  4. Run ping 192.168.11.7 and check that the camera answers.

To use another address, build with -DCAM_IP=192.168.1.50. The certificate is made for that address too.

Step 4: Trust the certificate once

On Windows, run:

certutil -addstore -user Root "%USERPROFILE%\.camera-stream-ca\ca.crt"

Then restart the browser. The build created a small certificate authority of your own and signed the camera's certificate with it. After you trust it once, every camera you build is trusted. Keep the ca.key file private.

Step 5: Create the admin account and watch

  1. Open https://192.168.11.7/. The page shows Set up this camera.
  2. Type setup in the board's terminal. The terminal prints the line shown below.
  3. Reload the page, enter a user name and a password of 10 characters or more, and click Create admin.
[auth] setup mode OPEN for 5 minutes - create the admin in the browser

Step 5: Create the admin account and watch

Live performance on the page shows the frame rate, the data rate and where each frame's time goes. Access & accounts is where the admin adds a viewer.


Testing

Measured over HTTPS with one logged-in viewer. A script reads the stream for 30 s and counts complete JPEG frames.

CameraSizeFrame rateAverage frameData rateDroppedReading a frameSending a frame
OV2640800x60017.28 fps12.8 KB1.8 Mbps0 of 52347 ms5 ms
Arducam B05541280x72030.15 fps24.8 KB6.2 Mbps0 of 90722 ms10 ms

Sending is faster than reading on both cameras, so the camera sets the frame rate, not the network or the encryption.

Security checkResult
First HTTPS connection181 ms
Reconnecting (resumed session)4 to 28 ms
Logging in357 ms, slow on purpose so that guessing passwords is slow
88 automated checks: routes, bad requests, login, roles, session, lockout88 / 88 on both cameras, three runs in a row

Conditions and raw numbers are in the test results.


Troubleshooting

The browser shows a security warning

The certificate authority is not trusted on this PC, or the browser was not restarted. Do Step 4 again.

The page says "No admin account yet"

Setup mode is closed. Type setup in the terminal and reload the page within 5 minutes.

The picture freezes or keeps reconnecting

The camera sends one live stream at a time. Two tabs in the same browser keep taking the stream from each other. Close the other tabs, wait about 30 s and reload.

Black picture or no frames

Check the wiring of Step 1, especially D0 to D7 and PCLK. For the OV2640, XCLK on GP26 must be connected.

The OV2640 is slow at 640x480

Use 800x600. It is the sensor's native preview mode and the fastest size. 640x480 reads the whole sensor area and was measured at 5.9 fps.

cmake stops with "HTTPS certificate not made"

Python's cryptography package is missing. Run python -m pip install cryptography and run cmake again.


Before You Deploy

  • One live stream at a time. The full frame rate goes to one viewer. The admin can take the stream over from a viewer.
  • Fixed IP and MAC address. For two cameras on one network, change both when you build.
  • The private key is inside the firmware file. Do not share the .uf2 file or the build directory. Build once per camera.
  • The certificate is valid for 397 days. Rebuild to renew it.
  • Setup and factory reset need the USB console. Keep the board where strangers cannot plug into it.
  • Two cameras are tested: the OV2640 and the Arducam B0554. The OV3660 pin map is in the repository, but it is not tested yet.

Extending

Project code is Apache-2.0. Mbed TLS is Apache-2.0, the Raspberry Pi Pico SDK is BSD-3-Clause, the WIZnet ioLibrary is MIT and the OV2640 register tables are from ArduCAM (MIT).

Comments

Similar projects you might like

Comments