Go Back   Third Generation F-Body Message Boards > Tech Boards > Interior
Sign in using an external account
Register Forgot Password?

Interior Discussion 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!


Reply
 
Thread Tools Search this Thread
Old 03-05-2010, 01:52 AM   #1
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Gear Shift Indicator (A/T) - Circuit in progress

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.

Here's the first shot at the prototype:
http://www.youtube.com/watch?v=S2a5xVFVrcc

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.

Any suggestions welcome...
__________________
Wonderbar, SLP CAI, Alston SFCs, Fiberglass Aerowing, Powerbuldge hood, Eibach Pro, Spohn LCA relo's, ROH Snypers, 3.42 posi, $6E, 4th Gen Seats
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-05-2010, 10:36 PM   #2
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.

Demo:
http://www.youtube.com/watch?v=QaNi_JuZCe4
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-05-2010, 10:56 PM   #3
Supreme Member
 
cdoyle's Avatar
 
Join Date: Mar 2003
Posts: 1,106

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

This is pretty cool, subscribing to the post.

Can't wait to see it all installed.
__________________
-----------------------------



A free Mafia style multi-player RPG. Features include.
  • Unlock Cities with new weapons and items
  • Create/Join Gangs and war with other gangs
  • Street Racing (Race for game cash)
  • Drag Strip (Racing for pinks)
  • Audio Comps (build your system and compete against other players)
  • More coming soon!

We are always looking for new players, join us today!
cdoyle is offline vBGarage Page   Reply With Quote
Old 03-07-2010, 01:42 AM   #4
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.

http://www.youtube.com/watch?v=_SrEqjjpN5o
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-07-2010, 11:21 AM   #5
Senior Member
 
Join Date: Apr 2006
Location: Santa Ana, CA
Posts: 857
Car: 90 IROCZ(CC1), 89 Formula
Engine: lsx, L98 5.7 TPI
Transmission: t56, 700R4
Axle/Gears: G92 9 bolt 3.27, 9 bolt 3.27

Classifieds Rating: (5)
Re: Gear Shift Indicator (A/T) - Circuit in progress

were you the one with the black ta at sonics? crazy setup you got going on here, im sure the finished product will be as bitchin as your car
92purplehaze is offline vBGarage Page   Reply With Quote
Old 03-07-2010, 03:48 PM   #6
Supreme Member
 
84 1LE's Avatar
 
Join Date: Nov 2002
Location: So.cal
Posts: 2,631
Car: 84 z28-04 trumpet
Engine: 305
Transmission: 700r4
Axle/Gears: 9bolt, 3.27

Classifieds Rating: (2)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Ive had an idea like this for some years now, but too lazy to rig something up.Nice work.
__________________

84Z- 1LE brks/Dr shaft,96 t/a Lthr Seats,Spohn A-arms,J&M LCAs/Strut Plates,Hotchkis Swaybars/T.R sleeves,Edel STB/Torq arm,SFCs,LED tails,LED Sidemarkers,Grd Control Sus,Becool,Xenarc 4500k HIDs/Valeo Projectors/LED halos/e55 shrouds,Tokico lumis,Poly susp,GTA whls,TDS W.Bar,S.S brks,Custom P.H.bar, Astro Van 3rd Brk Lt,4th gen Wpr/Rad bottles...............
Daytona 600- Jardine Ex,DDM HIDs/E55 Projectors,CCFL halos,PC3,Supersprox/DID gold,K&P,K&N,PC hardware,Frame sliders,Gel seat,M3 stabilizer,Radial Master,
84 1LE is offline vBGarage Page   Reply With Quote
Old 03-07-2010, 09:21 PM   #7
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by 92purplehaze View Post
were you the one with the black ta at sonics? crazy setup you got going on here, im sure the finished product will be as bitchin as your car
yep thats me, thanks..
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-09-2010, 10:31 PM   #8
Supreme Member
 
85_ZED28's Avatar
 
Join Date: Jan 2001
Location: London, ON
Posts: 2,175
Car: '85 Z28
Engine: 350
Transmission: T5
Axle/Gears: 3.23

Classifieds Rating: (0)
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
__________________

'85 Camaro Z28 350 5 speed
85_ZED28 is offline vBGarage Page   Reply With Quote
Old 03-10-2010, 02:00 AM   #9
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by 85_ZED28 View Post
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...
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-10-2010, 09:07 AM   #10
Supreme Member
 
