Warning! You are not logged in. Log in or create an account to have your edits attributed to your username rather than your IP, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision
Your text
Line 86:
Line 86:
==Software==
==Software==
On the Raspberry Pi, a server is running which accepts connections from programs written in [[Python]]. This client program can make remote procedure calls to control the actuator. This is the most low-level and most powerful method of controlling the actuator; it allows easy integration with other actuators and sensors, resulting in a fully automated measurement.
On the Raspberry Pi, a server is running which accepts connections from programs written in [[python]]. This client program can make remote procedure calls to control the actuator. This is the most low-level and most powerful method of controlling the actuator; it allows easy integration with other actuators and sensors, resulting in a fully automated measurement.
For manual control, there is a program named pump-server; it connects to the Raspberry Pi using its Python interface, and hosts a web site to monitor and control the state of the actuator. The terminology it uses is set up for a syringe pump.
For manual control, there is a program named wsserver; it connects to the Raspberry Pi using its python interface, and hosts a web site to monitor and control the state of the actuator. The terminology it uses is set up for a syringe pump.
===Setup===
Get the [https://github.com/mtu-most/linear-actuator source code] from GitHub and add the following files to the same directory as pump-server:
* network.py from https://github.com/wijnen/python-network
* websockets.py from https://github.com/wijnen/python-websockets
* xdgbasedir.py from https://github.com/wijnen/python-xdgbasedir
==Web Interface==
==Web Interface==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.