Showing posts from October, 2013

Updated wide.HK OLED 1602 Library

Thanks to Nathan from there is now a scrolling function in the Library.

This allows you to specify some text, the line to display it on and the speed to scroll it at.

Sample code by Nathan (modified by me to remove the scrollString function as it's now in the library).

Scrolling demo on the OLED 1602 display from Wide.HK.
Uses Library by Phil Grant
Scrolling by Nathan Chantrell
#include  "Wire.h"
#include  "OLedI2C.h" //


void setup() {

void loop() {
scrollString("Slowly scrolling text on line one...",0,200);
scrollString("and faster on line two...",1,100);

Download here: Updated OLED 1602 Library

Now on GitHub

PCBs for mounting the Chronograph sensors

I've not really done much on the Chronograph for a while but I thought I'd have a go at the latest PCBs I'd ordered.
When I mounted the LEDs originally I used some Veroboard.

This solution was quite fiddly so I laid out a PCB that would allow me to use SMD resistors for the IR LEDs and detectors and not require the wire links that I needed for the Veroboard.

I was also using some Bluetooth modules for connecting to my android smart phone, these were difficult to solder to as they are designed as surface mount modules.  It was cheaper to buy the modules without the mounting PCB so I created a 50x50mm (Seeedstudio standard) PCB with the two LED/detector mounting boards and the Bluetooth carrier board.

With the LED board I was able to create some long solder pad contacts to solder the legs to rather than using through hole technology which would've caused the legs to short out on the tube.  I did the same thing for the connecting pads.
The mounting PCB for the Bluetooth w…