AVR Drivers: Difference between revisions

Jump to navigation Jump to search
no edit summary
(add empty Compile Your Own Code section)
No edit summary
Line 1: Line 1:
[[File:Avrisp.jpg|thumb|200px|SOIC 8 clip attached to flashlight driver board for AVR ISP programming]]Some drivers have an Atmel microprocessor on board to control different modes. This microprocessor controls the number of modes, the brightness of the modes, the different flashing modes (strobe, SOS, etc.), mode memory, and low battery warnings. Atmel processors are programmable therefore the same driver can be loaded with different settings to customize the light with whatever features you want. This page will summarize some of the things you will need if you want to program your own drivers. This is based on a [http://budgetlightforum.cz.cc/node/799 Budget Light Forum discussion thread] where you can go for help or to get answers to your questions. This whole thing was started by a BLF member, Tido.
[[File:Avrisp.jpg|thumb|200px|SOIC 8 clip attached to flashlight driver board for AVR ISP programming]]Some drivers have an Atmel microprocessor on board to control different modes. This microprocessor controls the number of modes, the brightness of the modes, the different flashing modes (strobe, SOS, etc.), mode memory, and low battery warnings. Atmel processors are programmable therefore the same driver can be loaded with different settings to customize the light with whatever features you want. This page will summarize some of the things you will need if you want to program your own drivers. This is based on a [http://budgetlightforum.com/node/799 Budget Light Forum discussion thread] where you can go for help or to get answers to your questions. This whole thing was started by a BLF member, Tido.


All of this is based on AVR tools developed for Atmel chips, which is mostly open source (free). [http://en.wikipedia.org/wiki/Atmel_AVR Wikipedia article]. ISP means "In System Programming," in other words, the chip can be reprogrammed while still soldered in place.
All of this is based on AVR tools developed for Atmel chips, which is mostly open source (free). [http://en.wikipedia.org/wiki/Atmel_AVR Wikipedia article]. ISP means "In System Programming," in other words, the chip can be reprogrammed while still soldered in place.
Line 32: Line 32:
===BLF-VLD===
===BLF-VLD===


Tido created the original files that can be used, called the BLF-VLD (Budget Light Forum Versatile LED Driver). If you go to the first entry of the thread [http://budgetlightforum.cz.cc/node/799 How To Build a Flashlight With Perfect Modes], you will find a link to the latest zip archive of the files you need. This zip archive includes a helpful readme file.
Tido created the original files that can be used, called the BLF-VLD (Budget Light Forum Versatile LED Driver). If you go to the first entry of the thread [http://budgetlightforum.com/node/799 How To Build a Flashlight With Perfect Modes], you will find a link to the latest zip archive of the files you need. This zip archive includes a helpful readme file.


Without writing any code, you can choose from three setups that Tido has already written:
Without writing any code, you can choose from three setups that Tido has already written:
confirmed, developer
1,668

edits

Navigation menu