Search This Blog

Photonics: The key to life in the 21st century


"The more you know about it, the more you can make it work for you"

Written by The Welsh Opto-electronics Forum

This article will give you a taste of the technology that now affects everyone’s life, and is becoming increasingly important in the 21st century. The 19th century is often seen as the golden age of steam, the 20th century an incredible advancement in electronics; whilst the 21st century is set to be age of photonics or light. This article will also give you an insight into careers that make use of this technology.

WHAT ARE PHOTONICS and OPTO-ELECTRONICS?

Photonics and Opto-electronics are often used interchangeably. However, photonics is concerned with thegeneration (e.g. lasers), control (e.g. optics) and the detection (e.g. photo-multipliers) of light. Opto-electronics is the innovative combination of optics and electronics hardware to produce an exciting new range of products. This technology is powerful because it enables many new technical systems to work effectively. It includes any combination of light or images that works with electronics and can be as simple as the red light emitting diode (LED) that shows you that the TV is on, or as complex as the Hubble telescope in space.

WORLD LEADERS

Wales has many companies working in this area and several of them are recognised as world leaders in the technology. The work can be exciting; to stay in this position the companies need to use state of the art technology in design, manufacturing and testing. Two examples where this can be found are in military systems and in space

Try this experiment: look out of the window, then look back at this text for long enough for your eyes to re-focus and the words to become clear, then look out of the window and refocus your eyes again. How long did this take? 1 second? 2 seconds? When a pilot is flying a fighter aircraft at the speed of sound he cannot spend this amount of time looking away from the target, so the information from the critical instruments is displayed on a special glass panel in front of him, imaged so that his eyes do not have to change focus to read it. To do this well needs very good optical design, high-precision manufacture and advanced technology in holography and optical coatings....and Wales leads the world in this technology, with two companies in North Wales supplying to UK, USA and other Air Forces

On TV you will have seen satellites in space with large solar panels attached. These convert the sunlight directly into electricity, and the material to make solar cells for some of these satellites is made in South Wales. Space is a harsh environment for these electronic materials, and if unprotected the electrical output would fade away in about 18 months - which would mean no satellite TV programmes. To prevent this, greater than 50% of the satellites put up by the western world have their solar cells protected by an extremely thin piece of special glass made in North Wales.

OPTO-ELECTRONICS IN THE HOME

Without realising it, you are using opto-electronics throughout the day; look around for these examples, and imagine how modern life would be without them

Displays. How many displays of numbers that glow red or green do you have in your house? They are to be found on the alarm clock, the TV and video recorder, the microwave cooker and some ovens. There are even more liquid crystal displays which look black on grey; you will find them on watches, calculators, telephones, portable radios, tape and CD players and office machines such as faxes and copiers. Most laptop computers have liquid crystal displays and those in colour include other optoelectronic technology as well. Large flat screen TVs that you can hang on the wall are now available, and the price will soon be down to prices a home can afford.

Communications. When you make a phone call outside your local area you are almost certain to be using an optical fibre link with a laser sending the message down the fibre, and a detector receiving it at the other end. About 70% of the UK trunk lines are now optical fibre, and the rate at which optical fibre is being installed world wide now exceeds Mach 1! Optical fibre can carry far more information than copper wire and is the best way to link computers, outside broadcast TV cameras, Banks, Stock Exchange dealing rooms, etc. Again, in North Wales we have world class companies who make the fibre, the cables, and the electronics and control systems to go with it.

Cameras. Camcorders and Digital still cameras depend on a high quality multi- component optical lens, often with zoom capability - which needs an advanced computer programme to design. The picture is imaged onto an electronic detector with a regular array of extremely small picture elements (pixels). There can be more than 1000 x 1000 of these on an area the size of your thumbnail.

Entertainment. To control your TV you use a controller that sends a coded infra-red beam to the set. This light is detected at the set and converted to the control information. Your CD player uses a laser diode which is imaged onto the surface of the disc by a tiny precision lens made of plastic. Did you see the images of the football players projected onto the Arc de Triomphe after the World Cup final?. This was done using optoelectronic devices - lasers where the beam is switched on and off to create the image as it scans back and forth.

