Você está na página 1de 4

STC Dev Board Standard Edition V1.

0
Brief introduction STC Development Board Standard V1.0 is a small-sized development board with STC micro-controller of normal voltage DIP-40. The development board can be used as either programmer or development and it only needs a USB cable to power supply and program at least. STC Development Board V1.0 completely uses surface mound device craft. It has a good quality and good and small shape.

http://www.siliconray.com/stc-8051-standard-kit.html On-board resources Default processor is STC12C5A60S2 Default clock is 11.0592MHz Eight LED Common anode four in one 7 -segment LED One passive buzzer 1602LCD port 4x4 keyboard matrix Four AD signal: Potential meter, photo resistor, thermal resistor and supply voltage. DS18B20 temperature sensor port Two serial ports: (P3.0P3.1) and (P1.2P1.3) One STC serial programmer port USB to UART bridge chip PL2303HX RS232 to TTL level convertor chip SP3232EEN

The IO port description LED: connects to P0 port 7-segment LED segment connects to P0 port selection connects to low 4 bits bit of P2 1602LCDRS connects toP2^5R/W connects to P2^6E connects to P2^7 data port connects to P0 4x4 keyboards matrixline connects to high 4 bits of P1portalignment connects to P3^2P3^3P3^4P3^5 Four independent keyconnect separately to P3^2P3^3P3^4P3^5 and share keys :S14S15S16S17 with 4x4 keyboards matrix Four AD signalPotential meter connects to P1^0photo resistor connects to P1^1thermal resistor connects to P1^2 and supply voltage connects to P1^3 DS18B20DQ connects to P3^7 Port 1P3^0P3^1 connects to RS232 through Hay wire, and also to USB Port 2P1^2P1^3 connects to RS232 through Hay wire, and also to USB Haydescription P6Controls power supply of eight LED P16When connectingS14S15S16S17 are independent keys; when disconnecting, they are 4x4 keyboards matrix P17when connectingAD signal connects to low 4 bits of P1 P21Option of RXD signal connection is as following picture P22Option of TXD signal connection is as following picture

No.1RS-232 connects to UART 2USB connects to UART 1

No.2RS-232 connects to UART 1

No.3USB connects to UART 2 Use description 1Install USB drive. a Download drive. Drive can be downloaded here: http://www.stc-51.com/devtools/PL-2303.exe bInstall drive. Connect to development board after installing and check whether USB-to-UART is correctly identified underMy computer ManagerDevice managerPortCOM LPT . 2Download development board test process. a Download the program software. STC ISP software can be downloaded here http://www.stc-51.com/softwares.php bUse USB cable or put UART and USB cable together to connect to development board. Turn off the programming button on the development board. c Open STC ISP software and choose corresponding UART, CPU and other relevant configurations. dChoose hex file , click Download button and open programming switch to program.

Sample program code 1 LED driving 2 The static status display of 7-segment LED 3 The dynamic display of 7-segment LED 4 keyboard matrix test 5 Four independent key query mode test 6 Four independent key interrupt mode test 7 Buzzer test 8 Four AD signal sensor 9 1602 liquid -crystal display 10 1602 LCD AD signal sensor result 11 1602 LCD DS18B20 temperature sensor structure 12 UART test Sample codes and relevant data can be downloaded here: http://www.stc-51.com/devtools/sample_starter.zip Accessories List 1One STC Development Board V1.0. 2One 1602 liquid crystal module. 3One DS18B20 chip. 4One USB cable.

Contact: http://www.stc-51.com

Você também pode gostar