Skip to content

Simple and fast executable web server to communicate with a physical Arduino.

Notifications You must be signed in to change notification settings

Murf-y/ArduinoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Server

Description

Simple and fast web server that can be downloaded as an executable and run on any computer without python installed. The server can be used to upload code to an arduino connected to the computer.

Why?

You can use this server to upload code from a website (POST request) to an arduino connected to a computer. Hence allowing communication between a website and an arduino.

Usage

  1. Download the executable from the releases page
  2. Run the executable
  3. Send a post request to the server with the code in the body of the request
  4. The server will upload the code to the arduino

How to build the executable

pyinstaller --onefile --windowed main.py This will create an executable in the dist folder this executable can be run on any computer without python installed


To run the executable run: ```.\dist\main\main.exe``` in the src directory

How to run the server, development mode

  1. pip install -r requirements.txt
  2. python main.py

Sending a post request

In the post request body, add:

{
    "code": "code here"
}

License

Licensed under the MIT License

About

Simple and fast executable web server to communicate with a physical Arduino.

Topics

Resources

Stars

Watchers

Forks

Languages