Re: My home-built DIY gear position indicator - includes plans
Hi PD,
I would like to thank you for this great project. Thats basically the reason I joined this forum. I am from Mainz in Germany and my English is a little rusty. Here a couple of questioin and sorry in advance if I missed the information somewhere above.
Hang around, you might find you like it here?
1. Can I use any other PIC instead the 16F88? 16F84 for example? My tools can not handle this one.
Bottom line.... NO. There are a number of reasons. Without going into alot of detail, here are just a couple;
- The pinout is different, so the circuit board would need to be redesigned
- There are only 13 I/O pins on the 16F84. I need 16
- There is no A/D converter on the 16F84, so the ambient light feature won't be possible.
- There is no on-board oscillator on the 16F84, so an external oscillator would have to be added.
2. I am trying to assemble the code via microchips software but it complains the commas in line 200 and 201. What am I doing wrong? Or, can you post the hex file?
What version of MPLAB are you using? I'm using V8.0
Send a PM with your email address, and I'll send you the .hex file
3. What is the tolerance around the gear ration after I learned the gismo?
The GPI essentially counts the number of ignition pulse generator cycles per defined set of vehicle speed sensor cycles. On the ST, the VSS frequency is so high, I had to incorporate a software frequency divider (see the interrupt service routine). Anyhow, the way the code is currently set up, there should be > 3 Hz difference (of the ignition pulse generator) between gears. You may have to play with the software frequency divider. I think scoutdriver73 had to do this when it was adapted to his VFR (see
post #162) Hopefully this makes sense. If not, let me know.
[/QUOTE]