Sie sind auf Seite 1von 1

This project will blink a LED on Port 2 of any 8051 based Microcontroller

You can open this project 'led test.Uv2' in Keil Compiler


Download Keil for C51 MCUs from http://www.keil.com/
Connect a LED in this way:
Anode of LED should go to VCC via a current limiting resistor can be any value b
eween 470 Ohm to 1K
Cathode of LED should go to any Port 2 pins of MCU
For 40 pin AT89S52 or similar Port 2 is from Pins 21 to 28
470-1K
LED
VCC o----/\/\/\----|>---o Any pin on Port 2
Copyright Sunrom Technologies 2006
http://ww.sunrom.com

Das könnte Ihnen auch gefallen