|
|
| Author |
Message |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 15:11 - 16 Jun 2019 Post subject: Experimenting with LEDs for clock lights |
 |
|
Bright sunlight? Can't see your neutral light? This may interest you.
Before:
https://i.imgur.com/Hvobrqd.jpg?2
After:
https://i.imgur.com/mNsH8Z0.jpg?1
Nice!
So here's the things you need to know...
You'll need T5 to replace small wedge bulbs and T10 for the large ones. I would recommend just getting super/ultra/mega/whatever bright white LEDs 12V (i.e. some sort of voltage drop down built in.)
I experimented with green vs white and there was little difference.
Watch out for polarity though - there are no markings on the LEDs or their holders usually so it's just a fifty/fifty guess! Don't worry though, a few seconds of reverse polarity shouldn't do any harm.
I replaced my T10 backlights, T5 neutral and T5 hi-beam. I did want to replace the indicator one...
So we all know that you can't just dump LED indicator bulbs in without your flasher relay having a fit - you need ballast resistors, something to make the LEDs "look" like filament bulbs. (Either that or use an LED specific flasher relay.) But I know now that this even applies to the indicator for the indicators Yes, the flash speed when a bit screwy but not as much as changing the main indicator bulbs.
I'm now weighing up whether to "fix" the little wedge bulb or go LED for everything and change the flasher unit. ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Sister Sledge |
This post is not being displayed .
|
 Sister Sledge World Chat Champion

Joined: 17 Aug 2018 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Pjay |
This post is not being displayed .
|
 Pjay World Chat Champion

Joined: 18 Jan 2016 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| WD Forte |
This post is not being displayed .
|
 WD Forte World Chat Champion

Joined: 17 Jun 2010 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| stinkwheel |
This post is not being displayed .
|
 stinkwheel Bovine Proctologist

Joined: 12 Jul 2004 Karma :    
|
 Posted: 15:58 - 16 Jun 2019 Post subject: |
 |
|
As above, for LED flashers just fit an electronic relay.
When I fitted 10mm LEDs in my VFR dash they were WAY too bright so they both dazzled me and overwhelmed the tint of the lenses so they all looked blue/white.
I got round this by painting the top half of them with black paint but I'd use coloured ones in future.
You sometimes get odd effects when its damp, they can start glowing slightly due to current tracking over the surface of the wires. ____________________ “Rule one: Always stick around for one more drink. That's when things happen. That's when you find out everything you want to know.”
I did the 2010 Round Britain Rally on my 350 Bullet. 89 landmarks, 3 months, 9,500 miles. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 16:05 - 16 Jun 2019 Post subject: Re: Experimenting with LEDs for clock lights |
 |
|
| Pjay wrote: | | HardlyDavidson wrote: | Watch out for polarity though - there are no markings on the LEDs or their holders usually so it's just a fifty/fifty guess! Don't worry though, a few seconds of reverse polarity shouldn't do any harm. |
The longer leg is positive. |
On raw LEDs but they get trimmed once they go in the holders.
I didn't "discover" much useful information with regards to LEDs in clocks and gauges. Plenty on headlight, brake and indicator bulbs.
Good point on night time riding, will have to see. I mostly ride in the day though.
Off the shelf LED flasher relays are ~£5 now. ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| ThatDippyTwat |
This post is not being displayed .
|
 ThatDippyTwat World Chat Champion

Joined: 07 Aug 2016 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 22:13 - 16 Jun 2019 Post subject: |
 |
|
So, had a ride out this evening just to see what the lights were like in the dark...
Fecking excellent! Especially the backlights, now I can actually read the number on the dials
The neutral and main beam lights were a bit brighter than the indicator one but not as much as I'd expected and yet they look great in bright sunlight. Weird... anyhoo, apart from the backlight these are all things that only come on occasionally so wouldn't be a big deal if they were eye-searing.
I've had a look at my bike's circuit diagram and it doesn't look too much bother to wire in the LED flasher unit I have in my spares box... if I can find where the original is located! (Probably somewhere under the seat.) ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 22:38 - 16 Jun 2019 Post subject: |
 |
|
Damn... not simple!
So my faux-cruiser has Harley-style push-button indicators. When you push left, for example, the button shorts to earth to trigger the flasher. Another push (after ~1 second) cancels the flasher.
Hmm... sounds like a job for an Arduino + double relay  ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 01:44 - 17 Jun 2019 Post subject: |
 |
