udp-servo
A Photon-powered Servo controlled over UDP
Video
You can find a demo video here
Setup
You'll need:
- Python 2.7
- A Particle Photon
- A servo motor + some wire
Running
Locally
- Run server.py
- Edit client.py and comment in the second
host
declaration - Run client.py and press "enter"
- You should see the position data being sent to the server from the client
Remotely
- Flash your Photon with the provided firmware (
application.info
) - Connect your servo to D0, VIN, and GND
- If you ran the client locally remember to edit it again and comment out the second
host
declaration - Run client.py & press "enter"
- You should see the servo's position start changing