Manufacturing. Lasers are being used more and more for cutting and welding as the beam covers a small area, and can be directed by computer exactly where it is required. Most clothes made in large quantity for High Street stores have been cut to shape using a laser. The gears in your family car have probably been welded to the shaft using a laser. Also, the symbols all over the dashboard that show you (in the dark) where the heater controls are located, have been produced using a different type of laser to remove the black overcoat from a coloured, light transmitting piece of plastic to reveal the symbols.

Energy. The effect of sunlight on various materials, generating a voltage and flow of electrons, give rise to enormous possibilities in generating electricity with no CO2 production. The material most commonly used is silicon. Sharp the world leader in the manufacture of solar cells has its factory in North Wales, supplying 200MW for the European market! At the Technium OpTIC in North Wales the south facing part of the building is covered with 1000m2 of photovoltaic cells (solar cells). This can achieve up to 95kW peak on good days of strong sunshine in summer. However, it will also work on dull days and during the winter months.

IS OPTO-ELECTRONICS HARD TO UNDERSTAND?

Yes and No! If you are a research worker developing a new blue laser for use in the next generation of computer discs, you will be using skills that require more than a University degree, but the great importance of opto-electronics is that it finds many applications in life where what it does is important, and it is not necessary for the user to appreciate completely how it does it. After all, you can make good use of a TV controller without knowing what optics or electronics are inside it, or being able to design one.

But it does help to have some knowledge of the basic concepts, as this will help you to get the best out of the equipment - if you know that light has to come out of the red window on the controller you won’t cover it with your finger.

There are several different types of lasers and they are critical to many optoelectronic applications. What is a laser and how does it differ from a light bulb? There are two main differences; the light from a bulb is produced continuously from a white hot wire; it contains light of all colours and is emitted in all directions. A laser emits light of one colour (or light frequency), in a controlled way in one direction only and because of this high intensities can be achieved. Light can be emitted continuously or in a short burst. The latter gives a high power output over that very short time.

One way of understanding this difference in the way light is emitted is to compare it to sound. Imagine the River Dance group was on a stage and walking around in any direction they liked. The sound would be approximately continuous (but not very loud) and all frequencies are present as there is no control of the time when their feet touch the floor - this is like the light bulb. When they dance in time together, the sound of each footstep is much louder, and the beats come at a regular frequency - this is like the laser. If they all jump in the air and come down at the same time the sound is loudest, and this is like the pulse of the laser. In the laser, special mirrors at each end ensure that all the light comes out in one direction only.

WHAT OPPORTUNITIES ARE THERE FOR CAREERS USING OPTO-ELECTRONICS?

Because it finds application in so many fields, careers that need an understanding of opto-electronics are numerous: doctors use lasers for surgery as do civil engineers for surveying; biochemists use the detection of light emission to monitor the effectiveness of anti-cancer drugs, and even supermarket managers rely on the everyday bar code scanner used for controlling their stock. In depth examples follow.

Knowledge and understanding of opto-electronics comes from studying subjects like Maths, Physics, Chemistry and of course, Technology; studying at GCSE level will introduce you to opto-electronics, and you could go into a lot of depth by choosing an opto-electronics theme for your major project in Technology. Beyond 16, choosing apprenticeships, traineeships, or ‘A’ Levels can all lead to careers with opto-electronics companies in North Wales and beyond. Many employees have studied at Degree level, and they are now influencing the technologies we use everyday, both now and in the future.

CAREERS INVOLVING OPTO-ELECTRONICS

Careers using opto-electronics are for people with a wide range of skills and knowledge at different levels, and include the manufacture of components, design, assembly and testing of systems, technical sales and fundamental research. Some examples of occupations and their use of opto-electronics are:-

Biological Researcher and Technician - uses microscopes with video camera attachment so that images of samples can be enhanced by computer to bring out information not normally visible. By chemically attaching firefly-like molecules to drugs, and by measuring the weak light emitted after treatment, it is possible to measure how effectively they target cancer cells using sensitive opto-electronics.

Civil Engineer - uses a laser beam with a theodelite to create a straight line over long distances to measure the angle of a proposed road bridge from a reference position.

