I have arduino duemilanove development board. I was able to develop a sketch for digital clock. I tried, by taking out atmega328 from the board, the micro-controller to work in a circuit. I searched on internet to get basic components in the circuit to support the micro-controller. One of the suggestion was to put 10 uF capacitor and 10 k resistance between reset pin1 and ground and pin1 and power pin 7. My sketch didn’t work as I realized that the pin 19 wasn’t receiving voltage. While searching what may have gone wrong on internet, I found that instead of 10uF, push button switch should have been there,as it is on the board.
I took the micro-controller out from the circuit, put it back on the development board and uploaded the sketch again . However the sketch, which was working ok with the same micr0-controller earlier, did no sign of life!
Can I conclude that I have ruined the microntroller while it was in the circuit and discard it?
There are plenty of schematics of the various Adriuno boards published on the web. Study these to learn how to wire the Atmega chip. Be sure you connect the power correctly with the correct Voltage and have de-coupling caps on the power pins.
If you reversed the polarity of the power to the Atmega then the chip is probably bad now. Also, it is sensitive the ESD (Static electricity) and this can blow the chip. Without knowing exactly what you did we can only guess as to what might have happened.
The only thing to do is get a new Atmega chip to try on the development board.
Did the arduino duemilanove have a Bootloader installed when you bought it? What are you used to load a sketch?
If you over wrote the bootloader then you won’t be able to load a new sketch. You can try using a USBasp programming tool to re-load the bootloader.
Thanks for your remarks.The trouble is - as you must have guessed I am a newbie to electronics;I have education in statistic;I liked the idea of programming a chip to work physical activities;I rather got interested late in my life as I am in mid seventies!;I have a local guru who has no formal training in electronics but can repair,prepare circuits. All my knowledge(?) about electronics is 'Google-Say"! I liked your last suggestion and again I would Google it.
I couldn’t find out how to do attachment here otherwise I would attached the circuit diagram.Many thanks again.