|
I've written this for the Arduino Leonardo. It's not efficiently written code; readability > efficiency There's a 1.5sec debounce feature and you can hold both buttons for hazard warning.
| Code: |
int pinInLeft = 0;
int pinInRight = 1;
int pinOutLeft = 9;
int pinOutRight = 10;
unsigned long delayPress = 0;
bool flashLeft = false;
bool flashRight = false;
bool flashHazard = false;
unsigned long previousMillis = 0;
unsigned long currentMillis = 0;
int ledState = LOW;
int FLASH_TIMING = 750;
int DEBOUNCE_DELAY = 1500;
void setup() {
pinMode(pinInLeft, INPUT_PULLUP);
pinMode(pinInRight, INPUT_PULLUP);
pinMode(pinOutLeft, OUTPUT);
pinMode(pinOutRight, OUTPUT);
}
void loop() {
//Input
if(digitalRead(pinInLeft) == LOW && digitalRead(pinInRight) == LOW) {
if((millis() - delayPress ) > DEBOUNCE_DELAY) {
delayPress = millis();
flashLeft = false;
flashRight = false;
flashHazard = !flashHazard;
ledState = LOW;
previousMillis = 0;
}
} else {
if(digitalRead(pinInLeft) == LOW) {
if((millis() - delayPress ) > DEBOUNCE_DELAY) {
delayPress = millis();
flashLeft = !flashLeft;
flashRight = false;
flashHazard = false;
ledState = LOW;
previousMillis = 0;
}
}
if(digitalRead(pinInRight) == LOW) {
if((millis() - delayPress ) > DEBOUNCE_DELAY) {
delayPress = millis();
flashRight = !flashRight;
flashLeft = false;
flashHazard = false;
ledState = LOW;
previousMillis = 0;
}
}
}
//Flash timing
currentMillis = millis();
if(currentMillis - previousMillis > FLASH_TIMING) {
previousMillis = currentMillis;
if(ledState == LOW) {
ledState = HIGH;
} else {
ledState = LOW;
}
}
//Output
if(flashLeft) {
digitalWrite(pinOutLeft, ledState);
digitalWrite(pinOutRight, LOW);
}
if(flashRight) {
digitalWrite(pinOutRight, ledState);
digitalWrite(pinOutLeft, LOW);
}
if(flashHazard) {
digitalWrite(pinOutLeft, ledState);
digitalWrite(pinOutRight, ledState);
}
if(!flashRight && !flashLeft && !flashHazard) {
digitalWrite(pinOutLeft, LOW);
digitalWrite(pinOutRight, LOW);
}
}
|
____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| WD Forte |
This post is not being displayed .
|
 WD Forte World Chat Champion

Joined: 17 Jun 2010 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 00:05 - 18 Jun 2019 Post subject: |
 |
|
Sorry but no, this is where the cheeky, cheeky Chinks have 100% ripped off Harley Davidson. I've looked at the 6-wire flasher unit and it has:
+12V
Gnd
Left Input
Right Input
Left Output
Right Output
The switches are momentary short to ground. Press once to activate indicator, press a second time but only after 2.5 seconds to cancel. If you can suggest a way of emulating such an arrangement with just relays then colour me amazed/grateful!
As it is I'm using a Beetle which is about the size of a postage stamp. I have an uncased USB charging board to power it (12V to 5V) and I'm going to try either 2x 5V mech relays or 2x solid state. If the solid state ones work I can make the whole package around the same size as the original unit.
And then you can do stoopid stuff like have the flashers do S.O.S. instead of the bog standard hazard pattern (probably not legal though!) ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| The Shaggy D.A. |
This post is not being displayed .
|
 The Shaggy D.A. Super Spammer

Joined: 12 Sep 2008 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| WD Forte |
This post is not being displayed .
|
 WD Forte World Chat Champion

Joined: 17 Jun 2010 Karma :   
|
 Posted: 15:52 - 19 Jun 2019 Post subject: |
 |
|
Ahh I assumed a full sized board
That wee beetle does look fun, may buy a few cheap chinese ones to play with
I'd still maintain the KISS principle though and only add complexity when it
calls for it, say voltage monitoring or alarm.
I'd use the 2 momenetary bar buttons to Trigger 2 active low flip flop type relays one per side
and a common flasher unit.
You'd have both normal and hazard functions as well by pressing both buttons
Cost less than a tenner all in, no voltage level shifting or coding, easy to wire and fix/maintain
forget silly tilt cancel and sos flashing options.
You can buy these for about £2 each
I've been running 55/65W headlights through those Songle relays for years and they're well up to
running flashers, I'm using them on my current bike mods
Simple connections
Power to flasher unit, pulse out to each COM and each NO connects to L or R flashers
T get grounded by bar button/s to activate
https://i.ebayimg.com/images/g/7GcAAOSw5GZbRIXu/s-l1600.jpg ____________________ bikers smell of wee |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Easy-X |
This post is not being displayed .
|
 Easy-X Super Spammer

Joined: 08 Mar 2019 Karma :   
|
 Posted: 16:29 - 19 Jun 2019 Post subject: |
 |
|
Nice! I was looking at latching relays this afternoon but there's such a bewildering variety of the things. I know what to look for now
The thing with Arduinos though is the knock-offs are perfectly adequate and add little cost to anything you care to get them working on although I concede your point on voltage regulation (12V to 5V.)
The manufacturer part (for filament bulb indicators) is ~£60 I dread to think what the HD part with the tilt thing costs!
About the only thing I like about going more complex than just latching relays is having a timed debounce on the the switch. The stock 2.5 seconds is way to long and annoying but ~1sec is much more reasonable.
And just to flip-flop again while the tilt cancel sounds convenient I'm not going to have such niceties on my Mod 2 bike so I should really get sharp on cancelling the signals myself! ____________________ Royal Enfield Continental GT 535, Husqvarna Vitpilen 401, Yamaha XSR700, Honda Rebel, Yamaha DT175, Suzuki SV650 (loan) Fazer 600, Keeway Superlight 125, 50cc turd scooter |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Islander |
This post is not being displayed .
|
 Islander World Chat Champion

Joined: 05 Aug 2012 Karma :    
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| WD Forte |
This post is not being displayed .
|
 WD Forte World Chat Champion

Joined: 17 Jun 2010 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 6 years, 254 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|