Archive for cpp

You are browsing all posts tagged: cpp.

ASCOM driver completed

ASCOM driver completed

Hmm. That took a long time. A seriously long time. Anyway, I’ve now completed the ASCOM driver – the software which sits on the PC (within a planetarium programme) and communicates with the mount. The final driver (sitting within SkyMap Pro) looks like this: (I should add that the “hand controller” seen in the picture […]

LCD: SparkFun’s serLCD and NewSoftSerial

http://www.youtube.com/watch?v=skqVepTQMRU The video above shows SparkFun’s serLCD in action using a library (serLCD.h) which inherits all of the NewSoftSerial library functions and then adds a few of its own. The library is set out in full below (with download) but first up, my first sketch using the serLCD (which might help others get a feel […]

capeMirror v. 2

capeMirror v. 2

The capeMirror Wiring On the right can be seen the pin mapping. The capeMirror Library Now it’s just a question of combining the following libraries into one: Stepper_Aclr8_2, Stepper_Aclr8_i, Matrix_Steppers, and SerialParse. /* * capeMirror v2a * * created by Ben @ Cape Ealing * 24 January 2010 * */ //******************************************************************** // Initial Definitions //******************************************************************** […]

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

stepper: two (synchronous) steppers

The mount will need two stepper motors and I want them to both move at the same time – I don’t want to ‘move all the azimuth steps’ and then ‘move all the altitude steps’. And they also need to accelerate / decelerate as in the last post. So, again, a bit of amendment was […]