The projects in this article introduce the reader to the MVC Web Framework for the Arduino platform. The framework is covered in considerable detail in the book Arduino Web Development: Pushing the Limits, which is available on Amazon in digital format. Together with coding examples and exercises, the book content builds the skills necessary for developing sophisticated web applications for the Arduino platform.
Download the Source Code
Use the links below to download the projects source code and framework libraries. Please review readme files and comments in the code to ensure additional libraries are installed.
All the source code can be built and deployed using the latest Arduino IDE. A more productive Arduino web development environment can be attained by using the freely available Visual Studio Code (VS Code). Using the MVC view generation utility, VS Code can build and deploy Arduino web projects that have Arduino Server Pages.
Boards and Components Required
The projects target the Arduino Uno R3 with an ethernet shield, but can be adapted to work with other Arduino and compatible boards. The first four projects use a low cost and easily available 9 in 1 sensor board. It’s not necessary for the reader to have this board, but it is used here to keep the wiring to a minimum. A PIR sensor and LEDs are also required.
The advanced projects presented here require the use of two Arduino boards. One hosts the web server, and the other hosts the main application. Communication between them is performed over serial using a text based messaging protocol. An addressable RGB LED strip is required for one of the projects, and an MP3 player shield is required for the other.
Learn About the Arduino Web Projects in More Detail
Once the source code, libraries and utilities have been downloaded, installed and configured, click the links below to learn more about the Arduino projects.