Difference between revisions of "Interfacing Seven Segment Display with AVR Breakout"
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
In this tutorial we will interface a seven segment display to AVR breakout board and display a single digit hex (0-F). | In this tutorial we will interface a seven segment display to AVR breakout board and display a single digit hex (0-F). | ||
=Basics= | =Basics= | ||
− | For this tutorial we are using common anode seven segment display. To drive this display we require a BC 547 transistor. The PORT B is connected to data lines of the display and PORT D0 is connacted to base of the transistor as shown in hook up. | + | For this tutorial we are using common anode seven segment display. To drive this display we require a BC 547 transistor. The PORT B is connected to data lines of the display and PORT D0 is connacted to base of the transistor through 1k ohm resistor and collector is connected to VCC through 68 ohm resistor as shown in hook up. |
<br/> | <br/> | ||
− | check out [[Interfacing Seven Segment Displays with AVR]] tutorial for basics of seven segment display. | + | check out [[Interfacing Seven Segment Displays with AVR]] tutorial for basics of seven segment display. |
+ | |||
=Hook Up= | =Hook Up= | ||
[[file:display_AVRbreakout.png]] | [[file:display_AVRbreakout.png]] | ||
=Code= | =Code= | ||
+ | <html> | ||
+ | <script src="https://gist.github.com/nitishshete/15318781e17e7d678e684e97c1c12b07.js"></script> | ||
+ | </html> | ||
+ | |||
=Demo= | =Demo= | ||
+ | [[file:7_segment.gif]] | ||
+ | |||
=Downloads= | =Downloads= | ||
+ | Download the complete project folder from the below link: | ||
+ | https://github.com/ExploreEmbedded/AVR-MCU-Breakout-Board/archive/master.zip<br> | ||
+ | |||
+ | |||
+ | |||
+ | Have a opinion, suggestion , question or feedback about the article let it out here! | ||
+ | {{DISQUS}} |
Latest revision as of 10:16, 20 April 2016
After blinking the LED , Let's display user information like numeric value using seven segment display. In this tutorial we will interface a seven segment display to AVR breakout board and display a single digit hex (0-F).
Contents
Basics
For this tutorial we are using common anode seven segment display. To drive this display we require a BC 547 transistor. The PORT B is connected to data lines of the display and PORT D0 is connacted to base of the transistor through 1k ohm resistor and collector is connected to VCC through 68 ohm resistor as shown in hook up.
check out Interfacing Seven Segment Displays with AVR tutorial for basics of seven segment display.
Hook Up
Code
Demo
Downloads
Download the complete project folder from the below link:
https://github.com/ExploreEmbedded/AVR-MCU-Breakout-Board/archive/master.zip
Have a opinion, suggestion , question or feedback about the article let it out here!