Quantcast
Channel: Stephen C Phillips » Where Clock
Browsing latest articles
Browse All 7 View Live

The start of something

I’ve been thinking about having a blog for a long time as a place to put information that other people might find useful. Finally I’ve got one (it is very easy to set up thanks to my host, Webfaction)....

View Article



Image may be NSFW.
Clik here to view.

Stepper motor

To make the Where Clock I need a stepper motors. I don’t know how stepper motors work but I know you can get them to turn around to point in a particular direction. Of course, I’m not the first person...

View Article

Wiring done right

With the new jumper leads from eBay I wired it all up again. For the power, the motor controller board has 4 pins and I don’t know why.  Two of them are bridged by a jumper and by the other two there...

View Article

A Python class to move the stepper motor

To properly control the stepper motor from the Raspberry Pi we need a class to represent it. This is one of the most direct ways of understanding object oriented programming (OOP): from the class you...

View Article

Moving the Where Clock from a web browser

Now I’ve got a web server and I’ve got code to control the stepper motor, let’s put them together and control the stepper motor from a web browser!  Here’s the new code: clockServer.py #!/usr/bin/env...

View Article


Using on{X} to control the Where Clock

I want to be able to send GET requests to the web server on my Raspberry Pi from my phone so that I can have the hand of the Where Clock turn to point at where I am or what I’m doing. Of course, I can...

View Article

Image may be NSFW.
Clik here to view.

Complete on{X} script to control the Where Clock

After a lot of head scratching I’ve finished the on{X} script to control the Where Clock: making it turn  around when I enter or leave places. Here it is: // add your locations to this list, use as...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images