View Single Post
Old 07-03-2011, 07:56 PM   #4 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 179

Sonata97 - '97 Hyundai Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Nissan Pulsar ST
Team Nissan
90 day: 36.09 mpg (US)

Lancer - '04 Mitsubishi Lancer
90 day: 31.11 mpg (US)

Lancer 2.0 - '09 Mitsubishi Lancer
90 day: 27.1 mpg (US)
Thanks: 9
Thanked 16 Times in 13 Posts
The display pins themselves won't matter compared to the pins used for the car communication circuit.

Have you seen: OBDuinoInterface - opengauge - OBDuino OBD2 cable and Interfaces - Open Source Fuel Efficiency Instrumentation - Google Project Hosting ?

That shows the circuit for ELM327.

The LCD pins should be able to use any of the digital pins not consumed by the car communication circuit.

Figuring out the pins for the LCD to match with the code should be easy enough with the datasheet, but I happen to remember them:

16 - Backlight Ground.
15 - Backlight Power
14 - DB7
13 - DB6
12 - DB5
11 - DB4
6 - Enable
5 - Ground
4 - RSPin
3- Contrast.
2 - 5V
1- Ground

// LCD Pins same as mpguino
#define DIPin 4 // register select RS
#define DB4Pin 7
#define DB5Pin 8
#define DB6Pin 12
#define DB7Pin 13
#define ContrastPin 6
#define EnablePin 5
#define BrightnessPin 9
__________________
  Reply With Quote