On a small board that I’m designing (a USB iPhone charger) I have to put a USB-A female connector that hangs off the edge of the small board. The connector intentionally hangs off the board’s edge so I do not want to change the position but I want to keep the silkscreen/holes. The problem is that when I put this onto the board the way that I need it, the connector is counted in the size of the board, bringing the price of the board up $2.50. I would like to keep the price of the board down as much as possible. Is there a way that I can just take out the silkscreen that is sticking off the board?
The routing is very untidy; boards look more professional if tracks are orthogonal or at 45 degrees, and non-circular pads shouldn’t have connections at an angle. Bigglez is right about the narrow tracks.
I changed the traces to 32mils, routed the board by hand, only used orthogonal and 45 degree traces and ran SparkFun’s DRC. I rearranged all the components and was able to get the board down to 1.45 in. X 1 in. Does anyone have any more suggestions?
100X better! I will say that topside traces under a 7805 make me nervous, you’re depending on a very thin layer of solder mask to prevent a short. Looks like you can put those traces on the bottom with no difficulty.
Thanks for the tip. I didn’t really think about a short between the 7805 and the wires. Ill change them and the one under the USB to the bottom layer. Thanks for all the help.
It regulates 9V+ to 5V and then splits it through a voltage divider into 2.1V and 2.9V into the D- and D+ pins of the USB. This is needed for the iPhone to accept it as a valid charger. Also there is a switch so that the battery isn’t constantly drained and a LED indicator. Every thing fits into a Altoids tin as a portable charger.
Jeremydeath:
It regulates 9V+ to 5V and then splits it through a voltage divider into 2.1V and 2.9V into the D- and D+ pins of the USB. This is needed for the iPhone to accept it as a valid charger.
Thanks! that explains the circuit well. The interesting
thing is you are missing the capacitors required by the
You might also want to add a couple of diodes in there.
A series diode on the 9V input just in case someone attaches the battery the wrong way around. If they did, hopefully it would only damage the regulator, but it’s possible it could damage the phone.
Also, another parallel diode across the regulator (cathode on input, anode on output). I’m not sure how the iPhone works with regards to charging, so this may not be needed, but the regulator will die pretty rapidly if the output voltage is ever higher than the input voltage, which could happen if the charger is attached to the phone without the battery present. This diode prevents that from happening.
Thanks for all of the ideas. I added the capacitors across ground and the input and output of the 7805. I looked up the spec for this part and the capacitor sizes indicated there were a lot smaller than the 10uF/100uF ones in the rule of thumb post (the ones on the spec were only 0.1uF and 0.33uF). I ended up going with the smaller ones because they fit on the board better. Also, I’ve pretty much run out of room on the board because I changed the switch type to something cheaper and that would handle the current draw better than the other one. Unfortunately, it’s almost twice as big so I don’t have enough room left for the diodes if I want to keep the board at $5 (< 2 sq. in.) with BatchPCB. It looks like the iPhone doesn’t try to draw power so I’m not too worried about leaving off the parallel diode across the regulator. Thanks for all the help and critiques. I’m pretty much finalized on the design. Hope this works.
Jeremydeath:
I looked up the spec for this part and the capacitor sizes indicated there were a lot smaller than the 10uF/100uF ones in the rule of thumb post (the ones on the spec were only 0.1uF and 0.33uF). I ended up going with the smaller ones because they fit on the board better.
Correct. The datasheet shows the bare minimums.
Some vendors boast that no caps are required at
all with their versions of the regulator. Any capacitor
I just uploaded a design of my own that has two RJ45 jacks that hang off one edge of the board. This board is the exact same size as another one of mine, they mate or stack on top of each other, and when the DRC bot ran it cut off the part of the connector that overhangs the board. The two sizes of the boards match exactly. I am using BatchPCB to make my boards.