Tutorial Microcontroller MCS-51 ATMEL ISP

Microcontroller Kits
Programmer and Target 89s51

Simple Mikrokontroller 89s51 Trainer


Standart
Mikrokontroller 89s51 Trainer


Super Mikrokontroller Trainer 89s51

+

All Item Include

Programmer
Via USB

 

 

BACK

Dual 7 Segment Display


The current temperature is measured every second, and displayed on a dual 7 segment display, via two 7 segment decoder/driver chips. Each segment has a 1K current limiting resistor to keep each segment at a constant brightness, and to keep the power cons umption

Serial Communications
The serial UART on the microcontroller is used to generate the correct bit stream at 2400 baud, 8 data bits, and 1 stop bit. A MAX232 chip has been used to generate the R S232 voltages from the bit stream. No handshaking has been implemented due to the lack of free I/O on the micro.

 

C Program Code
The program for the Micro was written in C, using Hi-Tech C for the 8051. You can have a look at the main code I wrote for this device by clicking on main.c (15.2Kb).

Comments, questions and discussion about this topic

BACK