Autofocus camera lens designer - is part of a team who use computer programmes to design the lens, the sensors and electronics to measure the sharpness of the image to control the focus, and CAD (Computer Aided Design) to design the components and housings. Such components may be made with machines which depend on optoelectronic equipment to achieve the required accuracy.

Heating Engineer - uses a Thermal Imaging camera to give a high quality picture showing the temperature distribution across a scene, which enables them to measure heat loss from a poorly insulated factory or the discharge of hot effluent into a river.

Communications System Installer - couples optical fibres to electronic systems to route the information between computers, monitors etc. or to control a production machine.

Conservation Specialist - uses laser beams to blast away the grime that has built up on buildings and statues with less damage than other abrasive techniques.

Environmental Inspector - uses a laser beam projected into the smoke plume from a factory to monitor the levels of the different gases emitted to see if they are within permitted limits.

Quality Control Inspector - uses apparatus which measures the precise colour spectrum of the food product so that e.g. bad beans can be automatically rejected . Sorting of produce of different sizes into bins can be done using the dimensions of the video image.

Surgeon - uses a slip-on device over the patients thumb which monitors an infra-red beam to continuously measure the pulse rate. Also, inserts a fibre optic endoscope into the patient with a camera attached, and when the defect has been located cuts it away with a laser beam which is transmitted down the fibre optic.

Skilled Machinist - uses various types of laser beam under computer control e.g. to cut holes finer than a human hair, treat or decorate the metal surface, or join components together in a vacuum where there is negligible contamination of the weld.

seminars

hello every one ,
i found a good site for paper presentations plz go through this site if u need any seminar topics

Some UnderGraduate Project Ideas




Here are some undergraduate ( B.Tech 4th year) project ideas that are related to robotics and A.I which you can do to increase you experience and exposure in the field. Remember these projects are not quick fix projects generally carried out ( VB ,Oracle, ASP crap , or some simple copying of EFY circuit ) these will require lots of work and research from your side, sometimes loads of money too. 

If you need any help regarding these please go to http://www.roboticsindia.com/

AUTOMATED MISSILE GUIDANCE SYSTEM {Aeronautics/EC} : The idea is a blend of 
aeronautics(amateur),mechanics,mathematics,A.I.,electronics and communication(embedded systems) and of course some real innovative minds.but im sure u gonna blow'em up.No this is'nt a joke.These kinda projects have been done before by undergraduates from different universties.The project needs a fine understanding of mechanics and some state of art virtual processors like MATLAB (the one and only).this one needs real talent.


3-D PAINTER {EC , CS} : First of all this project is a state of art combination of graphics programming and embedded system designs. Its kinda fun making this project.. Actually it works like this -> you move an electronic pen or a small electronic stylus attached to your finger in the AIR and the computer will decode the motion of the stylus(attached to the computer with an embedded system) and convert it into a real time design. Yes this project will be a real time system.Ofcourse the stylus will be having accelerometers.


Autonomous Chess/Checkers Robot [CS/ME/EE]: This project is a big project and will involve expertise in many fields like micro controllers, A.I, kinematics, image processing, speech processing and recognition. This project will involve building a robot arm, which will pick and place the pieces on the board. The board recognition will be provided by web cam and the arm will be controlled by servos (SSC). Voice recognition and Synthesis will be used to interact with the user. You can use chess/checkers module or write your own (min-max). 


Autonomous De-mining Vehicle [CS/EE]: This project though not very big is quite interesting. A Big Study WMR will have to be built, equipped with GPS and other navigational aids it will be able to map an area and detect metal objects and other irregularities in the terrain using metal detectors and web cam. Either is can drop a marker to mark the position of mine or simulate de-mining (place a small charge above the mine and detonating it from a safe distance]. All this data will also build a map of the area, which is available remotely.

Legged Robots [ME/EE]: These projects mainly involve lots of Mechanical design and some basic Electronics to control the robot. You can also put in some sensors and some basic object avoidance. If you want to go ahead make the robot a little advanced make it learn how to walk and put in some kind of behavior. 

