1. Monitor

In this example, you will learn to monitor POT value by displaying it on web browser. One can display values of several sensors on a single or multiple web pages. Note that, the values will be updated on refreshing web page. For updating results in stream, see this example.


- Get an Arduino board, POT and few jumpers
- Connect a POT at analog pin# A0
- Connect Arduino board with computer

swDuino monitor example


- Open Arduino IDE
- Install swDuino Arduino library (if not yet installed)
- Open example: Files > Examples > swDuino-Lib > write sketch
- Upload it to Arduino board


- Open swDuino
- Configure Serial/COM and HTTP/Web server (optional)
- Start swDuino Server

Web browser

- Open web browser
- Browse this page: http://[server]:[port]/files/examples/monitor.html (click here if you have used the default configuration for HTTP/Web server)
- Go to Output to experience results

swDuino monitor example output