LED Lights for Peg Perego John Deere Tractor - Technical Details

Поділитися
Вставка
  • Опубліковано 24 сер 2024
  • 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...

КОМЕНТАРІ • 52

  • @theodorossakkos8860
    @theodorossakkos8860 5 років тому +5

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

  • @andrewmaxwell8559
    @andrewmaxwell8559 2 роки тому +3

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

    • @2002slpss
      @2002slpss 5 місяців тому

      I would buy one too!

  • @smittenless
    @smittenless 9 років тому

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

  • @osuhizzy
    @osuhizzy Рік тому +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!

  • @narwahlssb
    @narwahlssb 5 місяців тому

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

  • @RUNOVRYOU
    @RUNOVRYOU 3 роки тому

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

  • @michaelconnolly342
    @michaelconnolly342 9 років тому +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  8 років тому

      +Michael Connolly I sent you an email...

    • @pyrenaus1
      @pyrenaus1 8 років тому

      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 ?

  • @brianjobes
    @brianjobes 4 роки тому

    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

  • @Letsroll000
    @Letsroll000 8 років тому

    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.

  • @thegardentractor4715
    @thegardentractor4715 3 роки тому +1

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

  • @LucasHamilton731
    @LucasHamilton731 3 роки тому

    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?

  • @michaelevans6735
    @michaelevans6735 6 років тому

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

  • @michaelevans6735
    @michaelevans6735 6 років тому

    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.!!

  • @will370a
    @will370a 6 років тому

    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! 🙏🏻

  • @angelextrose5677
    @angelextrose5677 4 роки тому

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

  • @Hechtl
    @Hechtl 4 роки тому

    Wow awesome - do you sell a kit yet?

  • @timhaggard84
    @timhaggard84 3 роки тому

    Awesome job 👏

  • @romainmetz5751
    @romainmetz5751 5 років тому

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

  • @speaker-dj7bm
    @speaker-dj7bm 7 років тому

    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?

  • @sventeubler4215
    @sventeubler4215 5 років тому

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

  • @joshuawilliams5593
    @joshuawilliams5593 4 роки тому

    What exact kind of lights did you use?

  • @8kermitjr
    @8kermitjr 7 років тому

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

  • @TracTech
    @TracTech 9 років тому +1

    Nicely done.

    • @kevpatt
      @kevpatt  9 років тому

      +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 9 років тому

      +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  9 років тому

      +Trac Tech awesome! Definitely keep me posted!

  • @rickcollinsva
    @rickcollinsva 9 років тому

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

    • @kevpatt
      @kevpatt  9 років тому

      +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.

  • @brianday8217
    @brianday8217 Рік тому

    +1 for wanting a kit. 😂😎

  • @thejuncher
    @thejuncher 6 років тому

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

  • @turbodiz
    @turbodiz 7 років тому

    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!!!

  • @christoffer1973
    @christoffer1973 8 років тому +1

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

    • @kevpatt
      @kevpatt  8 років тому +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 8 років тому +1

      Kevin Patterson i would definitely buy them if they were available

    • @yrock777
      @yrock777 7 років тому

      I'd buy one

    • @PacmanR243
      @PacmanR243 3 роки тому +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 3 роки тому

      Me too

  • @PacmanR243
    @PacmanR243 3 роки тому

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

  • @MTB_Aaron24
    @MTB_Aaron24 6 років тому

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

  • @smittenless
    @smittenless 9 років тому

    Epic. And I need your help

    • @kevpatt
      @kevpatt  9 років тому

      smittenless What do you need my help with?

  • @rickcollinsva
    @rickcollinsva 9 років тому +1

    Not DOT APPROVED because trailer has no lights lol

    • @kevpatt
      @kevpatt  9 років тому

      +Rick Collins coming soon... :P

  • @richardlasalle4664
    @richardlasalle4664 9 років тому

    Do you have schematics?

    • @kevpatt
      @kevpatt  9 років тому +1

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

  • @paulatzimos8718
    @paulatzimos8718 4 роки тому

    Damn, your good! lol

  • @rickcollinsva
    @rickcollinsva 9 років тому

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

    • @kevpatt
      @kevpatt  9 років тому

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