---
title: "Arduino Ethernet Camera"
url: "https://maker.wiznet.io/WIZnet/projects/arduino-ethernet-camera/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/arduino-ethernet-camera/md"
type: "UCC: User Created Content"
author: "i_am_leo"
author_url: "https://www.instructables.com/Arduino-Ethernet-Camera/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "i_am_leo"
original_url: "https://www.instructables.com/Arduino-Ethernet-Camera/"
published: "2023-02-12"
language: "en"
hardware: ["Arduino Ethernet Shield"]
likes: 3
views: 641
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Arduino Ethernet Camera

> Ethernet Camera

Original author: i_am_leo (source: https://www.instructables.com/Arduino-Ethernet-Camera/)

## Components

- **Arduino Ethernet Shield** x 1 ([docs](https://docs.arduino.cc/retired/shields/arduino-ethernet-shield-without-poe-module))

## Article

I will introduce a Arduino ethernet Camera.

You can take a picture inside of house which have a this arduino ethernet camera by just openning the web site if you follow this contents.

It is very easy and simple way which don’t need any app. for smart phone.

Let’s start.

## **Step 1: Prepare Meterials**

[![Prepare Meterials](https://content.instructables.com/ORIG/FKU/X8QE/I622JYNS/FKUX8QEI622JYNS.jpg?auto=webp&frame=1&width=677&height=1024&fit=bounds&md=195f45e47dc9e1305b7b243162df057a)](https://content.instructables.com/ORIG/FKU/X8QE/I622JYNS/FKUX8QEI622JYNS.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=195f45e47dc9e1305b7b243162df057a)

[![Prepare Meterials](https://content.instructables.com/ORIG/FVL/8G6O/I7YLJW8L/FVL8G6OI7YLJW8L.jpg?auto=webp&frame=1&fit=bounds&md=82cca425d12c608220be183e7b83447d)](https://content.instructables.com/ORIG/FVL/8G6O/I7YLJW8L/FVL8G6OI7YLJW8L.jpg?auto=webp&frame=1&fit=bounds&md=82cca425d12c608220be183e7b83447d)

We need a several meterials.

> *1. Arduino Uno*

> *2. Arduino Ethernet Shield*

> *3. Serial Camera ( *[*https://learn.adafruit.com/ttl-serial-camera*](https://learn.adafruit.com/ttl-serial-camera)*)*

They are all…. for this project.

## **Step 2: Hardware Connection**

[![Hardware Connection](https://content.instructables.com/ORIG/F2F/9QMI/I7YLJM0B/F2F9QMII7YLJM0B.jpg?auto=webp&frame=1&crop=3:2&width=623&fit=bounds&md=0615876cc4ce837b0dbe8a180318535d)](https://content.instructables.com/ORIG/F2F/9QMI/I7YLJM0B/F2F9QMII7YLJM0B.jpg?auto=webp&frame=1&width=1024&fit=bounds&md=0615876cc4ce837b0dbe8a180318535d)

[![Hardware Connection](https://content.instructables.com/ORIG/FQJ/VWOB/I7YLJNZH/FQJVWOBI7YLJNZH.jpg?auto=webp&frame=1&fit=bounds&md=515cc7285ae02d6041042fabb41b6e0a)](https://content.instructables.com/ORIG/FQJ/VWOB/I7YLJNZH/FQJVWOBI7YLJNZH.jpg?auto=webp&frame=1&fit=bounds&md=515cc7285ae02d6041042fabb41b6e0a)

Hardware connection is very easy.

Just follow picture.

Picture shows us all of we have to connect.

## **Step 3: Prepare for Software : Library**

We need download few libraries for this project

You can download libraries in [http://arduino.cc](http://arduino.cc/)

> *Adafruit_VC0706.h (for TTL Camera)*

> *SdFat.h (for SD card)*

> *SdFatUtil.h (for SD card*

> *Ethernet.h (for Ethernet shield , default installed in Sketch)*

> *SoftwareSerial.h(for TTL Camera)*

If you downloaded them, you are ready for run this project.

## **Step 4: Software : Sketch Code**

[![Software : Sketch Code](https://content.instructables.com/ORIG/FXE/PARH/I7YLK10T/FXEPARHI7YLK10T.jpg?auto=webp&frame=1&width=547&fit=bounds&md=974e3d9abf6c9a52e8e55572c847eec8)](https://content.instructables.com/ORIG/FXE/PARH/I7YLK10T/FXEPARHI7YLK10T.jpg?auto=webp&frame=1&fit=bounds&md=974e3d9abf6c9a52e8e55572c847eec8)

Here is a sketch code we need to run this project.

Please download attached sketch file (ethernet_camera.ino)

There are little to know about this code.

1. You have to modify mac[] and ip[] as your arduino’s information.

2. To see jpg file on browser, we have to give a command to translate to jpg format as below four line.

> *client.println(“HTTP/1.1 200OK”);*

> *client.println(“Content-Type: image/jpeg”);*

> *client.println();*

> *client.print((char)c);*

**Most of all, you can study about image file, serial communication, sd card file write/read, ethernet with this sketch code.**

## **Step 5: How to Run & Test Result**

[![How to Run & Test Result](https://content.instructables.com/ORIG/FLA/IM08/I7YLJWMV/FLAIM08I7YLJWMV.jpg?auto=webp&frame=1&fit=bounds&md=d1e5adc1a59bd4cbb5e58ccb03403b6e)](https://content.instructables.com/ORIG/FLA/IM08/I7YLJWMV/FLAIM08I7YLJWMV.jpg?auto=webp&frame=1&fit=bounds&md=d1e5adc1a59bd4cbb5e58ccb03403b6e)

1. To take a picture

Just type **http:/xxx.xxx.xxx.xxx:5555/ttt** on any internet browser.

2. To See a taken picture

Just type **http:/xxx.xxx.xxx.xxx:5555/image.jpg** on any internet browser.

3. To remove a tacke picture

Just type **http:/xxx.xxx.xxx.xxx:5555/rrr** on any internet browser.

The Picture shows the result of test.

---

Source: https://maker.wiznet.io/WIZnet/projects/arduino-ethernet-camera/
