LED Lights for Peg Perego John Deere Tractor - Technical Details

Sdílet
Vložit
  • čas přidán 28. 12. 2014
  • Please see my other video for a live kid-tested demonstration!
    • LED Lights for Peg Per...
    These LED lights are controlled by an Atmel AVR ATMega328P micro controller on a custom-designed PCB. The PCB includes switching regulators for both logic supply and LED power, along with MOSFETs to drive the LEDs and a collection of support components.
    The ATMega328P is the same microcontroller used in the Arduino Uno, and my pin utilization was chosen to be full Arduino-compatible. In fact, I wrote all the control software in the Arduino IDE, and programmed the controller board using through 6-pin ICSP header that I included on the board. The microcontroller chip is also socketed "just in case".
    The software is all written in properly object-oriented C++, and can be field-upgraded directly from a laptop using an inexpensive USBasp programmer.
    LED brightness is controlled by the AVR PWM timers, using standard Arduino analogWrite() method calls.
    When not in use, power conservation is accomplished by disconnecting the entire circuit from the 12V battery by turning off p-channel power MOSFET. (During normal operation, a signal from the mcu keeps this MOSFET on.)
    The power-on procedure is initiated by a separate board mounted to one of the 12V electric drive motors. On this board, a pair of optoisolators detects power going to the motor (i.e. the tractor is being driven), pulling an open-collector output low and activating the p-channel power MOSFET on the main controller board. I think it's pretty clever.
    As long as the accelerator pedal is activated at least once every 5 minutes, the microcontroller continues to run and keep the lights on. If there is no activity for 5 minutes, the mcu kills the power to itself.
    Since I'm using high-efficiency switching regulators, not only is the entire circuit relatively immune to power fluctuations, but the current draw is minimal and efficient. I have not yet run an experiment to see how long a fully-charged batter will last with all the LEDs on, but I suspect it to be well in excess of 4 hours. Maybe a LOT longer...
  • Věda a technologie

