Move servos over web
Forums:
After some initial learning issues, the Ultraborg is working
It's awesome great job guys.
My question is do u have software or can recommend any that would
Allow me to move my servos over a web page ?
Just thought I'd ask before I go off and reinvent the wheel !
Thank u !
M
piborg
Wed, 09/23/2015 - 14:21
Permalink
UltraBorg Web UI
As it happens we have been working on a web based UI for UltraBorg:
It is all open source, you can find it on GitHub : https://github.com/piborg/ultraborg-web
To install it on to your Raspberry Pi run the following commands:
To run the script use this command:
sudo ~/ultraborg-web/ubWeb.py
Then simply open the web browser on you computer or phone and go to the IP address of your Raspberry Pi
There is some more detailed information on the GitHub page.
Any comments or suggestions would be great, at the moment it is basically just a clone of the demo GUI provided by the standard examples.
batesm0t3l@outl...
Wed, 09/23/2015 - 16:20
Permalink
Awesome thanks Guys !! Great
Awesome thanks Guys !! Great starting point I'll let you know how I get on.
batesm0t3l@outl...
Wed, 09/23/2015 - 16:34
Permalink
Just one query, whats
Just one query, whats creating the webserver ? Flask ?
piborg
Wed, 09/23/2015 - 18:20
Permalink
Python webserver
Put simply, Python itself.
We are using the standard SocketServer library for dealing with the network (TCP) connections.
The script itself then handles the raw HTTP request itself.
This is fairly simple as it only responds to GET requests, it then uses the address requested to decide what to do.
The script also builds up the raw HTML / HTTP reply and uses the SocketServer to send it.
batesm0t3l@outl...
Mon, 09/28/2015 - 13:33
Permalink
Which Browser ?
For anyone using this, I find it works great in Chrome, but I get very weird layouts in IE 11 and firefox 40.0.3
See screen shots
piborg
Mon, 09/28/2015 - 14:39
Permalink
Formatting bug
It turns out I had a couple of
%%
symbols in the code where it should have been just%
.I have fixed these in GitHub, it now formats correctly in FireFox.
Strangely enough both on the BlackBerry and using Maxthon the formatting already came out as intended.
While Chrome did look reasonable it was still not quite what was intended, the numbers should line up with the sliders.
To update to the latest version use these commands:
batesm0t3l@outl...
Mon, 09/28/2015 - 16:40
Permalink
awesome thanks guys ! Great
awesome thanks guys ! Great Job.