processor 12F629
#include <P12F629.INC>
__config 0x3194
; _CPD_OFF & _CP_OFF & _BODEN_OFF & _MCLRE_OFF & _PWRTE_OFF & _WDT_OFF
; & _INTRC_OSC_NOCLKOUT
; RAM-Variable
LRAM_0x5B equ 0x5B
LRAM_0x5C equ 0x5C
LRAM_0x5D equ 0x5D
; Program
Org 0x0000
; Reset-Vector
GOTO LADR_0x000F
Org 0x0003
LADR_0x0003
MOVLW 0x80 ;
; Interrupt-Vector
BSF STATUS,RP0 ;|B1
MOVWF OPTION_REG ;
CLRF INTCON ;
MOVLW 0x07 ;
BCF STATUS,RP0 ;|B0
MOVWF CMCON ;turn off comparators
CLRF GPIO ;
MOVLW 0x38 ; b'00111000'
BSF STATUS,RP0 ;|B1
MOVWF TRISIO ;
RETURN
LADR_0x000F
CALL LADR_0x0003
BCF STATUS,RP0 ;|B0
BSF GPIO,0 ;
MOVLW 0x02
MOVWF LRAM_0x5B
MOVLW 0x86
MOVWF LRAM_0x5C
MOVLW 0x98
MOVWF LRAM_0x5D
LADR_0x0018
DECFSZ LRAM_0x5D,F
GOTO LADR_0x0018
DECFSZ LRAM_0x5C,F
GOTO LADR_0x0018
DECFSZ LRAM_0x5B,F
GOTO LADR_0x0018
NOP
NOP
BSF GPIO,1 ;
MOVLW 0x02
MOVWF LRAM_0x5B
MOVLW 0x86
MOVWF LRAM_0x5C
MOVLW 0x98
MOVWF LRAM_0x5D
LADR_0x0027
DECFSZ LRAM_0x5D,F
GOTO LADR_0x0027
DECFSZ LRAM_0x5C,F
GOTO LADR_0x0027
DECFSZ LRAM_0x5B,F
GOTO LADR_0x0027
NOP
NOP
BSF GPIO,2 ;
LADR_0x0030
GOTO LADR_0x0030
End
Any lighting modification from manufacturer is illegal, as long as its not tested and certified by an authority witch i plan to do with all the mods i'm trying to do.Will this be a legal modification in your jurisdiction? Lights on vehicles are generally well regulated by law.
@ A.H. Not everybody lives in a police state!Will this be a legal modification in your jurisdiction? Lights on vehicles are generally well regulated by law.
Shame.@ A.H. Not everybody lives in a police state!
The good news about the switching FET devices in this application is that they are not at all critical. They must be able to handle the current of the light that you are switching, which with most LED lamps will be less than one amp, and they must be rated for more than the system voltage, which is probably 12 volts. In addition they must be able to turn on fully with that supply voltage. What this tells is that you have a whole lot of choices as to what devices you use. Somebody else may have a suggestion as to what is most suitable.@MisterBill2 i might need to badger you with some questions ..
what modifications do i have to make to the schematic if i only need the control for those 3 stop lamps ?
can i use irfi9630 instead on irfi9630g ? (the 2nd one is not in stock at the store i'm getting all my parts from)
I say bring back Trafficators.Will this be a legal modification in your jurisdiction? Lights on vehicles are generally well regulated by law.
OK, Max. I am not familiar with the term "trafficators. Perhaps you would explain them. Or maybe they were local to your area. Or to your time.I say bring back Trafficators.
Max.
OK, and thanks for the answer. I recall seeing some of those on an abandoned VW probably 50 years or more ago. We were exploring abandoned farmland someplace in rural Virginia. Those were the days, we thought they'd never end. OH yes. those were the days.A tongue in cheek comment.
Flash back to another era of my youth!
"Trafficators are semaphore signals which, when operated, protrude from the bodywork of a motor vehicle
to indicate its intention to turn in the direction indicated by the pointing signal.
Trafficators are often located at the door pillar"
Max.
View attachment 190479
Thank you. I didn't know either. Sounds like an "automated" duplication of a human process. Historically, they are destined to failure. As does that one seem to have been.A tongue in cheek comment.
Flash back to another era of my youth!
"Trafficators are semaphore signals which, when operated, protrude from the bodywork of a motor vehicle
to indicate its intention to turn in the direction indicated by the pointing signal.
Trafficators are often located at the door pillar"
Max.
by Aaron Carman
by Aaron Carman
by Aaron Carman
by Aaron Carman