Modern turn signal lights v6.0 Attiny85 dedicated strips - Arduino, FastLED and WS2812B

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • This is a project ready to be implemented for modern turn signal lights (aka sequential led turn signals, dynamic signal lights or chasing led turn signals) with Attiny85 or Arduino, FastLED library and led strips WS2812B.
    This is version 6.0 dedicated strips with attiny85, one sketch for the signal lights, daylights and knight rider lights and one sketch for tail lights, brake lights, reverse lights and fog lights.
    You can customize almost everything from the sketchs like colors, animation timings and brightness.
    The idea behind this sketch is that you can give a new look to your older car. All the new car models have this type of turning lights with addressable leds that can be light up individually.
    FastLED is a fast, efficient, easy-to-use Arduino library for programming addressable LED strips, in this case WS2812B ( more info can be found here fastled.io/ ).
    If you have ideas for future cool but useful projects, don't hesitate to let them in the comments.
    ATtiny85 datasheet - ww1.microchip.c...
    Programming ATtiny85 with Arduino Uno by Arjun Ganesan: create.arduino...
    The sketch and schematic can be downloaded here: drive.google.c...
    Paypal donations: paypal.me/Thin...
    Patreon donations: / thinksmallbuildbig
    Link's Romania
    ARDUINO UNO R3 ATmega328p - l.profitshare....
    Arduino Nano v3 - l.profitshare....
    ATTINY85 - l.profitshare....
    Atmega328P-PU - l.profitshare....
    WS2812B 144 LEDs/m - ardushop.ro/ro...
    WS2812b 60 Leds/m - www.iluminat-i...
    LM2596 DC-DC Step Down Regulator Input 3.2V-40V Output 1.25V-35V Adjustable Buck Converter - l.profitshare....
    MP1584EN DC-DC Step Down 3A Adjustable Buck Converter - l.profitshare....
    Plexiglas transparent 5 mm - l.profitshare....

