Modern turn signal lights v5.0 all in one strip - Arduino, FastLED and WS2812B

  Рет қаралды 11,366

Ionut Fedaceag (TS-BB)

Ionut Fedaceag (TS-BB)

Күн бұрын

Пікірлер: 68
@KeithRobertson1
@KeithRobertson1 3 ай бұрын
Super beginner question but why do we need resistors? Is this to protect the circuit?
@x-TURBO-x
@x-TURBO-x Ай бұрын
witch line modify ? for motorcycle i want to have FOG light's in both strip side's. (like reverse light). Thanks
@wawanirianto2130
@wawanirianto2130 3 жыл бұрын
Do you have in two strip?
@dsteeper
@dsteeper 2 жыл бұрын
Hello. Thank you for this video!!!!! I am almost finished this project for the front bumper of my offroader. I have one question. I would like the DAY LIGHTS to be the same colour as the turn signals. I have scoured the code looking for the colour for day lights and cannot find it. is there some way you can point me to it?
@anderson8455
@anderson8455 4 ай бұрын
d you have a diagram for this..?😊
@colin309857
@colin309857 3 жыл бұрын
Hello, its great code!! but is there a way i can cancel left blinker when right blinker is pressed? because sometimes it will go to hazzard lights
@MizanChen
@MizanChen 4 жыл бұрын
Hi, is it possible to connect the Arduino to the original motorcycle switch instead of adding external switch? Thanks
@alexiszurex
@alexiszurex 8 ай бұрын
@IonutFedaceag i try upload ur code to arduino my nano..... it keeps doing running sign (hazard) every 3 sec...... i change nothing from ur code..... where di i go wrong ???? thanks
@saulsohk
@saulsohk 4 жыл бұрын
I want to make turn signals and knight rider to be brighter i was able to make daylights brighter but not the other ones. How can i do it?
@290986580
@290986580 4 жыл бұрын
You sell for completed set?
@733ETY
@733ETY 3 жыл бұрын
Ai implementat vreodata unul din proiectele tale pe vreo masina ?
@LUCIOmedia
@LUCIOmedia Жыл бұрын
Hello! Nice project! Is this just for UNO or working on DUE too?
@IonutFedaceag
@IonutFedaceag Жыл бұрын
Hello. DUE has I/O pins at 3.3, you will need 3.3 to 5 level shifter for the leds digital control pin. In other words, you ar complicating yourself with DUE.
@muhammadzaid532
@muhammadzaid532 4 жыл бұрын
Mine is working very low I want to make them bright Help me and suggest me the changes sir Thanks
@imadjawad4408
@imadjawad4408 5 жыл бұрын
Great work!!
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
Thanks! :)
@joshravesloot
@joshravesloot 3 жыл бұрын
I’ve made infinite amount of search for what you just showed ans have wanting so fucking bad to find and I finally did THANK YOU
@IonutFedaceag
@IonutFedaceag 3 жыл бұрын
😂😂😂😂 You're welcome !
@jellyfish6929
@jellyfish6929 4 жыл бұрын
GREAT VIDEO! The switches you use are they momentary switches or are they toggle switches? I assume that they are momentary switches but i am not certain. And the capasitors beneath the right and left turn light switches are they necessary. I would really appreciate it if you would reply :)
@olafbreuer2495
@olafbreuer2495 4 жыл бұрын
Hi! The swithes are toggle switches and the capacitors are to flatten the control signal. Prevents indicator from unwanted triggering and eliminates problem due to intermittend/bad contact on the indicator switch.
@Garageworks717
@Garageworks717 5 жыл бұрын
Hello I just pulled the sketch but I didn’t see where #define DATA PIN 11 was ,I need to switch it to PIN 2 I’m using an Arduino Nano
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
Just search for " const int outLed1 = 11 " and you will find it, but pin 2 it's used already with the button for changing tha animation, so you will have to change it to another pin if you don't want pin 11.
@Garageworks717
@Garageworks717 5 жыл бұрын
Think small, build big! Thank you
@olafbreuer2495
@olafbreuer2495 4 жыл бұрын
Great Job! I used it on my Xiaomi M356 and it looks incredible. Only when I connected the optocoupler (same LTV817 like you did in the schematic), my backlight led blew off. Cannot imagine why and how that could have happened. If I see things right you create a voltage divider with the two 1K resistors to stay within the limits of the opto. 2K in direction to ground is perfect for the led power source, so maybe it just went because it was her time to go... Connections to Arduino and brakeled have been doublecheked several times and its not that complicated so, did I miss something? If you connect an opto by the way, you leave the 10K pulldown at the respective port connected?
@imadjawad4408
@imadjawad4408 4 жыл бұрын
Hello again, I'm trying to make the turn signal animation one per signal, so when the turn signal light once the leds make one move not two, how to accomplish that? Thanks!
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
Hi, Search for and change to 2... int nrAnimAfterOff = 3; //number of animations for a single impulse 3 means actually 2 passes and 2 will be actually 1 pass... With pleasure !
@imadjawad4408
@imadjawad4408 4 жыл бұрын
@@IonutFedaceag Thanks! I did, it works fine but not every time, now it's making one animation and sometimes two, not constant. Thanks!
@budiyono8218
@budiyono8218 3 жыл бұрын
thanks for sharing. like it
@mertcapkin7263
@mertcapkin7263 3 жыл бұрын
I have to make this on my golf cart! 😃
@Dwi_Akza
@Dwi_Akza 5 жыл бұрын
I have a problem when I plug in my vehicle, may I ask you, I use Arduino Nano, the LED suddenly lights up itself like bounching, I have added a 10K resistor as a pulldown. the circuit that I made, from the battery in stepdown using ic 7805 for power Arduino and led ws2812b, then as a switch I give ic 7805. is this problem due to the large power?
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
I've said in a lot of comments, don't use 7805 linear regulators, because they are extremely inefficient, they are not able you stay constant, they fluctuate a lot when you suddenly draw large currents, they ar not meant to be use in this way, they overshoot and you could kill your led's and your controller. For triggering use optocouplers and for powering everything, use step down buck converters, because they are fast enough to regulate the voltage and not overshoot.
@Dwi_Akza
@Dwi_Akza 5 жыл бұрын
Think small, build big! thank you for replying to my question, so each switch uses an optocoupler to trigger the digital pin, do you think it's safer ?
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
@@Dwi_Akza It's the safest way to separate a low voltage side from a high voltage side, because they are galvanic separated, which means left side doesn't touch the right side in any way, it's controlled thru light, that's why there is a symbol of an led in the schematic and that's why it's called optocoupler...
@Dwi_Akza
@Dwi_Akza 5 жыл бұрын
Think small, build big! that means I need about 5 optocouplers for each trigger switch, for example, left light 1 optocoupler, right light 1 optocouler, and so on. because I immediately took power from the vehicle lights that followed the vehicle's relay ticking
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
@@Dwi_Akza Yes, you need one for each signal. Optocouplers also come in packages of two and four (ltv817 , ltv827 or ltv847), see the datasheet for LTV8x7 for more info.
@imadjawad4408
@imadjawad4408 5 жыл бұрын
I would like to minimize the code down to running lights, brake lights, reverse and turn signals, what parts of the code should be eliminated? Thanks!! :)
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
First, thank you for your donation, this helps and motivates me to do more! Now let's get back to the topic, the signal lights take much of the space needed, fog lights and tail lights take aprox 1200 bytes... if don't want them, just ground the pin... If you want to minimize the code to use it with a smaller IC, witch IC you want to use ? By the way, the next version will be with attiny85 separated for each function (signal, day + knight rider lights one sketch and tail, brake, reverse, fog + knight rider lights another sketch), in this way it's more easy to embed everything in the headlight or taillight. Because the sketch is to big for attiny85, i decided to separate them.
@imadjawad4408
@imadjawad4408 5 жыл бұрын
You are welcome, thanks for your time! Will wait the new codes also I will try to minimize the existing code by deleting section by section I'm very excited to learn things from ground up, in the 80's I taught myself BASIC language now I will do the same with arduino.
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
Well in the 80's i was born so i love the era. :) Download the sketch again from this link drive.google.com/file/d/1JW0eVpUPa663CMOQLfURBGGcxHbDqKdQ/view . I've commented all the major functions and all variables are named from the beginning really obvious so everything should be understandable.
@tuday5783
@tuday5783 5 жыл бұрын
Hello, congratulations for this project. I also managed to do this but I was never able to find a solution to one of my problem. My problem is that when I release the flashing button the flashing finished the sequence it goes to the end of the led tape but he dont stop. I hope you understand me I am French. If you have a solution, I'm interested
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
The new version is out - kzbin.info/www/bejne/e4myZmuIe8yEf8k
@petryrety
@petryrety 4 жыл бұрын
*ce switch trebuie folosit pentru semnalizare? Care este doar un push si revine in pozitia initiala (da doar un impuls) sau switch care trebuie sa ramana activat pana la oprirea manuala a acestuia?*
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
Daca vrei sa ramana semnalizarea pusa trebuie sa folosesti impulsuri regulate, adica un impuls la aprox 400ms (asemanator cu un releu auto)... dar pentru teste poti folosi switch push sau switch cu retinere...
@uvwuvw-ol3fg
@uvwuvw-ol3fg 2 жыл бұрын
@@IonutFedaceag I have never seen requirement to hold down the button for the turn signal to stay on anywhere else. Is it hard to implement the code for the turn signal to stay on? I guess if the all outputs on Arduino are used then it's impossible to add a buzzer to replicate the ticking sound of the relay? I guess analogue output could be used since analogue pins also serve as digital pins. Seems weird that nobody else is addressing this issue. I guess every good project always has something unexpected going on.
@Dwi_Akza
@Dwi_Akza 5 жыл бұрын
Hello @Think small.build.. hello I want to ask how to change the tail light animation so that it looks like a color palette, I have tried changing it but it still can't ... may I ask your email to learn more ...
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
Well, i don't think that you can't use color palette, because that will make the other animations choppy... Yes, you have my email at the description tab of the channel.
@jesperkuipers7556
@jesperkuipers7556 4 жыл бұрын
Hi, Amazing how you managed to make it work! you see i cant. when i connect everything up the signal flashes a few times but does not really react to the 5v input. could you help me out?
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
Thanks! If you are trying to recreate the "Modern turn signal lights v5.0 all in one strip" be sure that you follow the basic schematic included in the download link. If you followed the schematic and it's still doesn't work, send me a picture of your setup with details and let's see where the problem is...
@jesperkuipers7556
@jesperkuipers7556 4 жыл бұрын
@@IonutFedaceag I have, also tried to rebuild the v1.0 same reaction...
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
​@@jesperkuipers7556 You are doing something wrong... send me pictures or a clip of you setup and some explications...
@tuday5783
@tuday5783 5 жыл бұрын
Hello, congratulations for this project. I also managed to do this but I was never able to find a solution to one of my problem. My problem is that when I release the flashing button the flashing finished the sequence it goes to the end of the led tape but he dont stop. I hope you understand me I am French. If you have a solution, I'm interested
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
Hi and thanks. If i understand correctly, after the sequence finishes, the leds won't go off. If that is the case, this means you are not updating the leds to another state/color after the animation finishes. In digital leds, if you send once a color and update it, then the leds will keep that color until a new color is send. The approach that i'm using in changing the colors and updating the leds is by thinking about the controller state and i change that state when a function finishes or when a button is pressed. I'm using this approach in almost every project that i've done until now and it never let me down.
@tuday5783
@tuday5783 5 жыл бұрын
@@IonutFedaceag Hi and thank you this is not really what I wanted to ask you, I may have been poorly expressed, I wanted to ask you if there was another way to do it because in your code when you press a button you enter a "void" and imagine in this void there is that every second we turn on a led in addition, all that hang 100 seconds that will turn 100 led if i press and release the button. but me that I want to do it is every second we turn on a led in addition, all that hang 100 segonde and if I release the button we leave the void and we return to the void loop, do you have a solution for this? cordially
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
So, you want as long as the button is pressed the animation to run and when you release the button the animation to stop and return to void loop... i understand it correctly this time?
@tuday5783
@tuday5783 5 жыл бұрын
@@IonutFedaceag Yes that's exactly it
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
Well, that's simple, use a while loop. You could also use a separated void, it will be simpler to call in different portions of the code, but you could have the animation in that while loop. while (pin X == HIGH) { // do the animation } www.arduino.cc/reference/en/language/structure/control-structure/while/ If you use some states variable, you could simply clear all the leds after exiting.
@SXPRO_SCHOOLSYSTEM
@SXPRO_SCHOOLSYSTEM 4 жыл бұрын
Thank you very much Sir for this video. I am new in using arduino. Could you possibly make another video how to plug to the car. I would to apply in the car but I don't understand how to plug it. Thanks again for your help
@IonutFedaceag
@IonutFedaceag 4 жыл бұрын
Well, that will be impossible, because every car is unique in its electrical installation, that's why i provided only the basic schematic and the rest will be done by every user. Everything you need is basic knowledge about electronics and electrical installations, but if you don't have them, don't try it directly on your car, it's risky! Try asking a close friend for help... or make some research before...
@luthfisby
@luthfisby 5 жыл бұрын
How to make RGB tail Light ? Terima kasih
@IonutFedaceag
@IonutFedaceag 5 жыл бұрын
That will be tricky to do, because the rainbow function fills all the led strip... I will try it in the next clip and see what is the simplest method. With pleasure. ;)
How to control groups of leds in FastLed Library with Arduino and WS2812B NEOPIXEL
14:42
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Toothbrushing Analyzing Machine
3:12
Kazım Yıldırım
Рет қаралды 41
Modern turn signal lights v4.0 for bikes - Arduino, FastLED and WS2812B
6:06
Ionut Fedaceag (TS-BB)
Рет қаралды 6 М.
DIY Smart Stairway Controller TSBB v.1.0.0 with arduino and ws2812b or ws2811
12:56
The correct way to use buttons with FastLed library, Arduino and WS2812 NEOPIXEL
15:50