Skip to content

DIYables/arduino-uno-r4-web-server-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Uno R4 WiFi and DIYables STEM V4 IoT Web Server Library - UnoR4WiFi_WebServer

This Arduino library provides an easy-to-use interface for creating multi-page web servers on the Arduino Uno R4 WiFi board and DIYables STEM V4 IoT.
It enables fast and reliable HTTP request handling, routing, and response generation for your web-based Arduino projects with multiple interactive pages.

  • Multi-page web server support with unlimited page routing capabilities
  • Simple routing system with support for GET, POST, and other HTTP methods
  • Built-in query parameter parsing for dynamic content generation
  • JSON data handling for modern web API development
  • Template-based HTML responses with placeholder replacement for dynamic web content
  • Default 404 error page provided, with support for custom error page handling
  • WebSocket support for real-time bidirectional communication (built-in)
  • HTTP Basic Authentication for secure access control (optional, disabled by default)
  • Compatible with Arduino Uno R4 WiFi board and DIYables STEM V4 IoT

With this library, you can easily create professional multi-page web interfaces and APIs for your Arduino Uno R4 WiFi and DIYables STEM V4 IoT projects, allowing users to navigate between different pages seamlessly.

Arduino Uno R4 WiFi and DIYables STEM V4 IoT

Product Link

Features

  • Multi-page web server with unlimited routing capabilities
  • WebSocket server support with real-time bidirectional communication
  • HTTP Basic Authentication for secure access control (optional, backward compatible)
  • Simple HTTP server with routing capabilities
  • Query string parameter parsing
  • JSON request/response handling
  • Template-based HTML generation for dynamic web content
  • Default 404 error page provided, with support for custom error page handling
  • WiFi connection management
  • Real-time status updates
  • RESTful API support
  • WebSocket support for real-time bidirectional communication

Available Examples

  • WebServer.ino: Multi-page web server with routes for home, temperature, and LED control pages. Demonstrates fundamental routing and HTML template usage across multiple interconnected pages.
  • WebServerJson.ino: Advanced JSON API server example. Shows how to handle POST requests with JSON data and return JSON responses for RESTful API development.
  • WebServerQueryStrings.ino: Interactive multi-page web server demonstrating query parameter parsing. Features dynamic content generation based on URL parameters for temperature units and LED control with seamless page navigation.
  • WebServerWithWebSocket.ino: Advanced multi-page web server with real-time WebSocket communication using the integrated library. Demonstrates both HTTP and WebSocket functionality for live data exchange and real-time control.
  • WebServerWithAuthentication.ino: Simple web server with HTTP Basic Authentication protection. Shows how to enable/disable authentication and secure your Arduino web server with username/password protection.

Tutorials

References

Tested Hardware

Board Tested Notes
Arduino Uno R4 WiFi Fully supported
DIYables STEM V4 IoT Fully supported
DIYables STEM V4 IoT Starter Kit Fully supported

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published