elektronika kifo
hrvatski jezik

MotorCycle Computer Board with Nokia 6610 Lcd

In this project you will see how to use Nokia 6610 Lcd, connected with microcontroller PIC18F4455.
MotorCycle Computer Board is implemented on Yamaha TDM850, year 99'.

početna stranica
send e-mail


Technical characteristics :

  • show gear position ( 1 gear to 5 gear ), plus neutral position
  • battery voltage analog and digital
  • throttle position analog and digital ( in percentage )
  • rpm value analog and digital
  • air temperature
  • water temperature
  • oil temperature

All electronics is placed behind left cover and connected with flat cable to Nokia 6610 LCD.
Second side of electronic box is connected with Ignitor Unit, DS18B20 temperature sensors, and with gear sensors.

From Ignitor Unit we get power supply ( +12V ), RPM signal, and Throttle signal.

Temperature sensors DS18B20 are connected over 1Wire connection in "parasite power" and they don't need external power supplay.

Gear sensor is placed behind left crankcase cover on machine. Gear sensor is made with two optical sensors. ( Gear sensor is not Yamaha original part ).
On bottom pictures you can see three state of gear sensor position. First picture show state when you do nothing (doesn't matter if motorcycle is in gear position or neutral). On second picture you see gear position sensor when you shift to low gear, and on last picture you see gear position sensor when you shift to high gear.

How this work?

On schematic you can see simple connection between PIC18F4550 and Nokia 6610 Lcd ( 132x132 pixel ) over SPI bus.
We have one 1wire input/output line for three Ds18B20 sensors, 3 inputs for gear/neutral position, 2 analog inputs for battery and throttle status, and 1 output for Lcd backlight.Usb connector is used for programming and testing.

DS18B20 sensors are connected together over 1Wire protocoll, and in that case you need their unique 64-bit code. In my case DS18B20 sensors code are:
"AIR" = 9300000078625728
"Water" = D5000002061B2128
"Oil" = 4600000206125A28

If you use DS18B20 sensors with another 64-bit unique code, they will NOT work. You must change DS18B20 unique code in source code, and compile program again, or you can change unique code in hex file (left picture) and program microcontroller. (you must swap bytes - compare my codes with hex file)

Elektronika Kifo

Source code (including hex file) you can download here, you will need MPLAB v.8.15A and HI-TECH C PRO for the PIC18 MCU Family Compiler Version 9.63PL1.

For programming microcontroller I suggest WinPic800. You can use PIC18F4455 or PIC18F4550 with the same hex file.

More informations about Nokia 6610 LCD you can find here: Interface tutorial by James P. Lynch

Many thanks to:

James P. Lynch for Nokia 6610 tutorial, and Mike Pearce for 1Wire code


Elektronika Kifo

If you use the software, hardware or informations from these pages, you do it at your own risk. All projects are copyrighted and you shall not in any manner distribute, use or make copies of, or otherwise duplicate any materials and projects contained on the Website, without permission of author

send e-mail