8051 SBC Small Board Computer
by tax.123.qwer in Circuits > Microcontrollers
1959 Views, 1 Favorites, 0 Comments
8051 SBC Small Board Computer
![DIY 8051 SBC](/proxy/?url=https://content.instructables.com/FDD/71C0/KCT3DB7Q/FDD71C0KCT3DB7Q.jpg&filename=DIY 8051 SBC)
CPU: Any 8051 compatible with 40-pin DIP package @11.0592MHz
MEMORY: 62256, 32KB SRAM for both code and data space
Monitor Program: PAULMON2
Communication: RS232 UART
8051 SBC
![IMG-20190906-WA0018.jpg](/proxy/?url=https://content.instructables.com/FR8/C37H/KCT3DB9Y/FR8C37HKCT3DB9Y.jpg&filename=IMG-20190906-WA0018.jpg)
![IMG-20190906-WA0030.jpg](/proxy/?url=https://content.instructables.com/FXU/PRT2/KCT3DBA0/FXUPRT2KCT3DBA0.jpg&filename=IMG-20190906-WA0030.jpg)
![IMG-20190906-WA0020.jpg](/proxy/?url=https://content.instructables.com/FK4/R9OY/KCT3DB9W/FK4R9OYKCT3DB9W.jpg&filename=IMG-20190906-WA0020.jpg)
![Schematic_8051sbc_Sheet-1_20190811143548.png](/proxy/?url=https://content.instructables.com/FRV/FA3G/KCUITF2U/FRVFA3GKCUITF2U.png&filename=Schematic_8051sbc_Sheet-1_20190811143548.png)
![c52ckt.gif](/proxy/?url=https://content.instructables.com/F6K/F4DP/KCT3DBBN/F6KF4DPKCT3DBBN.gif&filename=c52ckt.gif)
![IMG-20190906-WA0000.jpg](/proxy/?url=https://content.instructables.com/F9D/63FG/KCT3DBGU/F9D63FGKCT3DBGU.jpg&filename=IMG-20190906-WA0000.jpg)
This is a 8051 MCU based SBC with monitor program (PAULMON 2) which is used to develop 8051 based projects quicker and easier.
I have implemented the PCB according to the schematic.
In this circuit 32kB SRAM is connected to DATA and ADDRESS bus of 8051 and is available (CE chip enable) in the address range of 8000h to FFFFh. So reading and writing of DATA and COMMAND is in this range.
Monitor Program PAULMON 2
![screenshot.2.jpg](/proxy/?url=https://content.instructables.com/FOV/I02Q/KD08M1I9/FOVI02QKD08M1I9.jpg&filename=screenshot.2.jpg)
![screenshot.3.jpg](/proxy/?url=https://content.instructables.com/F03/SQEA/KD08M1IC/F03SQEAKD08M1IC.jpg&filename=screenshot.3.jpg)
![IMG-20190906-WA0037.jpg](/proxy/?url=https://content.instructables.com/FRZ/1S03/KCT3DB9X/FRZ1S03KCT3DB9X.jpg&filename=IMG-20190906-WA0037.jpg)
![IMG-20190906-WA0025.jpg](/proxy/?url=https://content.instructables.com/FAR/JOCD/KCT3DB9Z/FARJOCDKCT3DB9Z.jpg&filename=IMG-20190906-WA0025.jpg)
PAULMON 2
https://www.pjrc.com/tech/8051/paulmon2.html
With monitor program you can:
a) Examine and modify both the internal and expanded RAM of the microcontroller.
b) Examine the program memory of the microcontroller.
c) Examine and change any register or special function register (SFR).
d) Download a program using the Intel hex format to flash code memory.
e) Disassembly programs in flash.
f) Run step-by-step, trace, and execute downloaded programs.
g) Use software breakpoints. Hardware breakpoints are also kind of supported.
I have downloaded this file pm21_8.obj - (Ram from 8000 to FFFF, EPROM from 0000 to 1FFF,) from the above website for this Board configuration.
Now burn this object file to AT89S52 with any programer and plug that in to the board and power up.
And connect it to Computer Serial Port.
Open any serial Terminal software like Windows Hyperterminal, PuTTy etc. and connect to the board with settings like 9600 BAUD, 8 bits, 1 stop bits, no flow control.
And press ENTER key to run PAULMON2 on the serial Terminal as shown in the picture.
For list of COMMANDS refer the link
Develop Code and Test
Now develop code using SDCC c compiler, as31 assembler and download directly to the SRAM using 'D' COMMAND in the serial terminal.
And run the downloaded program using 'J' COMMAND.
Here you can download the SDCC and as31 https://www.pjrc.com/tech/8051/tools/as31-sdcc231-pj3-win32.zip