Showing posts with label LED. Show all posts
Showing posts with label LED. Show all posts

Interfacing Seven Segment Display to 8051

Interfacing Seven Segment Display to 8051


        This article is about how to interface a seven segment LED display to an 8051 microcontroller. 7 segment LED display is very popular and it can display digits from 0 to 9 and quite a few characters like A, b, C, ., H, E, e, F, n, o,t,u,y, etc. Knowledge about how to interface a seven segment display to a microcontroller is very essential in designing embedded systems. A seven segment display consists of seven LEDs arranged in the form of a squarish ’8′ slightly inclined to the right and a single LED as the dot character. Different characters can be displayed by selectively glowing the required LED segments. Seven segment displays are of two types, common cathode and common anode. In common cathode type , the cathode of all LEDs are tied together to a single terminal which is usually labeled as ‘com‘ and the anode of all LEDs are left alone as individual pins labeled as a, b, c, d, e, f, g & h (or dot) . In common anode type, the anode of all LEDs are tied together as a single terminal and cathodes are left alone as individual pins. The pin out scheme and picture of a typical 7 segment LED display is shown in the image below.

PWM Lamp Dimmer Using NE555

PWM Lamp Dimmer

       A simple and efficient PWM lamp dimmer using timer IC NE555 is discussed in this article. Yesterdays linear regulator based dimmers can only attain a maximum efficiency of 50% and are far inferior when compared to the PWM based dimmers which can hit well over 90% efficiency. Since less amount of power is wasted as heat, the switching elements of PWM dimmers require a smaller heat sink and this saves a lot of size and weight. In simple words, the most outstanding features of the PWM based lamp dimmers are high efficiency and low physical size. The circuit diagram of a 12V PWM lamp dimmer is shown below.
Fig 1.