85_ZED28's Avatar
 
Join Date: Jan 2001
Location: London, ON
Posts: 2,175
Car: '85 Z28
Engine: 350
Transmission: T5
Axle/Gears: 3.23

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by Diggler86 View Post
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?
__________________

'85 Camaro Z28 350 5 speed
85_ZED28 is offline vBGarage Page   Reply With Quote
Old 03-10-2010, 12:34 PM   #11
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by 85_ZED28 View Post
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.
Diggler86 is offline vBGarage Page   Reply With Quote
Old 03-19-2010, 11:48 PM   #12
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.

http://www.youtube.com/watch?v=2pbT5LUs-dY
Diggler86 is offline vBGarage Page   Reply With Quote
Old 04-21-2010, 01:31 AM   #13
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Received PCB and soldered components. Fits nicely into project case. Just have to make holes and solder in sensors and display. Pic below.
Attached Images
File Type: jpg SAM_0680 (Small).JPG (69.4 KB, 67 views)
Diggler86 is offline vBGarage Page   Reply With Quote
Old 04-22-2010, 09:44 PM   #14
Junior Member
 
JTB91RS's Avatar
 
Join Date: Oct 2006
Location: Orlando, FL
Posts: 37
Car: '91 Camaro RS
Engine: 5.7L V8
Transmission: 700R4
Axle/Gears: 3.23

Classifieds Rating: (0)
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?
JTB91RS is offline vBGarage Page   Reply With Quote
Old 04-22-2010, 10:18 PM   #15
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by JTB91RS View Post
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?
not a problem...
Diggler86 is offline vBGarage Page   Reply With Quote
Old 04-24-2010, 09:16 PM   #16
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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!

http://www.youtube.com/watch?v=wwlfndPkgfE
Diggler86 is offline vBGarage Page   Reply With Quote
Old 06-30-2010, 01:32 AM   #17
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.
Attached Images
File Type: jpg SAM_0732 (Large).JPG (105.7 KB, 43 views)
File Type: jpg SAM_0734 (Large).JPG (132.7 KB, 65 views)
Diggler86 is offline vBGarage Page   Reply With Quote
Old 06-30-2010, 04:00 PM   #18
Supreme Member
 
1ADan's Avatar
 
Join Date: Mar 2009
Location: Pepperell, MA
Posts: 2,799
Car: 1987 Trans Am
Engine: LQ9/L92
Transmission: 4L60E

Classifieds Rating: (3)
Re: Gear Shift Indicator (A/T) - Circuit in progress

definitely subscribing to this one! got a 4th gen manual console and it would definitely would be nice to know what gear I'm in with my auto....
__________________

1987 Trans Am, 6.0/4L60E swap, work in progress
2008 Pontiac G8, stayin' stock
Customer Service Manager, 1A Auto Parts
Become a Fan of 1A Auto on Facebook
1ADan is offline vBGarage Page   Reply With Quote
Old 07-19-2010, 09:57 PM   #19
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.
Attached Images
File Type: jpg SAM_0742 (Large).JPG (98.5 KB, 42 views)
Diggler86 is offline vBGarage Page   Reply With Quote
Old 07-19-2010, 10:12 PM   #20
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.

http://www.youtube.com/watch?v=Uj6IrWcVmtY
Diggler86 is offline vBGarage Page   Reply With Quote
Old 07-20-2010, 10:23 AM   #21
Supreme Member
 
Ramair21's Avatar
 
Join Date: May 2004
Location: stockton, CA
Posts: 2,174
Car: Camaro RS/SS
Engine: 5.7 LS1
Transmission: 4L60E Transgo shift kit, 3500 stall
Axle/Gears: 4th Gen Rear 3:42

Classifieds Rating: (3)
Send a message via AIM to Ramair21
Re: Gear Shift Indicator (A/T) - Circuit in progress

great job!
__________________
"WORD AND YOU KNOW THIS!!!"- Joey J

Track Time: 12.4@108mph OH YEAH!!!

