This project involves setting up a Python web server that retrieves data from the ATmega8(or ATmega16) microcontroller and displays it on a web page.
- Python 3.x
- ATmega8 microcontroller
- Web browser
- Clone or download the project repository to your local machine.
- Ensure that Python 3.x is installed on your system.
- Ensure that flask and pyserial is installed.
- Connect the ATmega8 microcontroller to your computer and ensure it is properly configured to communicate with Python.
- Navigate to the project directory on your terminal or command prompt.
- Run the Python web server script using the following command:
python webserver.py python restserver.py python comm.py
- Open your web browser and navigate to the specified address (usually http://localhost:8080) to view the data retrieved from the ATmega8.
- Modify the
webserver.py
script to adjust settings such as port number, data retrieval methods, and webpage layout as per your requirements. - Modify the `comm.py´ to ajust the COM serial Port.
- Ensure that the ATmega8 is properly configured to send data to the Python web server.
This project is not licensed.