InteriorDiscussion about interior restoration, repairs, and modification.
Welcome to ThirdGen.org!
Welcome to ThirdGen.org.
You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join the ThirdGen.org community today!
Been meaning to do this for a while. Primarily so I can switch over to a 4th gen console. The indicator is the main reason I had not already (dont like not seeing what gear Im in - or others that drive it).
So far came up with a single chip solution. Been like 10 years since programmed in assembly language but its not too bad to remember. Anyway, Ive still got to do a few things like optimize the code so that the lights are equal, maximize brightness (I think, although I dont want it too bright for night time either), and probably the toughest part integrate with the shifter. Im going to try some reed switches and hall effect switches which are both non-contact and energized by a magnet.
I realize its technically O/D-D-2-1, but trying to make an O/D was looking kindof hokie. Plus, anybody else who drives it only cares about being in D, and I drive it in O/D all the time anyway. May also make the 3 & 2 less curly looking gotta try it out.
Re: Gear Shift Indicator (A/T) - Circuit in progress
Im loving these hall effect switches. Nice and tiny little size, so should be easier to mount on shifter than oblong reed switch. Also completely solid state, no moving parts like a reed switch. With the small magnet I have it may be just about the right energizing distance. Only drawback is costs just a bit more.
Re: Gear Shift Indicator (A/T) - Circuit in progress
Added some transistors to max out the brightness, its really surprisingly bright, which will be nice in sunlight but I think way to much at night. So I also added a night mode which will connect to the dash lights. When the lights are turned on, it will dim the gear indicator display.
Re: Gear Shift Indicator (A/T) - Circuit in progress
Nice work! Can't wait to see the final product. What chip are you programming? I made something similar, only for my 5 speed manual. I programmed in assembly language as well
Re: Gear Shift Indicator (A/T) - Circuit in progress
Quote:
Originally Posted by 85_ZED28
Nice work! Can't wait to see the final product. What chip are you programming? I made something similar, only for my 5 speed manual. I programmed in assembly language as well
Using the PIC16F57.. having figured out the paging of the program memory (with subroutines), but luckily so far everything has fit on page 0. i'd probably have to move to an 18F if my code got larger - no pages. but at least for now the 16F is adequate, and quite cheap. Working on the PCB now...
Re: Gear Shift Indicator (A/T) - Circuit in progress
Quote:
Originally Posted by Diggler86
Using the PIC16F57.. having figured out the paging of the program memory (with subroutines), but luckily so far everything has fit on page 0. i'd probably have to move to an 18F if my code got larger - no pages. but at least for now the 16F is adequate, and quite cheap. Working on the PCB now...
I'm used an 18F, more than I needed but it was free Are you etching the pcb yourself?
Re: Gear Shift Indicator (A/T) - Circuit in progress
Quote:
Originally Posted by 85_ZED28
I'm used an 18F, more than I needed but it was free Are you etching the pcb yourself?
Nope, using Eagle to design it, then sending it to BatchPCB. Ive used the service before and its pretty awesome to receive a professional looking board that you designed yourself. Costs more than say a proto board but I feel its worth it in decreased troubleshooting and board size.
Re: Gear Shift Indicator (A/T) - Circuit in progress
Got around to mounting all the sensors. Sure hope I marked the positions right it will be a PITA to move them. Almost got the whole shifter at the scrap yard but didnt feel like paying for it. Anyway seems to work pretty well. Tough to see the LED in the vid but they are showing correctly.
Re: Gear Shift Indicator (A/T) - Circuit in progress
Awesome work! I can't wait to see it in the car! Is that a PIC18 or PIC16 series that you used? Would you be willing to post the schematic and parts list sometime?
Re: Gear Shift Indicator (A/T) - Circuit in progress
Quote:
Originally Posted by JTB91RS
Awesome work! I can't wait to see it in the car! Is that a PIC18 or PIC16 series that you used? Would you be willing to post the schematic and parts list sometime?
Re: Gear Shift Indicator (A/T) - Circuit in progress
Assembled today.. I probably could have made a board for the display LED, for easier soldering and for mounting. We will see how I can figure out how to mount it. Could still make a board. Now I just have to locate a console!
Re: Gear Shift Indicator (A/T) - Circuit in progress
Finally won a console on ebay lol. Luckily enough it was the type with the TCS switch so I used that to create the display area. Glued in the LED behind a piece of red CD case. I think it will look pretty good. Pics attached.
Re: Gear Shift Indicator (A/T) - Circuit in progress
I had to move all the hall sensors down, and therefore stagger one on top and one on bottom to get enough spacing. I also had to cut the magnet in half. Then you have one half on top and one half on bottom. Pic attached. This does not show but also added some hot glue as insulation to cover these bare wires. Thinner stranded wires would have helped.
Youve also got to remove the front right post on the console that hold the top part on. There is just not much room on that side.
Re: Gear Shift Indicator (A/T) - Circuit in progress
And here is the installed video link. Enjoy It was hard to focus the bright LED but I think you can make it out. 1st gear also takes some convincing but for the once every 5 years I use that gear its not worth my trouble to fix it.
I had some flakey performance this morning, with a few LED lines going away. But this afternoon it worked fine. I hadnt run the car in 3-4 weeks so maybe the alternator was giving out junk power. It could probably use more power conditioning stuff. I got a D in power electronics course in college So I will monitor this for a bit and see if I have any more issues. But Im happy with the progress so far! If all is good I will post details.
Re: Gear Shift Indicator (A/T) - Circuit in progress
I put in an additional voltage regulator, with capacitors as noted in the spec sheet, and it looks better no more hiccups recently. I'll monitor it for a couple more weeks and if its fine will post back with the circuit and code.
Re: Gear Shift Indicator (A/T) - Circuit in progress
It's been running just fine lately.
Here is the link to buy the board I designed. I have not tried this exact one, but it is identical except for I did include the two capacitors for the voltage regulator, and cleaned up a few of the traces. http://www.batchpcb.com/index.php/Products/42592
I'll post the parts list and PIC code when I get home tonight.
Re: Gear Shift Indicator (A/T) - Circuit in progress
; CODE
list p=16F57 ; list directive to define processor
#include <p16f5x.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _HS_OSC
; '__CONFIG' directive is used to embed configuration word within .asm file.
; The lables following the directive are located in the respective .inc file.
; See respective data sheet for additional information on configuration word.
; Initialize ports
movlw 0xFF ;set output to all high
movwf PORTA
movwf PORTB
movlw 0x00 ;set ports A and B to output
tris PORTA
tris PORTB
clrf PORTC ;reset portc
movlw 0xFF ;set port C to input
tris PORTC
; Main Loop
Loop
call BlankA
; bcf STATUS, 2
movlw b'10111111'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Park
; btfss PORTC, 6 ; Test for Park switch
; call Park
movlw b'11011111'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Reverse
; btfss PORTC, 5 ; Test for Reverse switch
; call Reverse
movlw b'11101111'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Neutral
; btfss PORTC, 4 ; Test for Neutral switch
; call Neutral
; btfss PORTC, 3 ; Test for Drive switch
; call Drive
movlw b'11110111'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Drive
movlw b'11111011'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Three
; btfss PORTC, 2 ; Test for Three switch
; call Three
movlw b'11111101'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call Two
; btfss PORTC, 1 ; Test for Two switch
; call Two
movlw b'11111110'
subwf PORTC
btfsc STATUS, 2 ; Test for Two switch
call One
; btfss PORTC, 0 ; Test for One switch
; call One
GOTO Loop
GOTO Start ; Repeat the whole thing.
;--------------------------------------------------------------------------
;Blank
; ;Blank entire display
; movlw 0x00
; movwf PORTB
BlankA
movlw 0x00
movwf PORTA
retlw 0