Skip to content

Sharif-University-ESRLab/fall2024-qt-application-framework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

QT Home

A Qt application and a server to control it on a Raspberry Pi. This project enables seamless interaction between the application and the server, allowing for efficient management and operation on the Raspberry Pi platform.

Tools

In this section, you should mention the hardware or simulators utilized in your project.

  • Qemu
  • QT
  • Django
  • Raspberry Pi 3B

Implementation Details

The application on the Raspberry Pi was developed using Qt Creator and QML, providing a robust and interactive interface. For communication between the application and the server, we implemented WebSocket, which facilitates real-time data exchange. The server was built using Django along with its specialized libraries, enabling a powerful backend system. It includes a user interface for controlling the Raspberry Pi, ensuring smooth management operations. The connection between the server and the application is maintained through WebSocket, allowing for efficient and seamless interaction. Additionally, we utilized QEMU to create a customized image for deploying on the Raspberry Pi. This custom image includes all the necessary tools and dependencies required to run the application, streamlining the deployment process and ensuring a ready-to-use environment.

How to Run

Build Image

Download the QT shared libaries and you base image and Run the folloing script to create a custom image

  bash ./code/build-image.sh

Run server

For running server you should first install all requirements.

pip install -r requirements.txt

After that you can run server using this command:

daphne -p 8000 server.asgi:application

Related Links

Authors

  • Mahdi Alizadeh
  • Nima Najafi
  • MohammadHosein Salimi

About

hardware-lab-sharif-university-of-technology-fall2024-hwlab_template created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 35.2%
  • QML 26.1%
  • Python 25.9%
  • Shell 5.7%
  • JavaScript 3.7%
  • CMake 1.7%
  • Other 1.7%