Premnagar Dehradun 248007 UK
+91-9927715123
info@smedehradun.com, schematicslab@gmail.com

Tutorial lecture 3- how to run Digital 7 segment (FND)

Your Problem, Our Solution

Tutorial lecture 3- how to run Digital 7 segment (FND)

In our tutorial lecture 3, 
today we will work on Digital 7 segment
display system also called FND- Fundamental Numeric Display. Basically, it is
collection of LEDs that is just operating as LED.

There is basically 7 pin that show the numeric display &  connected with microcontroller’s pin.
It’s depend on you, that which pin you are selecting.

Figure shows the pin discription of the 7 segment
Connect the pins & try the program below to run the 7
segment.
Basically this is one of the most used digital displays that
are used in industries for different modules. You can see live demo of these at
traffic light system, shows the time left to move the traffic.
See the diagram images for connection with microcontroller.








Now, go for the programming,  open  AVR studio for burn the program in to microcontroller.



Demo Program:
#include<avr/io.h>
#include<util/delay.h>
void main()
{
DDRD=0XFF;
while (1)
{
PORTD=0b00111111;
_delay_ms(1000);
PORTD=0b00000110;
_delay_ms(1000);
PORTD=0b01011011;
_delay_ms(1000);
PORTD=0b01001111;
_delay_ms(1000);
PORTD=0b01100110;
_delay_ms(1000);
PORTD=0b01101101;
_delay_ms(1000);
PORTD=0b11111101;
_delay_ms(1000);
PORTD=0b00000111;
_delay_ms(1000);
PORTD=0b11111111;
_delay_ms(1000);
PORTD=0b11101111;
_delay_ms(1000);
}

}
for any queries & support, feel free to contact us at website www.smedehradun.com or write message to our facebook page or our blog 
error: