Sugar Cam Tutorial: Web-based Streaming
Web-based Streaming
Live video feed from the Sugar Cam can be viewed on a webpage in this mode.
In the web browser, input the Sugar Cam's IP Address and add ":80" to the end. For example, if the IP Address of the camera is 192.168.0.162, then you should type 192.168.0.162:80 to the web browser.
The buttons on the webpage will trigger Sugar Cam to send the following serial data.
Button Name | Serial String |
---|---|
Up | CMD_UP |
Down | CMD_DOWN |
Left | CMD_LEFT |
Right | CMD_RIGHT |
Function 1 | CMD_FUNC1 |
Function 2 | CMD_FUNC2 |
Micro:bit Sample Program
Last updated