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.

trouble with a simple avr project

Status
Not open for further replies.

JUBAYER

Junior Member level 1
Joined
Sep 15, 2012
Messages
16
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,386
i have written the following codes for simple experimental purpose.regrettably the program works fine in the Proteus simulation. but when i tried with hardware..it did not work.i don't understand why??? :?:
the codes and schematic are attached.i would really appreciate a little help...
 

Attachments

  • schematic and code.rar
    37.9 KB · Views: 120

You try the minimum atmega circuit???

like this :

Minimal Circuit.gif
 
Last edited:

Try this


Code C - [expand]
1
2
3
4
5
6
7
8
if(PINB0)
{   _delay_ms(50);
    if(PINB0)
    {
           PORTD = 0x02;
           
    }
}

 

no.....but i am using internal RC oscillator......so is that really necessary?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top