ความคิดเห็น • 54

  • @abeltorres4621
    @abeltorres4621 3 ปีที่แล้ว +1

    Blessings on your channel, I been looking for a long time for something like this 🔥

  • @GoranMilici
    @GoranMilici 3 ปีที่แล้ว

    Asta încerc eu de o luna am dat farul jos la mașină și circul fără far că nu știu ce design să fac in față. Am și ghozts controller other addressable led. I'm doing a whole retrofit with morimoto projectors. I think I have every led from corso motion and aliexpress.

  • @abdullahalrazi3491
    @abdullahalrazi3491 3 ปีที่แล้ว

    Nice project sir. Fan of yours.. wish you if could make a interior voice control changeable lighting system of car..

  • @akilaimarshana
    @akilaimarshana 3 ปีที่แล้ว

    Can you give me the code for Sequential led animation without other effects

  • @edled1026
    @edled1026 3 ปีที่แล้ว

    You are the best in what you do. Thank you for this great videos.

  • @iconcargarage8179
    @iconcargarage8179 4 ปีที่แล้ว

    Hello Superb work! I am working on something very similar in design but i have no knowledge in arduino and programing, so your channel is super helpful. My main question is how to connect such a system to a car switches? Is there possible to use oem cables and switches signal? Can i use drl with "auto" switch in my car and with dusk sensor?

    • @IonutFedaceag
      @IonutFedaceag  4 ปีที่แล้ว

      Thanks!
      In the next clips (when i will have the time to make them) you will learn all you need on how to use an optocoupler as inputs or outputs for you projects... because optocouplers are the safest way to link different logic voltage computers. ;)

  • @ialimhan
    @ialimhan 5 ปีที่แล้ว

    Hi friend, how to use this sketch on Arduino nano? Please help me.

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      You only need to uncomment this lines:
      //input pins for arduino ( except this one !!!!! )
      //const int buttonPinTS = 2; // turn signal pin for arduino
      //const int buttonPinEng = 3; // engine on to start day lights for arduino
      //const int buttonPinKnightRider = 4; // knight rider lights for arduino
      //const int buttonPinTailLights = 5; // night / tail lights for arduino
      //FastLED.addLeds(leds[0], NUM_LEDS_PER_STRIP); //led strip front left for arduino
      and comment this lines:
      //input pins for attiny85
      const int buttonPinTS = 1; // turn signal pin for attiny85
      const int buttonPinEng = 2; // engine on to start day lights for attiny85
      const int buttonPinKnightRider = 3; // knight rider lights for attiny85
      const int buttonPinTailLights = 4; // night / tail lights for attiny85
      FastLED.addLeds(leds[0], NUM_LEDS_PER_STRIP); //led strip front left for attiny85
      from both sketches.
      After that the code should work ok.

  • @imadjawad4408
    @imadjawad4408 5 ปีที่แล้ว

    Hi,
    when trying to upload the code to Arduino, I get Dvoid does not name a type.
    In file included from C:\Users\imadj\AppData\Local\Temp\arduino_modified_sketch_430223\semnalizare-v6-tail.ino:2:0:
    C:\Users\imadj\Documents\Arduino\libraries\FastLED-master/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.009
    # pragma message "FastLED version 3.002.009"
    ^
    semnalizare-v6-tail:35:1: error: 'Divoid' does not name a type
    int reverseLightModel[] = {7,8,9,10,11,12}; // model array for reverse lights leds from 0 - 19 for 20 leds
    ^
    semnalizare-v6-tail:36:64: error: 'Di' does not name a type
    int rearFogLightsModel[] = {0,1,2,3,4}; Di// model array for rear fog lights leds from 0 - 19 for 20 leds
    ^
    exit status 1
    'Divoid' does not name a type

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว +1

      Sorry, my mistake!
      When i clean up the code i've forgot a "Di" in the front of the comment at this line ...
      int rearFogLightsModel[] = {0,1,2,3,4}; Di// model array for rear fog lights leds from 0 - 19 for 20 leds
      I've reuploaded the sketch ok. You can download again or delete "Di" from the above line.

    • @imadjawad4408
      @imadjawad4408 5 ปีที่แล้ว

      Thanks for the reply!

  • @HassanKhawajatareen
    @HassanKhawajatareen 2 ปีที่แล้ว

    Great work keep it up we want to see more similar projects

  • @javierpallalorden
    @javierpallalorden 5 ปีที่แล้ว +1

    Very nice!

  • @zeetech2024
    @zeetech2024 4 ปีที่แล้ว

    Hi, is it possible to use high power 3-Watt bead LEDs instead of WS2812B strips?

    • @IonutFedaceag
      @IonutFedaceag  4 ปีที่แล้ว

      If you refer to normal rgb leds, no... because then you will need to use three mosfets and three outputs for each led... and it will get very messy...
      I don't think that high power digital leds exist on the market, but correct me if i'm wrong.

    • @zeetech2024
      @zeetech2024 4 ปีที่แล้ว

      @@IonutFedaceag Hi, I am talking about these LEDs: th-cam.com/video/ewkMoUp20qk/w-d-xo.html
      could you please check it and let me know if these LEDs could be replaced with WS2812B strips?

  • @MERTattoo
    @MERTattoo 5 ปีที่แล้ว

    Your project is great and just what I was looking for. Do you have a version that would have taillight, reverse light, brake light and turn signal in one sketch? When I try to add turn signal into your tail sketch it breaks code. Any suggestions would be appreciated. Thank you very much for you time.

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      Thanks!
      Yes, but not with attiny85 and on different strips (version two). It didn't fit into attiny85, but it also wouldn't be safe to use the same strip for signal lights and also brake or tail lights... i sugest to use two attinys85, one for signal lights and one for the rest, so in this way you will have both signal and brake or tail lights.... because both signal and brake lights have great importance for vehicle approaching from behind and that's why you should have two stripes, one for each function.
      I know it will be cool and great, but i wouldn't be safe...

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      I don't know if made it already, but here is the version that you needed. th-cam.com/video/cia5Xr7aA0c/w-d-xo.html

  • @dimitrisimanowitsch66
    @dimitrisimanowitsch66 4 ปีที่แล้ว

    Hi
    Thats great what do you do . Where do you buy the parts fir this projekt ?
    I want this projekt make in my audi a6 . Ich have 3watt bicolor power leds yellow/white
    And now i need the microcontoller and than i can start my project .
    Sorry for my bad english , i‘m from germany

    • @IonutFedaceag
      @IonutFedaceag  4 ปีที่แล้ว

      Hi and thanks.
      I'm always in a hurry when i make the clips and i forget to put links in the descriptions. I promise this weekend i will do just that on all my clips. :)
      Well, if you wanna use your 3 watt bicolor leds the code and schematic will not be the same and you will need a power mosfet and two outputs on the controller for each led(or using a multiplexing chip). It will be a completly difrent thing.
      So, do you have in mind to use 3 watt bicolor leds or digital leds(ws2812b) ?

    • @dimitrisimanowitsch66
      @dimitrisimanowitsch66 4 ปีที่แล้ว

      Hi
      Yes i want to put the 3 watt bicolor leds becauso there are brigther as digital leds and i can every led put where i want .
      Thanks for the answer

    • @dimitrisimanowitsch66
      @dimitrisimanowitsch66 4 ปีที่แล้ว

      I use low voltage transformer for 600ma constant current and 12v voltage. I switch 3 leds in a row per transformer for dynamic turn signals and daytime running lights, 9 LEDs are connected in series with a slightly larger transformer. if that is too complicated with dynamic turn signal and the power leds you can then help me to build it so that the daylight dimmed when I turn on headlights and goes out as long as the turn signal is normal

  • @justinestardo8545
    @justinestardo8545 5 ปีที่แล้ว

    morning boss hehe.. how to know f ill use 470 or 210 r?

  • @arifrismawanto1198
    @arifrismawanto1198 5 ปีที่แล้ว

    Bkinkan yg tanpa tombol bisa gak gan

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      Tolong, setidaknya bahasa Inggris jika bukan Rumania, karena saya tidak mengerti apa-apa dan terjemahannya kacau ...

  • @zeetech2024
    @zeetech2024 4 ปีที่แล้ว

    Nice video, really appreciate it... :-)

  • @dhrg12
    @dhrg12 5 ปีที่แล้ว

    finally i can use my attiny85 thank you very much sir

  • @عمرريس-ي8ت
    @عمرريس-ي8ت 5 ปีที่แล้ว

    Wonderful work, would you please help me with a project that have tail light, reverse light, brake light and turn signal for attiny 85 in one sketch?

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      First of all, thank you for your donations... it really means a lot.
      Your the second one that asked for the same functions in one strip with attiny85.
      I still think that it's not a good idea to have brake lights and signal lights on the same strip, because a fraction of second can make the difference between life or death if the driver behind you sees your intention or your brake light.
      I know that this is allowed in some countries, but i leave in Romania (Europe) and here this is not allowed and i do agree with this law.
      So, i will try to make a new revision for version 6.0 with this functions in one strip and release it in the near future.
      The only problem is two make it feet in the attiny85, because it has only 8k of program memory... ;)

    • @عمرريس-ي8ت
      @عمرريس-ي8ت 5 ปีที่แล้ว

      @@IonutFedaceag I wish I can donate more.
      For the stop light + turn signal on the same strip , I am using it as a secondary option. If attiny85 memory not enough, can you make it ( running light + brake light + sequential turn signal ) ??

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      By running light you mean daylight?
      Well, let's see first if i can feet in the first request and i'll be back to you... The problem is that the biggest off them all is the sequential turn signal.
      I was really busy last week and this week with a personal problem, but i will try to get the video out this weekend.

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      Hi, here is the version that you needed. th-cam.com/video/cia5Xr7aA0c/w-d-xo.html

  • @jcjanestardo1782
    @jcjanestardo1782 5 ปีที่แล้ว

    How to switch 1 and 2? 2 switch in 1?

    • @jcjanestardo1782
      @jcjanestardo1782 5 ปีที่แล้ว

      And how to know if i use 470 and 270r?plsss thanks.. Big help

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      I do not understand what you mean by " How to switch 1 and 2? 2 switch in 1? "
      As for resistances, use the values from the basic schematic.

    • @justinestardo8545
      @justinestardo8545 5 ปีที่แล้ว

      @@IonutFedaceag he means s1 s2 in the diagram hehe his my brother

    • @MERTattoo
      @MERTattoo 5 ปีที่แล้ว

      Can you include an up close look at your bread board and how it is wired, yours is so clean and nice, I would like to test mine before putting it in, keep up the awesome work

    • @IonutFedaceag
      @IonutFedaceag  5 ปีที่แล้ว

      @@MERTattoo Actually, i didn't take close up shots of the bread board, but you have the schematic at the end and in the download link for all the wiring.
      From now on, before i dismantle everything, i will take close up shots off everithing.
      Allways test before making the final circuit, allways test before closing all up and allways do something that you can easily open in the future to fix it if it's needet.
      Thanks and that i will do. ;)