SMASH / UNSMASH all parts or a grouped parts in Cadsoft EAGLE

At times you require to SMASH or UNSMASH a number of components at a time either for rearranging the names or re size their text. Sometime you might need to UNSMASH them. This is important for making the sikscreens legible and look nice.

Although this is possible through the use of ULPs , here is how it can be implemented by command line of eagle.

For smashing  all parts/components , use the following command


For unsmashing  all parts/components , use the following command


For smashing  already grouped parts/components , use the following command

SMASH (>0 0);

For unsmashing  already grouped parts/components , use the following command

SMASH (S> 0 0);

Cheers 🙂


[Cadsoft Eagle tips] hiding/unhiding Airwires

You can hide airwires only on a per signal basis.  If you turn off the  airwires for ground and power suplies you should have a much cleaner screen. Instead of using ratsnest ! signal_name, you can use the info command on a signal (airwire or trace) in the board window and you will see a check box “Airwires hidden” for that signal in the popup “Properties” window. Click on it and all airwires for that signal will be gone.

Hiding selected airwires
Sometimes it may be useful to hide the airwires of selected signals, for instance if these will later be connected through a polygon. Typically this could be supply signals, which have a lot of airwires that will never be routed explicitly and just obscure the other signals’ airwires.
To hide airwires the RATSNEST command can be given the exclamation mark (‘!’), followed by a list of signals, as in


which would hide the airwires of the signals GND and VCC.
To have the airwires displayed again just enter the RATSNEST command without the ‘!’ character, and the list of signals:


This will activate the display of the airwires of the signals GND and VCC and also recalculates them. You can also recalculate the airwires (and polygons) of particular signals this way.
The signal names may contain wildcards, and the two variants may be combined, as in


which would recalculate and display the airwires of all signals with names beginning with ‘D’, and hide the airwires of all the various GND signals (like AGND, DGND etc.) and the VCC signal. Note that the command is processed from left to right, so in case there is a DGND signal the example would first process it for display, but then hide its airwires.
To make sure all airwires are displayed enter


Use ‘RATS *’ at the command prompt to show all airwires.”


3.3V and 5V on a single board

I started designing a new board for Alarm security system today, It would be having components that would be running on 3.3V and some at 5V. Although I can power micro-controller by 3.3V, but still I would require it to run at higher frequency, and Max485 wont work on something very close to 3.3V, not even at 3.9V. So I browsed some forums to check what are the best approaches and came across this document called 3V Tips ‘n Tricks by Microchip. Its so useful that I wished to share it here.



3V TIPS  AND TRICKS (mirror on dms)

The Complete Book: