> > For reset pin I have connected 10k resistor and 10uF capacitor. > > Capacitor I am connectiong to ground at one end. and giving 5v > > supply . so my circuit is as follow/. > > > > 10k > > o------------^^^^^^^^^^^---------------------|RST > > | > > | > > | > > === 10uF > > | > > | > > --------- > > Remove the capacitor. I wouldn't go quite that far, but I would change it to 0.1uF. There are other possible problems, which we have discussed on here previously.. Check that your oscillator is actually running at the speed that you think that it is. Check that the connection between the PC and the AVR is correct, including the ground lead! Check that the AVR is set up for the same word format and bit rate that the PC is. Check that the USART is initted properly. Check that your code waits for the transmit buffer to empty before sending the next char... Many things to verify, and until you get SOME sort of output working right, it will be difficult to sort things out. Hopefully you have a scope, or some means to verify basic operation. Don't accept "sort of working" as "right". I got bit once with a VERY nasty problem that showed up first as several different slightly wrong things. (search the group for references to the CKOPT FUSE for details) Serial comms being slightly at the wrong baud rate was one of the symptoms.
Message
Re: [AVR-Chat] Help for circuit design
2008-04-12 by David VanHorn
Attachments
- No local attachments were found for this message.