89 Camaro, LS1/4L60E, Shift Kit, Vig 3500 Stall, Air ride suspension, BMW E36 head Lights, LS6 intake, 99 Camaro cluster, 3" DMH cutout, Hawks 1 3/4 L/T, 160* T-Stat, 4th Gen Cluster, Flow master Y, 4th Gen A/C, SFC, Spohn Lower control arms, Custom Spohn TQ Arm,
Ramair21 is offline vBGarage Page   Reply With Quote
Old 07-21-2010, 12:43 PM   #22
Supreme Member
 
bradley23150's Avatar
 
Join Date: Oct 2007
Location: Fl.
Posts: 1,853
Car: 83 Trans Am / 86 300zx
Engine: 355 / VG30E
Transmission: TH350 / FS5W71C
Axle/Gears: 3.23 10-bolt / 3.70 R200

Classifieds Rating: (10)
Re: Gear Shift Indicator (A/T) - Circuit in progress

That is seriously cool.

Awesome job!
__________________
Currently building 355 to replace the 305.
My T/A's thread: http://www.thirdgen.org/techboard/me...-83-trans.html
How to install 4th gen window sweeps:
http://www.thirdgen.org/techboard/bo...en-window.html
bradley23150 is offline vBGarage Page   Reply With Quote
Old 07-21-2010, 01:00 PM   #23
Senior Member
 
Zepher's Avatar
 
Join Date: Feb 2000
Location: Norfolk, VA. USA
Posts: 7,956
Car: 86 Trans Am, 88 Formula
Engine: 95LT4, 305TPI
Transmission: T56, T5

Classifieds Rating: (1)
Send a message via ICQ to Zepher Send a message via AIM to Zepher
Re: Gear Shift Indicator (A/T) - Circuit in progress

why is your shifter so stiff? when my car was an auto, shifting through the gears was effortless.
otherwise that is pretty sweet.
__________________


1988 Firebird Formula WS6
305HSR T5 195RWHP/273RWTQ
Mods: Eibach Sportlines, ASCD RA1 Hood, 01 LS1 rear with LS1 brakes, Moser Axles, Torsen Posi, 3.42 gears, TA Diff Cover,
ES Tranny & Tq Arm Mount, 160* Stat, K&N Cone Filter, TB Coolant Bypass, Holley Stealth Ram, MSD Billet Dist. Pro 5.0 Shifter,
Hooker Headers, Borla Catback, Lakewood LCA's, BMR Adj. Panhard, 2" Skulte Adaptors, 17" ZR1's w/ Nitto 555RII's,
Craig Moates Adaptors and Chips

WWW.TransAmWS6.Com http://youtube.com/watch?v=BQ54A0NY2l0
Zepher is offline vBGarage Page   Reply With Quote
Old 07-21-2010, 01:16 PM   #24
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Quote:
Originally Posted by Zepher View Post
why is your shifter so stiff? when my car was an auto, shifting through the gears was effortless.
otherwise that is pretty sweet.
Dunno Im just used to it. But do need to have trans looked at. Its not kicking down either. Dont buy a Bowtie!
Diggler86 is offline vBGarage Page   Reply With Quote
Old 09-15-2010, 04:26 PM   #25
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.

Mental note: read spec sheets!
Diggler86 is offline vBGarage Page   Reply With Quote
Old 09-29-2010, 12:26 PM   #26
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.
Diggler86 is offline vBGarage Page   Reply With Quote
Old 09-29-2010, 10:42 PM   #27
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
Re: Gear Shift Indicator (A/T) - Circuit in progress

Circuit diagram and parts list. You will of course need a means of programming the PIC processor. There are a variety of options on the market.
Attached Images
File Type: png circuit.png (26.7 KB, 19 views)
File Type: png parts.png (36.8 KB, 12 views)
Diggler86 is offline vBGarage Page   Reply With Quote
Old 09-29-2010, 10:45 PM   #28
Senior Member
 
Join Date: Nov 2002
Location: Orange County, CA
Posts: 619
Car: 86 TA
Engine: 305 TPI
Transmission: 700R4 - 2200 stall
Axle/Gears: 3.42 posi

Classifieds Rating: (0)
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.




;***** VARIABLE DEFINITIONS
;temp EQU 0x10 ;example variable definition


d1 EQU 0x10
d2 EQU d1+1


;**********************************************************************
ORG 0x7FF ; processor reset vector
errorlevel -306 ; supress page boundary message
goto Start
errorlevel +306 ; enable page boundary message
ORG 0x000


Start


