Re: [time-nuts] beaglebones, time, web services

2015-07-08 Thread Chris Albertson
The other complication with simple CGI BIN scripts is if you have multiple clients eating using their own browser. You have to manage cookies or track IP addresses. Or for a simple home server, just let thing fail if a second client starts making changes On Mon, Jul 6, 2015 at 7:24 PM, Jim Lux

Re: [time-nuts] beaglebones, time, web services

2015-07-08 Thread Brian Inglis
On 2015-07-04 07:13, Jim Lux wrote: I've got a project I'm working on to make a sophisticated sundial with moving mirrors. I've got a batch of Arduinos that move the mirrors to the appropriate places, given the current sun angle, etc. I've got a beaglebone that runs some python code to

Re: [time-nuts] beaglebones, time, web services

2015-07-08 Thread Jim Lux
On 7/7/15 9:59 PM, Brian Inglis wrote: On 2015-07-04 07:13, Jim Lux wrote: I've got a project I'm working on to make a sophisticated sundial with moving mirrors. I've got a batch of Arduinos that move the mirrors to the appropriate places, given the current sun angle, etc. I've got a

Re: [time-nuts] beaglebones, time, web services

2015-07-07 Thread John Laur
A small task queue or message queue would serve the purpose of tying the webserver to the other external tasks: 1) Web server queues job; 2) polls via ajax for status or they could run syncronously. Python is not my forte but there are a number that look like they integrate very well with python.

Re: [time-nuts] beaglebones, time, web services

2015-07-07 Thread Bob Camp
Hi Having done this on *very* small machines with cgi before, the lag has never been an issue. Yes, the things I do are “tweaks” to variables, or data requests. I do not try to spawn a piece of code to compute PI to 800 places and wait for the result. Bob On Jul 6, 2015, at 10:24 PM, Jim Lux

Re: [time-nuts] beaglebones, time, web services

2015-07-06 Thread Tom Harris
Since you want simple just use a CGI script written in your language of choice. Very easy technology to learn, Python has support libraries out of the box if you want. You have a webpge with carious simple controls on it like buttons etc, you click a special button that posts a request to a URL,

Re: [time-nuts] beaglebones, time, web services

2015-07-06 Thread Chris Albertson
Yes cgi scripts take a few hours to learn and take only a small processor. Drubbing a dims and all is overkill and will not perform well on the BBB. On Monday, July 6, 2015, Tom Harris celephi...@gmail.com wrote: Since you want simple just use a CGI script written in your language of choice.

Re: [time-nuts] beaglebones, time, web services

2015-07-06 Thread Jim Lux
On 7/6/15 3:19 PM, Tom Harris wrote: Since you want simple just use a CGI script written in your language of choice. Very easy technology to learn, Python has support libraries out of the box if you want. You have a webpge with carious simple controls on it like buttons etc, you click a special

[time-nuts] beaglebones, time, web services

2015-07-06 Thread Chris Albertson
Keep it simple, use a Cgi bin script. Your url is can be any executable. Any language you like. The script can do anything and then it writes out html to stdout. Simple enough. . On Saturday, July 4, 2015, Jim Lux jim...@earthlink.net wrote: I've got a project I'm working on to make a

Re: [time-nuts] beaglebones, time, web services

2015-07-06 Thread Björn
If looking at using the bbb for driving steppers. http://blog.machinekit.io/p/hardware-capes.html?m=1 /Björn ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Hal Murray
jim...@earthlink.net said: Exactly... I've got an array of mirrors on az/el mounts (two servos stacked) and the reflection from the mirrors on the wall forms the display. How many pixels in that display? Or what is the unit of quality measurement? What sort of ADEV are you aiming for? If

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Jim Lux
On 7/4/15 7:53 PM, Hal Murray wrote: jim...@earthlink.net said: Exactly... I've got an array of mirrors on az/el mounts (two servos stacked) and the reflection from the mirrors on the wall forms the display. How many pixels in that display? Or what is the unit of quality measurement? What

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Bob Camp
Hi On Jul 5, 2015, at 8:46 AM, Jim Lux jim...@earthlink.net wrote: On 7/4/15 7:53 PM, Hal Murray wrote: jim...@earthlink.net said: Exactly... I've got an array of mirrors on az/el mounts (two servos stacked) and the reflection from the mirrors on the wall forms the display. How many

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Bill Dailey
These are pricey but offer 5900 steps over 120 degrees. 0.02 degree per step. At least you could try a couple. If you have many of them it would get expensive quickly. http://www.horizonhobby.com/ds8231-ultra-precision-servo-jrps8231 Sent from mobile On Jul 5, 2015, at 7:46 AM, Jim Lux

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Didier Juges
I have been working on and off on that kind of project for a while. One type of issue you have when trying to control hardware from a web page is that any hardware access from a web server poses many issues, such as permissions and the fact that web servers are basically stateless and many are

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Jim Lux
On 7/5/15 8:43 AM, Bob Camp wrote: Hi On Jul 5, 2015, at 8:46 AM, Jim Lux jim...@earthlink.net wrote: On 7/4/15 7:53 PM, Hal Murray wrote: jim...@earthlink.net said: Exactly... I've got an array of mirrors on az/el mounts (two servos stacked) and the reflection from the mirrors on the wall

