This paper will design a network camera, use STM32 (MCU Microcontroller), establish P2P (Peer to Peer) network architecture transmission through UDP protocol. We chose a digital camera (OV5640) because it supports JPEG Compression Mode. The purpose is to transmit the image to the remote user, and the client registers with the P2P (Peer to Peer) server to establish a connection request, then achieving UDP traversal across the network through the NAT penetration principle. We use the Cypress WICED N02 platform (STM32F4XX + Wi-Fi) to register with the P2P server over the wireless network, and the client sends a connection request to the P2P server. It is required to establish a connection with the target device (Camera Device), and the image is transmitted to the client through the UDP protocol. The P2P server is used only for establishing connection during transmission, and there is no intervention at all. Compared with the traditional Client-Server network architecture, the transmission cost of the P2P network architecture is very low.
Computer, Consumer and Control (IS3C), 2016 International Symposium on