Tag: Web-based console
-
Web-Based console for Raspberry Pi: procedure to show the console
-
Web-Based console for Raspberry Pi: webpage content update
The web-based console of Raspberry Pi utilizes three HTML files: login.html, index.html, and config.html. To illustrate the interaction between an HTML file and the server.py file (which utilizes the Tornado framework) for updating webpage content without needing to reload the entire web page, let’s take index.html as an example. The data flow for reading and… Read more
-
Web-Based console for Raspberry Pi: Tornado framework
After conducting extensive research online, I discovered that the Tornado framework is highly regarded in the field of web development. Developers often opt for Tornado because of its exceptional capability to handle asynchronous operations, making it a sought-after choice for creating scalable and responsive web applications. By harnessing the power of non-blocking I/O and an… Read more
-
Web-Based console for Raspberry Pi: HTTP GET and HTTP POST
In this project, HTTP GET and HTTP POST are by Ajax in HTML file to talk with python file “server.py”. The main difference between HTTP GET and HTTP POST requests lies in how the data is transmitted and the intended purpose of each request type: In summary, GET requests are used for retrieving data, while… Read more
-
Web-Based console for Raspberry Pi: JSON data
In this Raspberry Pi project, JSON data is utilized as an interchange format between the front-end HTML/JavaScript and the back-end Python programs. In this post, let’s delve into the topic of JSON data, specifically focusing on its role in this project and providing examples of how it is used in the programs. JSON (JavaScript Object… Read more
-
Web-Based console for Raspberry Pi: python code to control GPIO
The GPIO pin status on a Raspberry Pi is managed through the /sys/class/gpio/ directory in the Linux file system. This directory contains a series of files and directories that allow you to interact with the GPIO pins. When you configure a GPIO pin as an input or output, a corresponding entry is created in the /sys/class/gpio/ directory. The naming… Read more
-
Web-Based console for Raspberry Pi: debug methods
To effectively fix problems with webpages, both front-end and back-end development require different tools. The Chrome Developer Tools is a powerful toolkit specifically designed for front-end developers. It offers an extensive set of features and utilities to help debug issues, optimize performance, and improve the user experience of websites and web applications. To access it,… Read more
-
Web-Based console for Raspberry Pi: front-end and back-end development
IP-enabled devices generally offer a web-based interface for managing and configuring them. In this particular case, I have created web-based login page, dashboard and configuration page for a Raspberry Pi4B controlling two LEDs. This project exemplifies the standard process of front-end and back-end development. Front-end development encompasses the creation of the user interface and design… Read more