Keil µVision extension DLL for simulating 7-segment LED displays

Enables simulation of multiple 7-segment LED display connected to any port (SFR) on 8051 uC

Picture shows peripherial dialog of 7-seg-LEDs in action.

One or more 7-seg LED displays constitute one or more led-groups. Here, two groups are configured: "Temperature:" and "Pressure:".

Inside each led-group, we can put variable number of separately configurable 7-seg LED displays.

7-seg-LEDs supports time-multiplexing. In this example, it drives five 7-seg LED diplays with 13 uC port-pins (8 for segments + 5 for common terminals).

Time-multiplexing support came from way that 7-seg-LEDs samples port-pins Pi.j on which 7-seg LED display pins are connected.

On each write to port-pin Pi.j, a new pair values of (pin-states, time) is pushed to cyclic buffer dedicated to hold last N pair values (pin-states, time). From that cyclic buffer, on each dialog update called from µVision simulator, the mean-ON-time for each segment is calculated. (dialog update is called from µVision simulator on each write to port-pins used by any segment-pin or commonTerminal-pin)

From that mean-ON-time, intensity of onColor for all affected segments are calculated and segments are repainted in real-time.

Link to sample screen-shoot picture

Documentation on "how to use?" can be found in pdf format inside or on Author's webpage

For any doubts you may use forum.
Tags Keil µVision extension DLL for simulating 7-segme7-seg simulation keil7-segment keil microvision simulation pluginkeil software plugins
printer friendly create pdf of this news item

Submit comment

(Required; Min length 5)
(Required; will not be displayed)


No messages yet.



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 79, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123