Wiznet makers

jaden

Published December 18, 2025 ©

97 UCC

18 WCC

55 VAR

0 Contests

0 Followers

0 Following

Original Link

Ethernet AXIS cam

https://habr.com/en/articles/108058/

COMPONENTS
PROJECT DESCRIPTION

Arduino + WIZnet Ethernet Shield로 만든

“인터넷으로 함께 움직이는 PTZ 웹캠 프로젝트”

 

1) 프로젝트 한 줄 요약

이 프로젝트는 Arduino + WIZnet Ethernet Shield를 기반으로,
누구나 웹 브라우저로 접속해 직접 카메라를 움직여볼 수 있는 유저 참여형(Interactive) 원격 PTZ 웹캠을 구현한 사례입니다.

2) 시작은 개인의 호기심, 완성은 ‘집단 체험’

작성자는 과거 대학 건물 고층에 설치된 원격 제어 웹캠을 보고 깊은 인상을 받았지만,
고가의 상용 PTZ 카메라를 구매할 여유는 없었습니다.

그러다 Arduino와 Ethernet Shield, 그리고 서보모터를 알게 되면서
직접 만들어보면 되지 않을까?”라는 생각으로 프로젝트를 시작합니다.

처음엔 단순히 개인이 원격으로 조종하는 카메라를 목표로 했지만,
웹 인터페이스를 공개하면서 이 프로젝트는 전혀 다른 성격을 갖게 됩니다.

👉 누구나 접속해서, 직접 조종해보는 ‘공개 실험장’이 된 것입니다.

 

3) 하드웨어 구성 (단순하지만 튼튼하게)

일반 USB 웹캠 (Logitech Pro 9000)

X/Y 2축 서보모터 (Pan / Tilt)

Arduino (Freeduino 2009)

WIZnet 기반 Ethernet Shield (W5100 계열)

목재 베이스 + 브래킷 구조

고가의 전용 하드웨어 없이,
누구나 구할 수 있는 부품으로 PTZ 구조를 구현한 것이 특징입니다.

 

4) 유저 참여를 가능하게 만든 시스템 구조

이 프로젝트의 핵심은 **“다수가 동시에 참여할 수 있는 구조”**입니다.

✔ 왜 Arduino에 웹서버를 직접 올리지 않았을까?

작성자는 일부러 Arduino에 복잡한 웹 UI를 넣지 않았습니다.
대신 서버 + DB 기반의 명령 큐(queue) 방식을 선택했습니다.

동작 흐름

여러 사용자가 웹 페이지에서 버튼/마우스로 카메라 제어

제어 명령이 서버의 DB(MySQL MEMORY 테이블)에 기록

Arduino는 주기적으로 서버에 HTTP GET 요청

쌓인 명령을 하나씩 받아 실행 → 카메라 회전

처리된 명령은 DB에서 제거

이 구조 덕분에:

여러 사용자가 동시에 접속 가능

웹 UI는 어디에나 배포 가능

Arduino는 단순한 네트워크 클라이언트 역할만 수행

👉 **“혼자 조종하는 장치”가 아니라 “모두가 만지는 장치”**가 되었습니다.

 

5) 진짜 재미는 테스트 단계에서 시작됐다

웹 인터페이스를 블로그에 공개하자,
사람들이 끊임없이 접속해 카메라를 움직이기 시작했습니다.

카메라는 하루 종일 쉬지 않고 회전

회사 사무실에 설치하자, 지나가는 사람마다 조종

사무실에 있던 앵무새가 카메라를 공격(?)하는 해프닝 발생

일부 사용자는 일부러 넘어뜨리려고 카메라를 좌우로 난타

결국 구조를 삼각대 마운트로 강화해야 할 정도였습니다.

이 단계에서 프로젝트는 완전히 유저 참여형 실험 플랫폼이 됩니다.

 

6) WIZnet 포인트: “안정적인 네트워크가 참여를 만든다”

이 프로젝트에서 WIZnet Ethernet Shield는 단순한 통신 모듈이 아닙니다.

다수의 유저가 만들어내는 명령을

Arduino가 지속적이고 안정적으로 HTTP 통신으로 수신

장시간 동작에도 네트워크 부담이 크지 않음

하드웨어 TCP/IP 오프로딩 구조 덕분에
Arduino는 네트워크 스택에 시달리지 않고
“유저의 행동을 실시간으로 반영하는 장치” 역할에 집중할 수 있었습니다.

👉 결과적으로,
WIZnet 기반 네트워크 안정성 = 유저 참여 지속성 이 되었습니다.

 

7) 단순한 웹캠을 넘어선 의미

이 프로젝트는 단순한 DIY 웹캠이 아닙니다.

✔ 다수 사용자가 동시에 참여하는 IoT 실험

✔ 웹 기술 + MCU + 네트워크의 결합 사례

✔ “보는 장치”가 아니라 “만지는 장치”

그리고 무엇보다,
유저가 많아질수록 더 재미있어지는 프로젝트라는 점이 핵심입니다.

 


🇺🇸 WIZnet UCC Description (User-Participatory Focus)

A User-Participatory PTZ Webcam Powered by Arduino and WIZnet

 

1) Project summary

This project demonstrates a user-participatory remote PTZ webcam,
where anyone on the internet can access a web page and directly control the camera in real time, using Arduino and a WIZnet-based Ethernet Shield.

 

2) From a personal idea to a shared experience

The project started as a personal attempt to recreate a remotely controlled webcam experience the author once saw at a university building.

However, once the web interface was made public,
the project evolved into something more interesting:

👉 A shared, interactive experiment where many users could control the same physical device.

 

3) Enabling multi-user interaction by design

Instead of hosting a full web server on Arduino, the system uses:

A server-side command queue (database-based)

Periodic HTTP polling from Arduino

Simple, stateless command execution

This architecture allows:

Multiple users to interact simultaneously

Easy deployment of the web interface

Stable long-term operation

 

4) Why WIZnet matters

WIZnet Ethernet controllers provide hardware TCP/IP offloading, which allows Arduino to:

Handle frequent HTTP requests reliably

Remain responsive even under continuous user activity

Focus on real-time servo control instead of networking overhead

This reliability is what made continuous user participation possible.

 

5) A true interactive IoT demo

As users kept interacting—sometimes playfully abusing the system—the project proved something important:

A networked device becomes far more engaging when users can directly affect the real world.

This makes the project a great example of interactive IoT using WIZnet networking.

Documents
Comments Write