5

So I'm looking to create an arduino clone to mount on one of my robots. I started off making the arduino on a breadboard, using the instructions found on Arduino's own website and I succeeded. It works as well, I've checked it with the "blink" project.

I then drew the schematic in Eagle: schematic

Next, I created a board and routed it, giving the following result:

Finally, I transferred it onto a copper clad, soldered it, but it doesn't work. Tried pretty much everything I could think of but there seems to be something wrong and I cant work out what it is.

Can someone please help?

Hassan

1 Answer 1

8

I haven't worked out why it's "not working", but some comments on your PCB:

  1. Your crystal is too far from the clock pins
  2. Your crystal capacitors are most definitely too far from the crystal
  3. There are no decoupling capacitors on your Vcc / AVcc pins

Your crystal should be right next to the pins on the chip that it is connected to, and the capacitors for it should be immediately next to that. The layout you have at the moment, if it actually works, will be radiating huge amounts of EMI and would immediately fail any emissions test you'd care to perform.

Without decoupling capacitors on the power pins the chip may not function properly.

Edit: I have just found your main mistake

You haven't linked the output of your regulator sub-circuit to Vcc. Power gets regulated but goes nowhere.

enter image description here

2
  • Thank you very much Majenko . i.imgur.com/rnENfP1.png Here are the changes -- Is this what you meant? I'm not sure what you mean by your point 3. about the decoupling capacitors, no idea :( maybe you could elaborate if I havent already corrected the mistake? Thanks so much once again :D
    – Hassan M
    Commented Apr 9, 2016 at 21:55
  • 2
    It's worth fixing the power and decoupling issues by soldering wires and components onto the present board before you make a new one. The crystal should work in the near term, but do move it closer, however the crystal loading capacitor position is indeed terrible - chisel those traces and add replacement caps keeping both the crystal-signal and also ground connections to the caps short. Or you can test the chip with its internal oscillator - point being use modifications to your existing board to make sure nothing else is wrong before you fabricate another. Commented Apr 10, 2016 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.