Sunday, June 13, 2010

Arduino Nokia 6100 LCD Analog Clock Demo

I needed a RJ11 connector for my Datalogger project so I took the opportunity to get the Nokia 6100 LCD Shield from Sparkfun. I created an Analog Clock demo to check out the capabilities of the LCD.

Using the Sparkfun base driver ported by Mark Sproul to the Arduino as a foundation, I incorporated Jim Lynch's Nokia 6100 LCD tutorial graphics primitives and ASCII character code.

The iButton clock code was reused from the iButton data logger programmer project and modified to support the DS1904 with onboard clock and battery. It is only around $6, which is much cheaper the DS1994 that also had onboard memory. I soldered a 4.7 kOhm pull up resistor directly to the iButton holder to avoid the need for a bread board.

The clock tick marks and hands were drawn using cylindrical coordinates:
- X position = radius * cos (angle)
- Y position = radius * sin (angle)

The time defaults to 9:40 am which can be changed to anything you want if the real time iButton clock is not attached.

Here is a link to the source code.

Demo Video:


  1. Sorry, but your zip archive file is not complete. I can't find LCDPutStr.c file.
    Could you publish the file and related?

    Thank you

  2. hi I have a question I have the arduino uno and the 6100 lcd screen, but when I run a program with a simple drawline it does not display anything. I added the code. I added lcd_driver.h to the library.

    Thanks for the help!

    #include "WProgram.h"
    #include "HardwareSerial.h"

    void setup() {
    // put your setup code here, to run once:
    ioinit(); //Initialize I/O
    LCDInit(); //Initialize the LCD

    void loop() {
    // put your main code here, to run repeatedly:
    LCDSetLine(0, 0, 127, 127, RED);

  3. Hello,

    I just got my first arduino board today (so i didn't started playing with it). However i noticed this post with a digital display that made me believe it is a nokia 6100 phone display - Am I wrong? I have an old nokia 6100 - is possible to use it's display in my projects? (sorry if it is a silly question)

  4. Sorry for the late responses. I will check into the source code and see what is going on with the missing file.

    The display is shield from Sparkfun, so it is compatible with the Arduino.