Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Alina on July 20, 2009, 03:53:34 PM
-
Hi guys,
I'm about to finish my first circuit but I have problems with the microcontroller, may be I burned it somehow because I have not put it in the right position in the deep socket(is there a correct position? I think it should be).
The problem is that when I connect the circuit to electricity the microcontroller gets very hot which is probably normal(is it?), but lately some smoke comes too :-D so then I shut the power off fast :-D
The connectivity test which I did says that the pins are connected as per the schematic(beeps when 2 pins are connected, doesn't beeps when they are not connected):
http://societyofrobots.com/images/sbs_avr_schematic.png
but I was a bit confused on how to do the "smoke test".
I connected the circuit to electricity and tried to measure the voltage and current by moving the FUNCTION switch to different values until is around the actual values of the batterie 4.8 V to actually see some values on the microcontroller's screen. From the point where the batteries are connected to the circuit until after the big capacitor there seems to be some electricity flowing through the wires, after no, sometimes yes, so I'm confused.
Also PonyProg tells me it doesn't finds the port, some "-16" warning. I have tried all my USB sockets and still the same message. Could it have something to do with the microcontroller not being in the right position(if the case) or not working anymore(because as i said, lately some smoke came out of it when i powered the circuit :-D)? I looked in the device manager and a driver for the programmer was installed(AVRISP mk II from Jungo), but in Pony I can't find the exact name for it, as it is in the device manager, just: AVR ISP API, AVR ISP I/O, DT -600 API, DT -600 I/O, EasyI2C API and EasyI2C I/O. I chose AVR ISP I/O.
I'll be very happy for any advice.
Sorry for the long story but I hope at least it helped you understand more of what I'm going through :-D
Thanks!!
Alina
PS: I'm doing the simplest under 50$ robot from societyofrobots.com
-
wow... smoke... thats very bad. i would say try to find out where the problem is by taking your multimeter around the "traces" and if they are all find and there aren't any shorts make sure your voltage regulator is outputting 5V, then if thats all good. place your chip in the socket making sure its in the right way!
-
From your first picture it is apparent that you have placed the microcontroller in the wrong way. The "notch" of the micro should NOT be toward the end of the board.
-
Your circuit doesn't look right anyway. The first image layout isn't correct. You have your microcontroller rotated 180 degrees, but you also have the components laid out mirrored over the long axis of the microcontroller. Look at your pic, then look at the pic below:
This is a graphic representing the top surface of the $50 SoR board, including only the 28-pin socket and the pin headers.
Notice that the headers on the left should be on the right?
-
Another graphic:
-
A PDF file is attached to this post that I hope clears up where pin 1 is located. And where the headers are in relation to the microcontroller socket.
-
Hi guys,
Thank you very much for your help!!
Your drawings helped me very much GearMotion!! Thank you very much for your effort!!
I did not noticed the semicircle C of the micro and on the deep socket before. And yes that definitely should be the problem. I got confused as I started in the wrong way and then I tried to adapt ;D
Well good that I know now. I'll start again as soon as possible.
Have a great day!!
Alina
-
Well, good. I'm glad that helped!
Hopefully the diagrams will help you to get the components into the right locations. Have good luck!