Komentáře • 52

  • @theodorossakkos8860
    @theodorossakkos8860 Před 5 lety +5

    awesome job! wish I had the skills to do this to my son's tractor

  • @smittenless
    @smittenless Před 9 lety

    I figured it out, thanks! I was trying to figure out which LED's I needed in another project. Thanks for the reply!

  • @RUNOVRYOU
    @RUNOVRYOU Před 3 lety

    brilliant my friend!! great work, solid plan/design/execution! I really like

  • @Letsroll000
    @Letsroll000 Před 8 lety

    Great job very nice! Might try this as I'm getting ready to order my two year old this tractor or the case version of it. Schematic would be nice if you have one handy and where to pickup some of the parts as in controller. I've made a simple system for under our countertops with different modes but think this is a little different. That was plug and play type of thing.

  • @andrewmaxwell8559
    @andrewmaxwell8559 Před rokem +3

    Dude, sell this as a kit. I'd buy it!!!

  • @brianjobes
    @brianjobes Před 4 lety

    How did you get the LED headlights bulbs in far enough that they don't hit the lens? My bulb has a double like shoulder on it that makes it protruded too far out

  • @romainmetz5751
    @romainmetz5751 Před 5 lety

    Hello, can you tell me which model of LED have use. Do you have a reference?

  • @speaker-dj7bm
    @speaker-dj7bm Před 7 lety

    Kevin, I just wanna make 2 working headlights on a switch. What 1 watt LED's did you use and where can I get them?

  • @michaelevans6735
    @michaelevans6735 Před 6 lety

    Did you have much problem spliting the tractor to route the wiring and switch?

  • @sventeubler4215
    @sventeubler4215 Před 5 lety

    Hello Kevin can you send me more Information about this project, or did you sell this kitt?

  • @joshuawilliams5593
    @joshuawilliams5593 Před 4 lety

    What exact kind of lights did you use?

  • @8kermitjr
    @8kermitjr Před 7 lety

    I would love to have this for my son's tractor. do you build these kits to sell? thanks

  • @angelextrose5677
    @angelextrose5677 Před 4 lety

    How many watt are the front White led? And how many the Orange?

  • @thejuncher
    @thejuncher Před 6 lety

    is there anyway that you would send me the code for the arduino?

  • @LucasHamilton731
    @LucasHamilton731 Před 3 lety

    I know that this is an old posting but wondering if you by chance would sell the programming and parts list for duplication for my kid nephew?

  • @osuhizzy
    @osuhizzy Před rokem +1

    Kevin awesome project! I'm just starting to build something similar for my son. Did you happen to save the arduino sketch and schematics or have it posted somewhere or other details? I'd love to see how you did it and build upon. This is def a top notch product!

  • @michaelevans6735
    @michaelevans6735 Před 6 lety

    Hi Kevin, What did you use to control the individual LED voltages as I am trying to develop some ideas for my grandson's tractor. Very impressive results.!!

  • @Hechtl
    @Hechtl Před 3 lety

    Wow awesome - do you sell a kit yet?

  • @timhaggard84
    @timhaggard84 Před 2 lety

    Awesome job 👏

  • @will370a
    @will370a Před 6 lety

    Hello ! This is so awesome 👍🏻
    I sooo want to so this on my son’s JD ground force tractor! He got one this Christmas !
    I would be so thankful if you could send me some details for this project! I’m not an expert my self at this but got some friends with good electric skills that could help me! 🙏🏻

  • @MTB_Aaron24
    @MTB_Aaron24 Před 6 lety

    Cool video!!!!👍👍👍👍👍👍

  • @narwahlssb
    @narwahlssb Před 4 měsíci

    Dang. I was thinking of doing something similar with the same tractor but I was just going to do a on off switch lol😂

  • @thegardentractor4715
    @thegardentractor4715 Před 3 lety +1

    Nice! Make kit and i would buy... And meany more... ❤️

  • @michaelconnolly342
    @michaelconnolly342 Před 8 lety +3

    Outstanding Work! Kevin do you think you could give me some guidance on how do this with just with front full beam and tail lights on a simple on/off switch? I'm not electrically capable enough to do anything more advanced.

    • @kevpatt
      @kevpatt  Před 8 lety

      +Michael Connolly I sent you an email...

    • @pyrenaus1
      @pyrenaus1 Před 8 lety

      Awesome!!! Like your work!! So I would like to pimp my son's Ground Force with some LEDs as well but unfortunately I'm not that good enough to do it without any guidance form a Professional. Kevin do you think you could give me some ?

  • @TracTech
    @TracTech Před 9 lety +1

    Nicely done.

    • @kevpatt
      @kevpatt  Před 8 lety

      +Trac Tech Thanks! Hey I see the tractors you are building on indiegogo. If you're interested in a LED lighting solution, I think I could provide something tailored to your designs. Contact me at kevpatt _at_ khptech _dot_ com if you're interested!

    • @TracTech
      @TracTech Před 8 lety

      +Kevin Patterson OK, I've saved your email. I will keep you in my mind. Thanks! p.s. new version will blow everyone's mind... ;)

    • @kevpatt
      @kevpatt  Před 8 lety

      +Trac Tech awesome! Definitely keep me posted!

  • @turbodiz
    @turbodiz Před 7 lety

    Outstanding, Kevin! Sitting here admiring your work. Of course, now we gotta have it for our Ground Force tractor. :)
    Is there any way we could chat in private? Please, contact me (I was trying to find a way from here to send you a PM). Thanks!!!

  • @richardlasalle4664
    @richardlasalle4664 Před 9 lety

    Do you have schematics?

    • @kevpatt
      @kevpatt  Před 8 lety +1

      +Richard LaSalle Yes, yes I do.... email me kevpatt _at_ khptech.com if you'd like to get more info.

  • @PacmanR243
    @PacmanR243 Před 3 lety

    Very interested in replicating your build. Please let me know if you're able to point me in the right direction.

  • @brianday8217
    @brianday8217 Před rokem

    +1 for wanting a kit. 😂😎

  • @smittenless
    @smittenless Před 9 lety

    Epic. And I need your help

    • @kevpatt
      @kevpatt  Před 9 lety

      smittenless What do you need my help with?

  • @christoffer1973
    @christoffer1973 Před 8 lety +1

    WOW! That was cool! Do you sell this kit finish build... This you can easily sell!!!!

    • @kevpatt
      @kevpatt  Před 8 lety +1

      +christoffer1973 I don't have a kit for sale anywhere (yet), but I might be willing to put one together if you know someone who's seriously interested. I do have a store on Tindie.com (search "Creltek"), with various electronic modules, but this isn't on there yet. Maybe in the near future. :)

    • @it2perm
      @it2perm Před 7 lety +1

      Kevin Patterson i would definitely buy them if they were available

    • @yrock777
      @yrock777 Před 7 lety

      I'd buy one

    • @PacmanR243
      @PacmanR243 Před 3 lety +1

      @@kevpatt Hi Kevin, I've done similar, smaller scale projects in the past, but I'd be interested in a kit or at least schematics/parts lists if you're still watching this thread's replies.

    • @mmosinski
      @mmosinski Před 3 lety

      Me too

  • @rickcollinsva
    @rickcollinsva Před 9 lety

    Just put switch and led lights will last long time with minimal draw anyway. It's rechargeable anyway

    • @kevpatt
      @kevpatt  Před 8 lety

      +Rick Collins Sure, but since I'm using a microcontroller for special FX, etc., why not just build in a software timer? :) And even though the battery *is* rechargeable, you should be aware that repeatedly draining a rechargeable battery (especially nearly all the way, as the LEDs would do given enough time), will definitely destroy your battery (kill its storage capacity) over time.

  • @paulatzimos8718
    @paulatzimos8718 Před 4 lety

    Damn, your good! lol

  • @rickcollinsva
    @rickcollinsva Před 9 lety +1

    Not DOT APPROVED because trailer has no lights lol

    • @kevpatt
      @kevpatt  Před 8 lety

      +Rick Collins coming soon... :P

  • @rickcollinsva
    @rickcollinsva Před 9 lety

    No need for big words lol it's really easy to do this lmao

    • @kevpatt
      @kevpatt  Před 8 lety

      +Rick Collins Let's see the "emergency vehicle responder mode" without a microcontroller. "Easy" would not be my description...