Re: [time-nuts] beaglebones, time, web services

2015-07-05 Thread Bob Camp
Hi On Jul 5, 2015, at 3:17 PM, Jim Lux jim...@earthlink.net wrote: On 7/5/15 8:43 AM, Bob Camp wrote: Hi On Jul 5, 2015, at 8:46 AM, Jim Lux jim...@earthlink.net wrote: On 7/4/15 7:53 PM, Hal Murray wrote: jim...@earthlink.net said: Exactly... I've got an array of mirrors on az/el

[time-nuts] beaglebones, time, web services

2015-07-04 Thread Jim Lux
I've got a project I'm working on to make a sophisticated sundial with moving mirrors. I've got a batch of Arduinos that move the mirrors to the appropriate places, given the current sun angle, etc. I've got a beaglebone that runs some python code to calculate sun angle based on time The

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Jim Lux
On 7/4/15 11:45 AM, Bill Dailey wrote: Pysolar Sent from mobile Pysolar: staring directly at the sun since 2007 excellent.. thanks.. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Simon Marsh
On 04/07/2015 14:13, Jim Lux wrote: ... BUT now, I'd like to add a web interface, so that it can be manipulated by a mobile device using a browser. ... Is the best scheme to go in and modify the webserver code to look for specific URLs requested, and then fire off some custom code to do what

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Steve Berl
pyEphem will get the sun position stuff for you. -steve On Sat, Jul 4, 2015 at 6:13 AM, Jim Lux jim...@earthlink.net wrote: I've got a project I'm working on to make a sophisticated sundial with moving mirrors. I've got a batch of Arduinos that move the mirrors to the appropriate places,

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Bill Dailey
Pysolar Sent from mobile On Jul 4, 2015, at 8:13 AM, Jim Lux jim...@earthlink.net wrote: I've got a project I'm working on to make a sophisticated sundial with moving mirrors. I've got a batch of Arduinos that move the mirrors to the appropriate places, given the current sun angle,

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Mike Magin
Somewhat new time-nut here (had one of the Samsung-branded Z3805s for a few months as a house 10mhz ref, but it really got out of control when I acquired a Wavecrest DTS, multiple frequency counters, an old Astron 1250a, a Lucent RFTG-u pair, etc.), thought I should finally de-lurk since I can

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Bob Camp
Hi As silly as it sounds, having a separate board for the user i/o is probably the best way to go. You already have an empire of devices that (somehow) chat with each other. The barrier of “it’s all on one device” has been broken even before i/o has been added. The world of user input is a

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Jim Lux
On 7/4/15 1:42 PM, Simon Marsh wrote: Pretty much every webserver ever written allows you to run a script in response to a request. Nowadays there are frameworks that integrate closely with the language of your choice and do all the heavy lifting for you. If fact, the problem is really too

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Jim Lux
On 7/4/15 11:55 AM, Mike Magin wrote: Somewhat new time-nut here (had one of the Samsung-branded Z3805s for a few months as a house 10mhz ref, but it really got out of control when I acquired a Wavecrest DTS, multiple frequency counters, an old Astron 1250a, a Lucent RFTG-u pair, etc.), thought

Re: [time-nuts] beaglebones, time, web services

2015-07-04 Thread Jim Lux
On 7/4/15 12:31 PM, Bob Camp wrote: Hi As silly as it sounds, having a separate board for the user i/o is probably the best way to go. You already have an empire of devices that (somehow) chat with each other. The barrier of “it’s all on one device” has been broken even before i/o has been