EdSim51 is the best and light weight software for those who want to explore the core of one of the world’s most popular series of 8-bit microcontrollers.
James Rogers created EdSim51 software and decided to offer the EdSim51 simulator and notes for free, in the hope that students anywhere in the world might benefit from them.
The software doesn’t follow the general installation, we need some additional tools to able to run the software in windows 7,8,10.
The Virtual Peripherals in EdSim51
- Analogue-to-Digital Converter (ADC)
- Comparator
- UART
- 4 Multiplexed 7-segment Displays
- 4 X 3 Keypad
- 8 LEDs
- DC Motor
- 8 Switches
- Digital-to-Analogue Converter (DAC) – displayed on oscilloscope
How to Install EdSim51 software in windows 7,8,10
- First Download EdSim51
- Extract edsim51di.zip files
- Download and install JAVA
- Now back to Eedsim51di Folder, when you open it you will 2 Files lib folder and edsim51di.jar
- Right-click on edsim51di.jar File Choose Open with > JAVA (TM) Platform SM BINARY
- The EdSim51 software will run
Some Examples to work on Edsim51
Binary Pattern on the Port 1 LEDs
; This program displays the binary pattern
; from 0 to 255 (and back to 0) on the LEDs
; interfaced with port 1.
; A 1 in the pattern is represented by the LED on,
; while a 0 in the pattern is represented by the LED off.
; However, logic 0 on a port 1 pin turns on the LED,
; therefore it is necessary to write the inverse of the
; pattern to the LEDs. The easiest way to do this is
; to send the data FFH to 0 (and back to FFH) to the LEDs.
; Since port 1 is initially at FFH all we need to do is
; continuously decrement port 1.
start:
DEC p1
JMP start
Echoing the Switches to the LEDs
; This program very simply echoes the
; switches on P2 to the LEDs on P1.
; When a switch is closed a logic 0 appears
; on that P2 pin, which is then copied to
; that P1 bit which turns on that LED.
; Therefore, a closed switch is seen as a lit
; LED and vice versa.
start:
MOV P1, P2 ; move data on P2 pins to P1
JMP start ; and repeat