interfacing 7seg with avr slicker


Posted on Feb 4, 2014

A seven segment display is the most basic electronic display device that can display digits from 0-9. The most common configuration has an array of eight LEDs arranged in a special pattern to display these digits. They are laid out as a squared-off figure 8`. Fig. 1 shows how to interface the seven segments with microcontroller. A seven segment is generally available in ten pin package.


interfacing 7seg with avr slicker
Click here to download the full size of the above Circuit.

While eight pins correspond to the eight LEDs, the remaining two pins (at middle) are common and internally shorted. These segments come in two configurations, namely, Common cathode (CC) and Common anode (CA). We now want to display a four digit number in AVR Slicker Board by using seven segment displays. The seven segment display is connected with ARV microcontroller. To compile the above C code you need the CodeVision AVR software. The software has it`s own IDE and built-in AVR gcc- Compiler. They must be properly installed and a project with correct settings must be created in order to compile the code. To compile the above code, the C file must be added to the project. In CodeVision AVR software, you can develop or debug the project without any hardware setup. You must compile the code for generating HEX file. In debugging Mode, you want to check the port output without microcontroller Board. Give +12V power supply to AVR Slicker Board; the four seven segment display is connected with the AVR Slicker Board. First check the entire seven segments LED`s are properly working or not. Here we are display just 1234 in four seven segment. The entire seven segments receive it through Port lines & display it in order. If any data is not coming in seven segments, then you just check the entire seven segments LED`s are working or not. Change the seven segment driver IC & Check the I2C connections. Check the four seven segments...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Tube Headphone Amplifier E182CC
    HF SSB CW AM RF Linear amplifier
    led strip Using a N-Mosfet to switch a common cathode ledstrip
    irbot
    Project
    Parking sensor circuit
    Electrical Systems and Circuits
    Internal Resistance Tester For Batteries
    I2C control interface includes RGB LED Driver circuit



    Top