Category: Project

Under this project category will include all the project I have done so far

  • 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

  • My own creation – the robotic finger

    Introduction This project represents the culmination of my high school journey, where I have focused on creating an electronic device. The main aim of this project is to gain knowledge and skills in developing an Internet of Things (IoT) device for home automation. The end result is a product that enables me to control a… Read more

  • Raspberry Pi-Based Ping Testing for 60 Days

    Table of contents Introduction In certain projects, it is essential to ensure the connectivity of the 4G/LTE cellular network at specific locations. To do this, I plan to regularly ping a chosen hostname (such as 8.8.8.8) using a mobile network, with a frequency of once per second. The ping results will be saved to an… Read more

  • How to shrink and expand SD card partition running in Orange Pi (A step by step guide)

    ,

    This blog is separated into 2 parts, Shrinking the image and Expanding SD card. Beware that it is possible to expand SD card partition with Gparted as well, but in this project, we will be using bash file instead. Part 1: Shrinking the image (Using Gparted) Installation of Rufus, Gparted & Win32DiskImager How to move… Read more

  • Shrinking and expanding the partition size of an SD card running in Orange Pi

    When I began my internship at a company based in Hong Kong, my first assignment was to streamline the process of copying code and Ubuntu from a 128GB SD card to 100 new SD cards for the front-end engineers. We were using Win32diskimager on a Windows computer to create a raw image file of the… Read more