Home Robot [CS/EE]: This robot will be quite interesting and you might even keep it at your home once its done. The aim is to build a personal robot equipped with video/audio/speech which will be able to carry out basic tasks like switching off kitchen lights when your in the bedroom, by going to the kitchen and then using IR, switching channels on TV. Talk back to you using some basic NLI. The robot will be a WMR with ability to map its environment and successfully navigate it. All the processing will be done offline using a PC. The camera will be a Wireless blue tooth camera. And you can also use a High bandwidth RF data link to the PC. If you want to save or RF and Wireless cams (they are EXPENSIVE) you can go in for a ITX based embedded system board. 

Balancing Robot [CS/EE]: Though not a very complicated robot this is a iteresting one.You have to build a robot which balances itself and can manover around on two wheels only. The balnce is provided using a combination of Gyroscope and Accelometer. One the balance is achived slight bend towards a direction will make your robot move in that one.REquire more prgramming than electronics / Mech also makes for a interesting project.Search the net as people have built many balacing bots. THere are also ones which balance inverted pendulums etc.

Roomba clone [CS/EE/ME]: Try and clone the functionality of Roomba in our own version of a robot. This robot is usefull as well as cool. Insted of a vaccum u can use a sweeper mechanism like swivel sweeper ( Goole to search for it ). You can put quite some inteligence in your tiny robot if you want to like aumated map building, path finding and other such cool learning features( Depending on the time you have ) . Have fun project is not very exp yet is quite fun and usefull after the thing has been achived.

Autonomous Surveillance robot:These ahve been commen today.We hear of some students doing bots that can track down a person who is struck up inside the debris of a collapsed building or one that can see(actually sense) if a soldier is severely wounded so that he cannot move and carry him to a safer place.Such bots need a high degree of automation and sensing.

plz read according to the numbers given in the titles

I am sorry for the order of posts in embedded electronics...!
 kindly read the topics in embedded electronics according to the page numbers given in the title of the posts

Beginning Embedded Electronics - 11

