8051 development board DIY, 51 microcontroller development board, except for the CH340, all components are in direct plug-in packages, which are convenient for soldering. The development board includes LEDs, digital tubes, buttons, DS18B20, AT24C02, buzzers, ADC*and DAC modules, which can meet the basic requirements of microcontroller teaching.
The 51 single-chip development board uses direct plug-in packaging for all components except for the CH340, making it easy for soldering. The development board includes resources such as LEDs, digital tubes, buttons, DS18B20, AT24C02, DS1302, passive buzzer, infrared receiver, ADC and DAC module, etc., which can meet the basic requirements for single-chip microcontroller teaching.
Schematic 8051 development board DIY DS18B20, AT24C02, DS1302
Module of 8051 development board
- 51 single-chip minimum system
- 8-bit shift register LED
- 8-Digit x 8-bit common cathode digital tube
- Infrared receiving module
- LCD1602/LCD12864 liquid
- crystal interface
- Passive buzzer
- 18B20 temperature sensor
- 4 independent buttons
- DS1302 clock chip
- AT24C02 storage chip
- USB to serial download module (STC series chip)
- ADC module XD549
- DAC module XD5615
Experiment 1 – Running lights
Hardware part of development board
The marquee module is composed of 8 LEDs, LED3~LED9, controlled by the P1 port of the STC89C52RC microcontroller.
Proteus simulation circuit
The Proteus simulation circuit of the marquee module is shown in figure.
Keil program
The marquee program realizes 8 different forms of LED light changes, with the time interval changing 8 times for each form, gradually getting faster.
Experiment 2 – Dynamic Display of Digital Tube
Development board hardware section
The digital tube module consists of 8 8-bit common cathode digital tubes, with four digital tubes in each group, including LED1 and LED2. The bit code of the digital tube is controlled by 74HC138, with control pins being P1.2, P1.3, and P1.4 of STC89C52RC single-chip microcontroller; the segment code of the digital tube is output by the P0 port of STC89C52RC single-chip microcontroller and output to the 8-bit digital tube through the 74HC245 bus buffer.
Proteus Simulation Circuit
The Proteus simulation circuit of the digital tube module is shown in figure .
Keil program
The digital tube dynamic display program displays 8 digits 0~7, displayed from left to right. For specific program, please refer to Figure 4, and program code is in the attachment.
Experiment 3 – Independent Button
Hardware part of development board
The independent button module consists of four buttons, including KEY1, KEY2, KEY3, and KEY4. The four buttons are connected to the low four bits of the microcontroller’s P3 port, namely P3.0, P3.1, P3.2, and P3.3. When the button is not pressed, the port level is high; when the button is pressed, the port level becomes low.
Proteus simulation circuit
Attention: Due to the fact that the P3.2 port is also being multiplexed by the infrared receiver IR1, the KEY3 button is prone to external infrared signal interference. Therefore, it is recommended to use a female header for the soldering position of component IR1 and insert the component at the port when using the infrared reception function.
Keil program
Independent key control K1~K4 controls four LED lights D1~D4 on and off. For specific program, please refer to Figure 4, and for program code, please refer to the Baidu Netdisk link.
Experiment 4 – Matrix keypad
Development board hardware section
The matrix keypad module is composed of 4*4, totaling 16 keys, including SW1~SW16. The four row lines of the matrix keypad are connected to the microcontroller’s P2.7, P2.6, P2.5, and P2.4 (first row to fourth row); the four column lines are connected to the microcontroller’s P2.3, P2.2, P2.1, P2.0 (first column to fourth column).
Proteus simulation circuit
The Proteus simulation circuit of the matrix keyboard is shown in Figure.
Keil program
The matrix keypad consists of 16 keys to control the leftmost digit display of numbers 0 to 9, and A, B, C, D, E, F. For specific program details, please refer to Figure 4, and the program code is available in the fourth part of the Baidu Cloud link.
The program uses a determinant scan method, which makes it easier for beginners to understand the detection method of matrix keypads.
For our Instagram followers, I send a link to download 37 projects experiments to use with this board + 175 circuits, follow our page and comment on this post in Instagram to receive the link in direct message.
Parts | Value | Description | Quantity |
---|---|---|---|
Capacitors | |||
C1,C2 | 33pF (33p) | Ceramic capacitor | 2 |
C3,C11 | 10uF | Electrolytic capacitor | 2 |
C4,C5,C6,C9,C10 | 100nF (104) | Ceramic capacitor | 5 |
C7,C8 | 20pF (20p) | Ceramic capacitor | 2 |
Resistors | |||
R1 | 10kΩ | Brown, black, orange, gold | 1 |
R2,R3,R4,R5,R6,R7,R8,R9,R11 | 100Ω | Brown, black, brown, gold | 9 |
R10 | 2kΩ | Red, black, red, gold | 1 |
R12 | 1kΩ | Brown, black, red, gold | 1 |
R13,R14,R15 | 1kΩ | 3362P Variable Resistor | 3 |
RN1,RN2,RN3,RN4 | 10kΩ (103) | 8 ±5% 10kΩ SIP-9-2.54mm Resistor Network | 4 |
RN5 | 470Ω (471) | 8 ±5% 470Ω SIP-9-2.54mm Resistor Network | 1 |
Semiconductors | |||
BUZZER1 | 4000Hz | 85dB Passive (external drive) Piezoelectric 4kHz 14mm Buzzer |
1 |
D1 | 1N4148 | DO-35 Switching Diode | 1 |
IR1 | IRM-56384 | SIP-3-2.54mm Infrared Remote Receiver | 1 |
LED1,LED2 | SR420361N | 0.36 Inch Four Digits Display Common Cathode RED | 2 |
LED3,LED4,LED5,LED6,LED7,LED8,LED9,LED10 | 204-10SURD/S530-A3-L | 20mA Red 40° 3mm LED | 8 |
Q1 | S8550-TA | TO-92-3 PNP transistor | 1 |
U1 | STC89C52RC-40I-PDIP40 | 8KB 512Byte FLASH 35 3.3V~5.5V 51Series DIP-40 Microcontroller |
1 |
U2 | CH340N | SOP-8 USB Converter | 1 |
U3 | XD74HC245 | DIP-20 Octal 3-State Noninverting Bus Transceiver | 1 |
U4 | 74HC138N | DIP-16 High Speed CMOS Logic 3-to-8 Line Decoder Demultiplexer Inverting and Non-Inverting |
1 |
U5 | DS18B20+T&R | TO-92 Temperature Sensor | 1 |
U6 | AT24C02N | DIP-8 EEPROM | 1 |
U8 | XD549 | DIP-8 Analog to Digital Converter (ADC) | 1 |
U9 | XD5615 | DIP-8 Digital to Analog Converter (DAC) | 1 |
U10 | DS1302ZN | DIP-8 Real Time Clock | 1 |
Miscellaneous | |||
J1,J2 | 2.54-1*20P | P=2.54mm 20P Pin Header | 2 |
P1 | 2.54-1*16P | 2.54mm Single Row 16P Female Header | 1 |
P4 | 2.54-1*20P | 2.54mm Single Row 20P Female Header | 1 |
F1 | A30-050 | 30V 500mA Plugin Resettable Fuse | 1 |
H1 | 2.54-1*3 | 2.54mm 3P Pin Header | 1 |
H2 | PZ254V-11-02P | 2.54mm 2pPin Header | 1 |
J1,J2 | 2.54-1*20P | P=2.54mm 20P Pin Header | 2 |
P1 | 2.54-1*16P | 2.54mm Single Row 16P Female Header | 1 |
P4 | 2.54-1*20P | 2.54mm Single Row 20P Female Header | 1 |
KEY1,KEY2,KEY3,KEY4,KEY5,SW1,SW2,SW3, SW4,SW5,SW6,SW7,SW8,SW9,SW10,SW11, SW12,SW13,SW14,SW15,SW16 |
UK-B0202-G5-160 | 6mm 5mm Round Button SPST Tactile Switch | 21 |
SW17 | XKB7070-Z-92 | LATCHING 100mA Pushbutton Switch | 1 |
USB1 | USB-B01 | USB 2.0 4P Female Type-B USB Connector | 1 |
X1 | – | Crystal Oscillator HC-49S | 1 |
X2 | 32.768KHz | DT-26 Crystal | 1 |
Download files, links, and notes
- Download PCB in Gerber + BOM + Centroid file + PDF
- Mirror
- BUY 8051 Developer board DIY KIT
- Download CH340 Driver 2024 update
- PDF Datasheet STC89C52
- PDF Datasheet S8550-TA
- PDF Datasheet CH340N
- PDF Datasheet XD74HC245
- PDF Datasheet 74HC138N
- PDF Datasheet DS18B20
- PDF Datasheet AT24C02N
- PDF Datasheet XD549
- PDF Datasheet XD5615
- PDF Datasheet DS1302
Source: https://oshwhub.com/xiezhaoyan/51-dan-pian-ji-diy-kai-fa-ban-97-zhi-cha-jian