News Rickeys World News
- ajay_bhargav
- Sat Aug 08 2009, 10:31 am
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
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.
Submit comment
Downloads
- Automatic Railway Gate Control by: Sharanjit Singh in: 8051 Projects
Tue Oct 15 2019, 12:47 pm - Yet Another DTMF Controlled Robot by: Er. Sharanjit Singh in: 8051 Projects
Tue May 07 2019, 02:45 pm - Simple 3 Digit Temperature Meter by: Rakesh Suthar in: PIC Projects
Sat Jul 05 2014, 11:45 am - Electronic Voting machine with Managed Control Unit (Project Report Included) by: Shivani, Geetika Gupta, Vibhore Aggarwal, Megha Singh in: 8051 Projects
Sat May 17 2014, 07:46 pm - LED Scrolling message Display using 8051 by: Pratik Suthar in: 8051 Projects
Thu May 08 2014, 04:28 pm
Comments
- Pure Sine Wave Inverter Using Atmel 89S2051 by: Anthonyvab
Wed Apr 17 2024, 08:51 am - Pure Sine Wave Inverter Using Atmel 89S2051 by: Jerrydauck
Fri Mar 01 2024, 08:51 am - Pure Sine Wave Inverter Using Atmel 89S2051 by: DennisVatry
Thu Feb 22 2024, 10:04 pm - Pure Sine Wave Inverter Using Atmel 89S2051 by: DonaldPaids
Thu Feb 22 2024, 03:45 pm - Pure Sine Wave Inverter Using Atmel 89S2051 by: Victornwh
Mon Feb 19 2024, 12:01 pm
PedroDug
Sun May 19 2024, 05:39 pm
JewelAmuck
Sun May 19 2024, 03:06 pm
Minniemus
Sun May 19 2024, 07:39 am
Andyhet
Sat May 18 2024, 07:28 am
BrettTibre
Fri May 17 2024, 06:14 pm
Gordonfax
Fri May 17 2024, 10:28 am
Davidspils
Fri May 17 2024, 10:19 am
Patricknoind
Fri May 17 2024, 09:53 am
Trending Topics
smart instrumentation solar tracker project ARM 7TDMI development Computer Design and Architecture ebay hmm sim300 footprint library hobby robots The 8051 Microcontroller and Embedded Systems Mazi dout signal voltage 8051 timer BASCOM-8051 multicounter project CAN and Ethernet networking programmers upload file location marker humanoid robot uart kullu manali