---
title: "WIZnet Pico HTTPS Camera Streaming(Security Web Server)"
url: "https://maker.wiznet.io/TheoIm/projects/wiznet-pico-https-camera-streaming-security-web-server/"
markdown_url: "https://maker.wiznet.io/TheoIm/projects/wiznet-pico-https-camera-streaming-security-web-server/md"
type: "WCC: WIZnet Created Content"
author: "theo"
author_url: "https://maker.wiznet.io/TheoIm/"
original_author: "Theo"
published: "2026-12-01"
language: "en"
hardware: ["Arducam Mini 2MP Plus OV2640 SPI Camera Module", "Arducam Quick-Bootup 3MP DVP Camera for IoT", "WIZnet W6300-EVB-Pico2"]
likes: 0
views: 13
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# 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.

Original author: Theo

## Components

- **Arducam Mini 2MP Plus OV2640 SPI Camera Module** x 1
- **Arducam Quick-Bootup 3MP DVP Camera for IoT** x 1
- **WIZnet W6300-EVB-Pico2** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W6300/w6300-evb-pico2))

## Article

## 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/`](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/
```

![](https://maker.wiznet.io/upload/ckeditor5/09258d31af5143019d6f2d8b0e4a652c.jpg)

| Item | Value |
| --- | --- |
| Camera address | [`https://192.168.11.7/`](https://192.168.11.7/) (fixed, no DHCP) |
| Accounts | admin (changes settings), viewer (watches only) |
| Live streams at once | 1 |
| OV2640 | 800x600, 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.

|  | Link | Encrypted stream | External RAM | Published speed at 800x600 |
| --- | --- | --- | --- | --- |
| **This project** (W6300-EVB-Pico2 + OV2640) | Wired Ethernet | HTTPS, measured | Not needed | 17.28 fps, received over Ethernet |
| Wired PoE camera A | Wired Ethernet, PoE | Vendor examples use HTTP and RTSP | 8 MB fitted | Not published |
| Wired board B with a camera shield | Wired Ethernet | Not stated | 8 MB fitted | Not published |
| Wi-Fi camera board C | Wi-Fi | HTTP | Not stated | 8.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 pin | W6300-EVB-Pico2 | Note |
| --- | --- | --- |
| 3V3 / VCC | 3V3(OUT) | Check your module's supply voltage |
| GND | GND |  |
| SDA (SIOD) | GP0 | Camera control data |
| SCL (SIOC) | GP1 | Camera control clock |
| VSYNC | GP4 | Marks each frame |
| D0 to D7 | GP5 to GP12 | D0 on GP5, D7 on GP12 |
| PCLK | GP13 | Pixel clock |
| HREF | GP14 | Marks each line |
| PWDN | GP27 | Power-down |
| XCLK | GP26 | OV2640 only. The B0554 has its own clock |

![](https://maker.wiznet.io/upload/ckeditor5/31fe61116a9747c4887705326df997a4.png)

> **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/`](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
```

![](https://maker.wiznet.io/upload/ckeditor5/7e2187f0bd7c49a99f4638a551dff310.jpg)

**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.

| Camera | Size | Frame rate | Average frame | Data rate | Dropped | Reading a frame | Sending a frame |
| --- | --- | --- | --- | --- | --- | --- | --- |
| OV2640 | 800x600 | 17.28 fps | 12.8 KB | 1.8 Mbps | 0 of 523 | 47 ms | 5 ms |
| Arducam B0554 | 1280x720 | 30.15 fps | 24.8 KB | 6.2 Mbps | 0 of 907 | 22 ms | 10 ms |

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

| Security check | Result |
| --- | --- |
| First HTTPS connection | 181 ms |
| Reconnecting (resumed session) | 4 to 28 ms |
| Logging in | 357 ms, slow on purpose so that guessing passwords is slow |
| 88 automated checks: routes, bad requests, login, roles, session, lockout | 88 / 88 on both cameras, three runs in a row |

Conditions and raw numbers are in the [test results](https://github.com/theoim/WIZnet_ArduCAM_Stream/blob/main/docs/test-results.md).

---

## 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

- Source code and documents: <https://github.com/theoim/WIZnet_ArduCAM_Stream>

- Another address, Linux or macOS, and what the security covers: [Build and security](https://github.com/theoim/WIZnet_ArduCAM_Stream/blob/main/docs/build-and-security.md)

- Console commands, the HTTP API and how to add a camera: [Reference](https://github.com/theoim/WIZnet_ArduCAM_Stream/blob/main/docs/reference.md)

- UART values on OPC UA with the same board family: <https://github.com/theoim/WIZnet_OPCUA_Node>

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).

---

Source: https://maker.wiznet.io/TheoIm/projects/wiznet-pico-https-camera-streaming-security-web-server/
