Brake Light, auto canceling Turn Signal Project. Will pay.


hey everyone. have been trying create code time can't seem work how i'd it. scooter lacks real advanced electronics :)

i know can't use delay since want multiple functions , although i've had minor success getting somethings work moment try add cancelling abilities breaks , that's 1 of 3 buttons know i'm on head. i'm hoping can take on project me. 

here basic scope of do:

scope. emulate turn signals , brakes (with additional features) using momentary buttons.
3 buttons
1: left turn signal
2: right turn signal
3: brake switch

basic turn signal functions:

short press makes light blink pre-set amount of times. i.e. 5 times, press duration less 500 ms

middle length press turns on signals pre-set number of flashes i.e. 20 times, press duration greater 500 ms less 1500 ms

long hold flashes both left , right lights flash until cancelled. press duration greater 1500 ms

if left side active function , left button pressed again duration should cancel current function , not trigger new 1 side.
 
if 1 side active , opposite side button pushed, cancel current side , function of new side based on press length.

advanced turn signal:
if brake pressed or being held while middle length active/activated (20 flashes) flashes reset , not count down until brake released.
 
brake button:
when pressed light should flash rapidly pre-set amount of time i.e 5 seconds go solid until released.

of course number of flashes, trigger times and  duration of flash , timing subject adjustment during real world testing.

the basic setup should work on uno may use smaller once figure out electronics such flasher or relays. part i'm not worried , have ton of 12 volt electronics experience. if can led's on arduino working can make them work on scooter.

analog input think best since triggered scooter turn signal , brake switch. both switches 12 volt output. lights converted 12 volt led. don't know works best arduino open expert suggestions.


this personal project please kind on quoting costs :)

hi vagguy,


here's few things consider design circuitry.  since you're familiar 12v, these shouldn't challenging you.

1. analog or digital, either way -- you'll need reduce 12v down 5v or less.  suggest use resistor divider circuit.

2. far driving 12v leds, you'll need use either relays, mosfets, or like.  uno generate 5v output signal.

pat.


Arduino Forum > Community > Gigs and Collaborations > Brake Light, auto canceling Turn Signal Project. Will pay.


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'