Common Mistakes, Tips and Tricks

  1. All grounds need to be connected together.
  2. TX/RX loop back trick: When in doubt of a serial conversion circuit, short the TX and RX pins together to get an echo.
  3. Normal length wires for breadboard connections: Don't use a 9" wire where a 2" wire will do.
  4. Minimize short potential in your breadboard wiring: Don't expose an inch of wire from the insulation if all you need is 1/4".
  5. You will learn best when you have a *simple* project to work on. Don't create the 'house-pet robot' just yet.
  6. Google is, of course, your friend. When you don't know, go do some research.
  7. for(x = 0 ; x <>
  8. Soldering basics: Wet your @#$% sponge.
  9. Take your time with ground plane solder joints. Do not be fooled by a cold joint.
  10. Never trick yourself into thinking you're that good. Print out a 1:1 and compare the footprints!
  11. Check that TX and RX are wired correctly to all peripherals. TX/RX swap is the one of the greatest causes of PCB failures.
  12. When laying out a PCB with SMD micros, don't forget to include the programming port!
  13. Don't run silkscreen across pads.
  14. Connector PCB footprint mis-numbering: always check the pin number on your connector - they can have very obfuscated schemes.
  15. In Eagle, use vector fonts only!
  16. Review your gerber files before submitting them.

Beginning Embedded Electronics - 10

Lecture 10 - Eagle: Creating a new part

You can dig around the Eagle libraries all you want. Very quickly you will discover that you need to create a new part. This can be very daunting at first. The following tutorial breaks down how we create a new part in Eagle. There are some recommendations here that are good to follow, but we are by no means experts at Eagle. This is going to be very long and painful, just try to get through it. These basics will hopefully form the foundation of all your future project layouts.

You are welcome to use stock Eagle libraries but use them under extreme caution. I rarely use other people's libraries. Trusting someone else' part or footprint can be a sure fire way to render a pile of PCBs worthless. I've done this far too many times! It takes lots of failures to get good at creating decent schematic parts and solderable footprints. You will mess up, but you have to mess up before you can be good at it.

To get 5V out of a 1.5V battery, we use something called a DC to DC step-up converter. This handy part is not in the stock Eagle library so let's create a new part for this controller IC - the NCP1400 (datasheet).

The NCP1400 is a neat little step-up IC - we input a low voltage and get 5V out!

To start your first parts library:

Once the Library Editor is open, hit the Save icon and save your library with your name on it:

Click on create a new symbol. Name it 'NCP1400':

Create a red box by clicking on the 'Wire' button:

Don't worry about centering the box at this time.

Key commands to try out:

  • Scroll the scroll wheel on the mouse to zoom in/out

  • Click the scroll wheel (on the main work area) and hold shift to move the work area around

  • If the work area image looks corrupt, just zoom in/out to refresh the area

Add 5 pins to the box:

Press F4 and click on a pin. Name them according to the datasheet.

Pins are named, but we need to clean up how this part is sized and where the center is at. To grab the group press Alt+F7, click and hold, and drag from one corner of the work area to the opposite corner - boxing in the pins and part:

Once you have everything selected (everything should be highlighted red), press F7 and right click to move the group over the center cross. In my example part, I the right side was one block too far over so I sucked in the right side one square.

The image above shows the part centered and symmetrical.

  • NEVER change the grid size in the library editor or in the schematic layout editor. Leave it on 0.1inch steps and don't use the alternate 0.01 step. If you do, you won't be able to hook wires to the pin tie points.

Name and Value tags are always nice. Click on the text button and type '>NAME' and '>VALUE'. (Ok I lied. It's okay to use the alternate step size when moving around non-critical items like text. Hold the Alt key down while your placing the Name and Value tags to get them where you want them):

Once you have Name and Value placed, you'll notice that these are red when they are normally gray in color. Be sure to modify what layer these two strings are on. We need to change the >NAME tag to the Name layer, and >VALUE tag to the value layer. To do this:

Click on the wrench, then Layer.. Choose the layer you'd like to change the object to

Here is the final schematic part, centered and happy. If you want, you can change the pin definitions to indicate which pins are inputs, outputs, pwr, etc. I find these settings useful in a handful of situations. This is a simple enough part, we'll skip it.

Now for the footprint. Remember, when in doubt create your own footprint. Trusting anyone else' footprint without scrutinizing it closely is a very bad idea. If you're lucky, your datasheet will include a recommended footprint for the part you are working with. If it does not, google for the words 'recommended land pattern SOT-23' or whatever package you are looking for. The words 'land pattern' is the key.

Lucky us! The NCP1400 datasheet has a recommend footprint:

This takes some getting used to. There are two numbers from every dimension, and not all the dimensions are indicated?! Lower left corner shows mm/inches meaning the top number is the dimension in mm and the bottom number is that same dimension in inches. Sorry folks, it's a metric world. More and more devices are spec'd in mm only (connectors, ICs, etc). From the Library editor, click on Package and let's start creating the footprint for this device. This is actually a pretty common package type called SOT23-5, so let's use that name:

Throw down 5 pads:

Hmm, some of the layers are not showing - let's turn them all on:

Click 'All' and then 'Ok'. You should now be able to view the solder mask (in Eagle as the 'Top Stop' layer) and solder paste layers (aka 'Top Cream' layer).

Now back in your datasheet you will find the width of each pad to be 0.7mm and the height to be 1.0mm. Before we can go editing the pads, we need to put Eagle into metric mode. Press Alt+F10 and you should see the coordinates in the upper task bar switch to mm. To alter the size of the five pads to 0.7x1.0mm, click on the wrench, then Smd, then '...':

You will then be prompted to enter the X and Y dimensions in mm with an 'x' in between:

Remember the X dimension always comes first.

Now click on all 5 pads. All 5 pads should now be the correct size. I really prefer to center the footprint with the center of the work area. This means we need to work out the various dimensions:

 Let's start with the easy pad - pin #2 will be located at (0,1.2). Before we can start moving pads, we need to adjust the alternate grid so that we can get the the side pads to 0.95mm. Click on the points/grid box:

Change the Alt: box from 0.1 to 0.05 and click on ok. Now lets move pin 2. In the work area, press F7, then hold control and click on a pad:

F7 issues the move command. Holding control while clicking on a pad causes the pad to try to center to the cursor (this way you know that the coordinates displayed in the upper left task bar are displaying where the very center of the pad is at and not where your cursor may have been off when you first clicked on the pad). Because the pads are locked onto the 1mm grid, you'll notice the pad jump from 3mm to 4mm, etc. While holding control, hold alt as well. The pad should now jump on the alternate grid of 0.05mm instead of 1mm. Important buttons to know:

  • Again, the scroll wheel will zoom in/out

  • Clicking the scroll wheel will drag the work area around

  • Holding the shift key will allow you drag the work area further

To position this pad to (0,1.2) I literally had to:

  1. Hold Control and click on the pad

  2. Hold Alt, Shift, and control with one hand

  3. Scroll in with the scroll wheel

  4. Click+drag the scroll wheel to get the work area centered

  5. Release Shift

  6. Move the cursor to position (0,1.2) (Remember to hold alt!)

This sounds really scary but after creating two footprints, you'll have it down without thinking about it.

Nifty

Press F4 and click on each pad renaming them to match the datasheet numbering:

Did you number them wrong? Double check. Make sure you get it right! We need to add a dimensional layer to indicate the size of the device. This is different than a silkscreen indicator. I like to use layer 51 (named 'tDocu' meaning top document layer?). This layer will only be displayed while we're playing on the layout window and won't show up on any production files. This allows us to display the physical size of awkward parts, hopefully avoiding collisions between bulky parts when we go to populate the PCB.

Why should be even care about these layers?

Here is our NCP1400 (label U4) next to three capacitors. See how crazy board layout can get? Notice C1 is next to U4 but the distance between them looks ok? When we add in the tDocu layer:

Whoa! That cap is way too close to the body of the NCP1400. You might be able to get those two components soldered onto the board, but it would be a mash up job. We need to know the rough physical outline of components during layout. To do that, we need to add a frame to our footprint.

Before we add lines to our footprint to indicate the physical size of our part, let's change the layer color - gray is a horrible color to try to see! Click on the 'Display' button, scroll down to layer 51 and double click on the gray box next to 'tDocu':

Then click on the gray 'Color' box and change it to something interesting like lemon yellow, then click ok. Anything you do on this layer will now be yellow.

Click on the 'Wire' button. Select layer 51 (this layer will be yellow in the drop down box the next time you close/open the Library editor).

You should now be able to lay down yellow lines. Put four of them down in a box:

Press escape to stop drawing. Now we need to move the edges of the box to the outside edge of our part. Checking the datasheet again:

Ahh manufacturing tolerances. They can't really tell us how big the B and A dimensions will be, so I always pick a value in the middle of the min/max. A = 3mm, B = 1.5mm. Remember we have to center the frame so the upper right corner of the frame will be at (1.5, 0.75).

Now go back to the footprint, press F7 to issue the move command. Hold the control key and click on the upper right corner of the frame. When you do this, the 1 pad may light up - this is because Eagle does not know which part you are trying to move - the pad or the line? If you left click, Eagle will begin moving the 1 pad because it is highlighted. Right click and the frame should highlight. Now left click and you should be moving the upper right corner of the frame. I know, its really confusing at first. It's actually really handy once you're used to it!

Once you've got the corner at (1.5,0.75), left click to anchor the corner at that location and adjust the other three corners.

I can almost see it now! Notice how the part extends past the edges of the pads? If we would have put a component (like an 0603 resistor) next to pads 3 and 4 the two component may have been bumping into each other. Electrically, the layout would have been fine but when we would go to populate the PCB, this regulator might have been right up against the neighboring part.

Finally, I highly encourage you to add a bit of silkscreen to this part. What does a board look like without silkscreen?

Can you tell where the components go and how they are supposed to get oriented without a silk indicator? I can't.

Add a little silkscreen and it's suddenly very apparent where the NCP1400 is supposed to go.

When you get a PCB with nothing but silver pads, the 4/5 pads on this part look a lot like the spot for an 0805 capacitor! Select layer 21 tPlace. You may notice this layer is gray as well! I hate gray. Re-color this layer to white. When you get your PCBs, the silkscreen is white, right? Might as well make them agree.

I zoomed way in, held alt to get onto the alternate grid, and ran the line from (-0.25, -0.75) to (0.25, -0.75). You really do not want to put silkscreen across your pads. This will negatively affect how the pads react to solder. It would foul a board or anything, it's just best to keep the silkscreen layer away from pads. You could butt the white line right up against the pad, but the silkscreen layers has the worst tolerances and the greatest skew. The white lines in your beautiful layout could end up a couple mm to the left or right when you get your PCBs from the fab house. Besides, 0.25 is such a nice start/finish number!

Create silkscreen lines for the sides as well. Don't worry about itty-bitty silkscreen lines inbetween the upper pads or the little corners. Very small silkscreen lines will either be ignored by the fab house or else they will just flake off.

When we laid out the tDocu layer, the wire thickness was 0.127mm or 0.005". 0.005" is also pronounced as '5 mil'. Time and time again, you will hear that fab houses can handle 8 mil traces and 8 mil spacing for their basic service (aka their cheap service). This means that no trace can be less than 0.008" in thickness and two traces cannot be closer than 0.008" to each other. Well guess what thickness our silkscreen traces are? The 5mil tDocu lines don't matter because they will not be printed or fabbed, but the 5mil silkscreen traces may give some fab houses fits! The fab house may increase the line thickness to 8mil, they may try to print the 5mil line as is and have it come out very thin with no weight, or they may not print it at all! Let's alter the thickness of the silkscreen lines to 8mil so that we are kosher with any fab house.

We're switching back to Imperial units! Press F10. Next click on the wrench, width, and '...':

Why doesn't Eagle have 8mil listed? I have no idea. Enter 0.008 into the box prompt. Click on the three silkscreen lines:

It looks a bit odd, but once you see it on a PCB, it will look great! The last things we need to do (I promise!) is to add a >NAME and >VALUE tag. Review the schematic component section to see how to do this in detail. Add two strings ('>NAME' and '>VALUE') and then modify the layers for these two strings to tName and tValue respectively.

And we're done with the footprint creation for this one part! Now you see why engineers and companies hoard their libraries. The first couple footprints you create will be totally botched and will probably kill your PCB layout. But once you get a part created, and you use it once or twice successfully, the part will be proven and you'll never have to worry about it again! With a collection of 20-30 known good parts, you'll be able to whip up very reliable PCBs in surprisingly little time.

To finish this part in our library, we need to relate the pin numbers on our footprint to the pin identifiers on our schematic part. Save your library and click on the Device button:

Name the new device NCP1400 and then click on the Add button:

Drop the schematic part in the center of the work area. Hit escape twice to get rid of the part window. Now click on the 'New' button in the Package area:

Double click on the SOT23-5 listing.

Notice the yellow exclamation point in the Package area? This means that a footprint is associated with the schematic part but the pins have not yet been assigned. Double click on the 'SOT23-5' text in the Package area:

Review page 1 of the NCP1400 datasheet to know what pins connect to what pad numbers:

Double clicking on a given name on one side will assign it to the highlighted choice on the opposite side. You've done a great job up to this point! Double check that your pad assignments are correct!

Right click on the Package name and click on Rename. Various different footprints can be associated with any given schematic part. To differentiate between parts, you can give the pin assignments different names. I mis-use this function a bit. I often name variants 'SMD', 'A', 'B', '8', '10', or in this case 'NCP1400'. Pick your poison.

It's ok if you do not give this device a variant name, but if you leave the default variant name as " and then try to add a new pad assignment you will get the "Package variant " already defined!" error:

Just rename one of the variants to a different name so that Eagle can add this new variant with the default " name.

Now let's add this newly created part to our schematic. Close the library editor and go back to the Eagle Control Panel. Click on File->New->Project. Name this new project - in this example we'll do 'Simon'. Right click on the Simon project and create a new Schematic:

The schematic editor should open. Now go back to the Eagle Control Panel and open your new Library:

You should see the NCP1400 part and the SOT23-5 footprint. Highlight the NCP1400 part and in the right screen click on ADD. The schematic editor will pop up allowing you to place the NCP1400.

And that's it! You now know how to create a component from scratch. Be sure to do a 1 to 1 print of your layout before sending it to the PCB fab house to verify all the parts against their respective footprints.