Difference between revisions of "Blinky with Starter AVR"
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
After setting up starter AVR board, we will start with simple LED blinking experiment. Two user LED's are provided on starter AVR board, we will use same for this experiment. | After setting up starter AVR board, we will start with simple LED blinking experiment. Two user LED's are provided on starter AVR board, we will use same for this experiment. | ||
=Basic= | =Basic= | ||
+ | On starter AVR board LED's are connected to PD4 and PD5. We are using one connected to PB5 in this example. I am using ''Atmel Studio'' to write the code. | ||
+ | To know about how to do setting and create a project in ''Atmel Studio'', look at our [[AVR Hardware and Software Setup]] tutorial. After generating the hex file, look at our [[Setting Up Starter AVR]] tutorial to flash the hex file to the board. | ||
Line 7: | Line 9: | ||
[[File:starter2.JPG]] | [[File:starter2.JPG]] | ||
=Code= | =Code= | ||
+ | <html> | ||
+ | <script src="https://gist.github.com/vaibhavkatkar18/66b8a083a43b4e8cec13f43cf43b3941.js"></script> | ||
+ | </html> | ||
+ | |||
=Demo= | =Demo= | ||
− | =Downloads= | + | [[File:0_Blinky_starter.gif]] |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | = Downloads= | ||
+ | Download the complete project folder from the below link: | ||
+ | https://github.com/ExploreEmbedded/ATmega32_ExploreStarterAvr/archive/master.zip<br> | ||
+ | |||
+ | |||
+ | |||
+ | Have a opinion, suggestion , question or feedback about the article let it out here! | ||
+ | {{DISQUS}} |
Latest revision as of 18:05, 19 April 2016
After setting up starter AVR board, we will start with simple LED blinking experiment. Two user LED's are provided on starter AVR board, we will use same for this experiment.
Contents
Basic
On starter AVR board LED's are connected to PD4 and PD5. We are using one connected to PB5 in this example. I am using Atmel Studio to write the code. To know about how to do setting and create a project in Atmel Studio, look at our AVR Hardware and Software Setup tutorial. After generating the hex file, look at our Setting Up Starter AVR tutorial to flash the hex file to the board.
Hookup
Code
Demo
Downloads
Download the complete project folder from the below link:
https://github.com/ExploreEmbedded/ATmega32_ExploreStarterAvr/archive/master.zip
Have a opinion, suggestion , question or feedback about the article let it out here!