ben

You are browsing the archives of ben.

arduino: one library within another

It’s now a question of drawing together all the arduino sketches (2 accelerating stepper motors, bluetooth, and keypad) together into 1 sketch. In fact, I decided to create a new library (or class / object) called ‘capeMirror’ which would contain within it the following:
1. Control of two stepper motors
2. Control of a keypad
3. A method to parse messages received from the laptop

architecture of the capeMirror ASCOM driver

architecture of the capeMirror ASCOM driver

Below is the architecture of the capeMirror ASCOM driver:

keypad: controlling two stepper motors

The next part of the puzzle is to get the keypad to control the two stepper motors. The keypad needs to respond (as the layout suggests) as follows: 1 = up and left; 2 = up; 3 = up and right etc. I also want all this wrapped up in a library so that […]

speeding things up with wp-super cache

speeding things up with wp-super cache

This site has been getting sluggish – too many database calls in all the widgets etc – so I thought I would try and speed things up. Throughout this process, I’ve been using the very helpful ‘is my blog working‘ tester to check delivery / processing times. It’s interesting to check this site against others […]

keypad: upgrading to a matrix keypad

keypad: upgrading to a matrix keypad

one of the important upgrades from the proto-type is to change the old keypad, the knocked-up version described in this post, to a proper ‘matrix keypad’ (ie with numbered buttons) as seen on the right …