Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Tools required

Status
Not open for further replies.

rkjsr

Newbie level 2
Joined
Jul 24, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,288
REQUIREMENTS:

1. Labcenter Electronic's Proteus for simulation of circuit
2. Keil ARM compiler to compile c-program and convert into Hex file
3. ISP programmer
4. Microcontroller 8051( here i m using Atmel AT89xx ), breadboard and electronics components & tools.
 

EXAMPLE 1: LED Blink


C Program compilation using Keil:


-------------------- CODE -------------------------------------
#include<regx51.h>

void delay(unsigned int n)
{
unsigned int i;
for(i=0;i<n;i++);
}



void main()
{
P1_0=0;
while(1)
{
P1_0=~P1_0 ;
delay(1000);

}


}
---------------------------------------------------

Circuit simulation using Proteus:
 

How to upload picture from my PC to post here..?? i can't see picture above :(
 

C Program compilation using Keil:


Circuit simulation using Proteus:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top