; 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



;---------------------------------------------------------------------------
; Actual delay = 0.001 seconds = 5000 cycles
delay
;4993 cycles
movlw 0xE6
movwf d1
movlw 0x04
movwf d2
goto Delay_0

; Actual delay = 0.002 seconds = 10000 cycles
delay2
;9993 cycles
movlw 0xCE
movwf d1
movlw 0x08
movwf d2

Delay_0
decfsz d1, f
goto $+2
decfsz d2, f
goto Delay_0

;3 cycles
goto $+1
nop

;4 cycles (including call)
retlw 0



;--------------------------------------------------------------------------
Park
;Column 1
call BlankA
movlw b'00000001'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay
call delay
call delay

;Column 2
call BlankA
movlw b'01101110'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'01101110'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'01101110'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'10011110'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0

;--------------------------------------------------------------------------
Reverse
;Column 1
call BlankA
movlw b'00000001'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay
call delay
call delay

;Column 2
call BlankA
movlw b'01101110'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'01100110'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'01101010'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'10011100'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0

;--------------------------------------------------------------------------
Neutral
;Column 1
call BlankA
movlw b'00000001'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay
call delay
call delay

;Column 2
call BlankA
movlw b'11011110'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'11101110'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'11110110'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'00000000'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay
call delay
call delay

retlw 0


;--------------------------------------------------------------------------
Drive
;Column 1
call BlankA
movlw b'00000001'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay
call delay
call delay

;Column 2
call BlankA
movlw b'01111100'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'01111100'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'10111010'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'11000110'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0


;--------------------------------------------------------------------------
Three
;Column 1
call BlankA
movlw b'10111011'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay

;Column 2
call BlankA
movlw b'01111100'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'01101100'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'01101100'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'10010010'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0


;--------------------------------------------------------------------------
Two
;Column 1
call BlankA
movlw b'10111101'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay

;Column 2
call BlankA
movlw b'01111000'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'01110100'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay

;Column 4
call BlankA
movlw b'01101100'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'10011100'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0


;--------------------------------------------------------------------------
One
;Column 1
call BlankA
movlw b'11111111'
movwf PORTB
movlw b'11110000'
movwf PORTA
call delay

;Column 2
call BlankA
movlw b'10111100'
movwf PORTB
movlw b'11111000'
movwf PORTA
call delay

;Column 3
call BlankA
movlw b'00000000'
movwf PORTB
movlw b'11110100'
movwf PORTA
call delay
call delay
call delay

;Column 4
call BlankA
movlw b'11111100'
movwf PORTB
movlw b'11110010'
movwf PORTA
call delay

;Column 5
call BlankA
movlw b'11111110'
movwf PORTB
movlw b'11110001'
movwf PORTA
call delay

retlw 0




END ; directive 'end of program'
Diggler86 is offline vBGarage Page   Reply With Quote
Old 01-01-2011, 08:00 PM   #29
Member
 
Steveh4263's Avatar
 
Join Date: Jun 2008
Posts: 148
Car: 1987 Pontiac Trans AM GTA
Engine: 5.7 LTR
Transmission: Automatic

Classifieds Rating: (1)
Re: Gear Shift Indicator (A/T) - Circuit in progress

This is so cool. I wish I could have one made for me. They would be to much of a demand for it probably.
Steveh4263 is offline vBGarage Page   Reply With Quote
Old 01-01-2011, 08:00 PM
ThirdGen
1992 Camaro




Paid Advertisement


Reply

Go Back   Third Generation F-Body Message Boards > Tech Boards > Interior

Tags
700, 700r4, arm, basic, circuit, gear, gearshift, indicator, pic16f57, r4, shaft, shift, shifter, switch, tpi
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 


1982 Camaro '82 || 1983 Camaro '83 || 1984 Camaro '84 || 1985 Camaro '85 || 1986 Camaro '86 || 1987 Camaro '87 || 1988 Camaro '88 || 1989 Camaro '89 || 1990 Camaro '90 || 1991 Camaro '91 || 1992 Camaro '92


All times are GMT -5. The time now is 04:24 PM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
All content copyright © 1997 - 2012 ThirdGen.org. All rights reserved. No part of this website may be reproduced without the expressed, documented, and written consent of ThirdGen.org's Administrators.

Emails & Contact Details