ph001 said:Cool stuff! How does it all actually interface to the car in terms of braking, reversing, turning left & right etc? I assumed you were using some kind of acceleration sensor for the braking? Are you driving the individual leds with fets?
value = analogRead(brake); vout = (value * 5.0) / 1024.0;
brake_voltage = vout / (R2/(R1+R2)); if (brake_voltage < min_voltage) { brake_voltage=0.0; BRAKING=false; } else if (brake_voltage > min_voltage) { BRAKING=true; }
IAmOrion said:Sidewaze Samm said:Yes I missed a point already mentioned, which I asked as an afterthought.
My main point was a query about the legality of the positioning for indicators. I don't know the requirements, but maybe it's ok as 'repeater' flashers. Perhaps someone has decent knowledge of the relevant construction & use regs?
I must admit, I never even thought to check that aspect. I mean, I know it’s fine as braking & reversing ... I’ll try and find out about indicators. In my head I didn’t think it’d matter since it’s not replacing indicators, but adding more.
I’ve seen loads of people install the cheap off the shelf strips (as someone’s mentioned earlier) without issue so I’d hope it’s not an issue
enuff_zed said:Currently working as Compliance manager and tech author for a company making trailer mounted woodchippers.
We have to adhere to strict measurements for all light positioning.
found this for the indicators:
Colour Amber
Height position Between 350 mm and 1500 mm permissible
Width position Max. 400 mm from the outermost edge of the body. At least 600 mm apart
IAmOrion said:enuff_zed said:Currently working as Compliance manager and tech author for a company making trailer mounted woodchippers.
We have to adhere to strict measurements for all light positioning.
found this for the indicators:
Colour Amber
Height position Between 350 mm and 1500 mm permissible
Width position Max. 400 mm from the outermost edge of the body. At least 600 mm apart
What's the point of reference for the height out of curiosity?
This would mean that the indicator function is perhaps a no-no however it's no more riskier I suppose than the off the shelf 120cm strips you can buy (since their placement would be against those regs too). Having a switch on the PCB as Jl-c suggested would give an easy way to turn on and off for MOT etc lol
enuff_zed said:It would require a pretty bored, or over-zealous, plod to pick on you, but imagine if a car behind could, for whatever reason, only see the centre indicator set. How easily could they tell if you were turning left or right?
enuff_zed said:Height from the ground plane.
My point regarding plod was that they would be exempt from your MOT switch![]()
enuff_zed said:And if they did flash you to pull over, just flash your 'off-road' blue version and they'd assume you were on some covert op and let you go 8)
Or maybe not![]()
IAmOrion said:I mean, I guess it depends on how blind the person behind is, since the indicators are clearly off center to the left or right depending on which side is indicating... BUT there's 0mm between the left and rightso there's bound to be confusion for someone (hence the regs in the first place)
enuff_zed said:At night, for example?
enuff_zed said:I think the toggle switch idea should be used to manually select reversing light.
Should get the point across to all the numpties who don't know what a dipped headlight is :wink:
I've got a 3000 lumens torch in the car for that :dizzy:enuff_zed said:I think the toggle switch idea should be used to manually select reversing light.
Should get the point across to all the numpties who don't know what a dipped headlight is :wink:
Jl-c said:I love this and want one BUT .............. I can't seem to find a cheap E86 third brake light. E85, yes, but not E86. Any ideas, apart from cutting up the original which is OK but it is red not clear so colours will not render correctly?
Jteran5 said:I created an account just to message you haha
Very very impressive work.
I am actually interested in replacing my 3rd brake light and was wondering what kind of bulbs are in the OEM housing originally? Are they some that are just plugged into each spot somehow? I've seen pics and vids of people replacing them but never get to see what they look like on the inside.
Reaksn I'm asking is that I've replaced my rear lights with LED's and now my 3rs brake light looks dull in comparison. I really would want just an oem setup but to be brighter (if that makes sense)
IAmOrion said:The 12v-14v goes through a voltage divider (Just a 30k resistor and a 6.8k resistor) - the result of which connects to one of the Arduino Analog inputs. Then coded like this:
Code:value = analogRead(brake); vout = (value * 5.0) / 1024.0; brake_voltage = vout / (R2/(R1+R2)); if (brake_voltage < min_voltage) { brake_voltage=0.0; BRAKING=false; } else if (brake_voltage > min_voltage) { BRAKING=true; }
The min_voltage is pre-set at 3 ... this is to simply rule out any minor spikes ... those who have dabbled in Arduino and voltage into analog inputs like this will know that occasionally there's trace voltage and registers as like 0.3v or whatever... so that prevents accidental trigger.
Matty_Z4 said:For the floating pin can you just not use the appropriately sized pullup / pulldown resistor to tie the signal high or low until triggered? Not sure how it would affect the inbound signal from the voltage divider.
Looks like a pretty good project, always love a good DIY electronic project.