First Board Design
Sal Ammoniac
Posts: 213
I'm working on my first hardware design from scratch and have a first draft schematic and board layout completed. I'd appreciate any feedback on both the design and layout.
The design is basically a data logger that collects data from various weather sensors and transmits the data using an Xbee to another computer that processes and graphs the data. Most of the sensors are external to this board and connect to it via cables to screw terminal connectors.
The design is basically a data logger that collects data from various weather sensors and transmits the data using an Xbee to another computer that processes and graphs the data. Most of the sensors are external to this board and connect to it via cables to screw terminal connectors.
Comments
If you want to be really fancy, in the settings for the autorouter you can set the minimum space from a via to a pad. If you increase that then the vias don't end up right next to IC pads and there is less likelihood of a solder bridge when you are soldering it up late at night after a glass of wine. Eg look at the reset switch with the two vias right next to that pad.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
One concession I made, because this is a first design for me, was to use DIP components rather than surface mount. I'll try SMT on a later board.
propeller.wikispaces.com/pcbdesign
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
Big word of caution though is to strap the various VSS and VDD tightly together and not circuitously as uneven ground currents has killed more than one Prop on this forum. So make the signal tracks jump around if you have to but make sure the power and ground have top priority.
I see you have screw terminal connections so if you space them correctly you can have them joined in the case of the two 4-way connectors on the left could be butted up together and even replaced with an 8-way. Watch that you don't get too close to the mounting holes as you need room for the head of a screw and the screwdriver if you are going this way. Watch the IDC style pins and mark them well using an unmistakable pin 1 indicator. Much milk has been split by many connecting cables up to these back-to-front.
If Eagle allows you use larger bolder text for the connector labels and even place labels next to the connections. Does Eagle do ground planes? What you want to do is fill up the blank spots with copper connected to the ground (this should be taken into account when routing anyway and there are caveats as always).
Ok, that sums up my 2cents worth.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Erik: I added a ground plane.
Peter: I cleaned up several of the connector labels and added pin 1 designations. I'm not sure if I have all of my VDD and VSS lines tight enough. I have no experience as to what this looks like on a board layout.
Here's an updated image of the layout.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Also try to place as much tracks on the non-ground-plane. So the tracks don't cut the ground plane to much. Like in the upper left corner, you could place the diagonal line from the "on off switch" on the top layer. Or from Prop pin #6 goint to the right up: Place more on the top layer, so it doesn't cut through the ground plane that much.
Or if you look at the supply line from the LT1790 to the LM358. If you move that a bit to the right (under the LM358) you'd gain some space.
One technique to improve routing is to click the "info"-icon and select a trace (the power trace for example). It highlights that trace and you can find better routing that way. So many traces are abit confusing. And its a good procedure how have a look at the board in overview (with a trace selected).
HTH,
Nick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!
The DIY Digital-Readout for mills, lathes etc.:
YADRO
Are you sure you need 2 layers ?. Maybe with a few bridges you can get away using 1 layer... and when you are 100 % sure it works you can jump to 2 layers for production.
The middle pin of the regulators is connected to ground, especially if you use the version without a middle pin!
Be sure to have the spaces for your fab right: pad to pad distance, track to track, via diameter.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NYC Area Prop Club
Prop Forum Search (Via Google)
·
Some TIPS.
Can You have Ground Plane on both sides of PCB around XTal.
That build guard area around XTal pins and XI/XO pins on Propeller.
That give You better stablity on XTall
Regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
As before, I appreciate any feedback.
If someone had to hand solder that, they might short out the ground with that via.· Moving it just makes it a little less likely.
Are you, by chance, going to have these printed with a solder mask?
Bill
Some notes about the schematic:
1) Usually the BOE pin is tied low to enable brown-out detect.
2) Include a large input cap on the input supply, around 200uf to 470uf as the regulator is only as good as the input. It's usually a good idea to include a protection diode here as well.
3) Couldn't see it but don't forget to include a 10uf tant on the 3.3V supply somewhere.
4) Include a pullup on P31 in case your software activates a serial port and the input is disconnected.
5) Technically you don't need it but the reset line can pick up glitches via the prop plug so keep this in mind (cutout switch maybe).
Don't worry about getting it perfect either as you could spend a long time getting it just right when you could already have learnt a lot and be onto revision 1,2 etc. Besides even when you get it perfect there is still something you want to change later on.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Amazingly, everything worked the first time without me having to make any changes to the board. I don't know if this is an indication of my prowess as a board designer, or sheer dumb luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NYC Area Prop Club
Prop Forum Search (Via Google)
·