![]() To complete this demo you need two items: It connects to a user defined WIFI router by DHCP, then you can connect to this server via your web browser. In this demo, we create a websocket server on the ESP8266 arduino borad. Detail websocket description can be found from wiki. It allows bi-directional conversation between a browser and the server. Unlike the standard HTTP protocol, the websocket protocol only use HTTP protocol for the handshake stage and keep the connection open afterward. The standard HTTP protocol which is C/S based architecture, a client send a request to a server, the server send the information requested back to the client and close connection immediately. It is designed to be implemented in web browsers and web servers, so it can be used by any client and any platform like PCs, laptops, pads and smart phones. WebSocket is a protocol providing full-duplex communication channels over a single TCP connection. ![]() In order to transfer a photo to webpage, I have to briefly introduce the technology of websocket first. Now ArduCAM ports our camera libraries for ESP8266, you can use the ESP8266 module with ArduCAM modules to take high quality high resolution photos and save to SD card, or even to publish the photos to webpage. In this tutorial we will use ESP8266 arduino board to take photos and publish to webpage. A more detailed setup can be found from the adafruit guide. With faster CPU speed and much smaller form of factor, most important the less than $10USD price is more attractive, you are worth to try although there are also some limitations. Setup is fairly simple with downloads for Linux, OS X, and Windows. It is good news to hear that the Arduino IDE support was announced on the ESP8266 community forum, the source code can be found from . It is more than another Arduino board, but can be thought as an Arduino combined with a WIFI shield. Published by Lee Jackson on OctoOctober 4, 2015 ArduCAM now Supports ESP8266 Arduino Board with WIFI Websocket Camera Demo ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |