Monitoring linux server using arduino, ethernet module, LCD and PHP.
- An Arduino Uno
- A Linux server with php support (debian/nginx)
- Ethernet module (ENC28J60)
- EtherCard Library
- 16 x 2 LCD screen
- Download arduino sketch
- install EtherCard Library
- Configure the lcd pin connections
- Configure Ethernet module pin connections
- VCC - 3.3V
- GND - GND
- SCK - Pin 13
- SO - Pin 12
- SI - Pin 11
- CS - Pin 10
- Upload data.php to your web server
- update remote server IP address and path to php script in arduino sketch
- DHCP is enabled by default , You can set static IP for arduino if needed
- Connect the ethernet cable and upload the sketch to arduino
- Adjust the
HTTP_HEADER_OFFSET
value if the readings looks incorrect - Use serial monitor for debugging
I have only tested it on my debian/nginx VPS , you may need to adjust the HTTP_HEADER_OFFSET
value to remove any unwanted http headers.