走马观花

STC microcontroller development board

 
Overview

Notice! This project may not be used for any commercial purposes, please abide by the relevant open source agreements!

1 Introduction:

The STC microcontroller development board is compatible with the full range of 89C and 12C series microcontrollers and is very suitable for the learning and development of microcontrollers. And the 8A8K64S4A12-LQFP48 pad is reserved, which can be welded according to the actual situation.

2.Onboard resources

The onboard resources include 3 independent LEDs, 4 independent buttons, four-digit digital tube, LCD1602/12864 interface, 74HC595, buzzer, NRF24L01 interface, OLED interface, EEPROM, infrared receiver tube, DHT11/18B20, 12-bit 4-channel ADC, 12-bit DAC, MPU6050 acceleration sensor, BMP280 atmospheric pressure sensor, BH1750 light intensity sensor.

Among them, OLED, EEPROM, AD, DA, acceleration, atmospheric pressure, and light sensors all use IIC communication to save IO port resources. The P1 and P2 ports are independent, have no multiplexing functions, and can be connected to other external devices. Independent buttons can select high and low level triggers through jump caps.

The pictures below are all based on the test of the beta version. The detailed introduction and program demo will be updated after the new board is proofed. If you have any questions, please leave a message in the comment area. IMG_20200310_202721.jpg 1602 Test Sequence01.gif OLED Test Sequence03.gif

=============I am the dividing line==============

On March 15, 2020, I finally finished welding the board and wrote the test program and updated it. . . I personally think that compared to matte black, the blue board looks better, so I chose a blue PCB (actually the board arrived very early, and I waited for the materials to be delayed for a few days before starting to solder)

TIM picture 20200315235804.jpg

First, solder all the front and back patches. If you choose the 40P-DIP chip holder, U1, R12, and R13 do not need to be soldered . They are only required when using the STC8A8K64S4A12 microcontroller. In order to facilitate debugging, I chose the 40P chip holder for this board. IMG_20200313_172845.jpg After the patch is soldered, you can start soldering the plug-in. The microcontroller here uses the 8A8K LQFP-48 to DIP40 that I drew myself. The finished product is as shown below: TIM screenshot 20200315222315.png

The test program has been placed in the attachment. There are no comments. Please don’t criticize me. The program space of the microcontroller must be greater than 12KB before it can be used. If your microcontroller program space is not enough, you can transplant the code of some modules. For the convenience of transplantation, each module in the program corresponds to a .c and .h file. The main function uses a state machine and changes to the next state every 5 seconds, which is the test of the next module.

Please note that the programs here must comply with the GPL3.0 agreement. Please respect the work of others, thank you.

TIM screenshot 20200315230330.png1.png

Burn in the test program and you can see the OLED running. The rendering is attached. That small 1602 is a piece of garbage picked up in a certain TB store (laughing) ps: The other two programs in the attachment are relatively large, so it is recommended to use a microcontroller with 64KB program space. One is a badapple and the other is a gif.

IMG_20200315_225936.jpg

If you are a novice, you can start here. This development board is very suitable for beginners to get started. If you are learning but can’t afford a development board from a certain product, make a sample now! It can also practice your welding skills! If you are a boss, then that. . . Just give it a like and go! (๑•ᴗ•๑)

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-10 02:36:06

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号