Sunteți pe pagina 1din 25


1.COMPANY INDUSTRIAL PROFILE WELCOME TO DIGITECH SOLUTIONS 1.1 Vision Refining, redefining and realizing the potential of technological environment of the nation, to serve as a catalyst in societal advancement 1.2 Mission
Department of Electronics & Communication, LNCT INDORE

Delivering quality and tailored solutions through optimal amalgamation of skills and technology. 1.3 Brief introduction When Solutions and Information Services Pvt.Ltd. came into existence in 2005, our vision was to build a company that would be a single source for all technical solutions from conceptualization to development. Today Digitec continues to exceed that vision. We provide todays business with most advanced technical solutions with our award winning team of engineers. We create the industrys most innovative technology solutions under the leadership of our R&D department. In addition, we offer state of art embedded solutions, PCB designing and fabrication, reliable and technically advanced equipments, spare parts, maintenance services and consultancies services to businesses, industries and educational institutions. Digitec is today a leading electronic equipment manufacturer and consulting organization with branch office in Indore and several proposed offices dispersed throughout MP. Since its inception Digitec has proved itself in very vertical it has committed itself in. To be precise Digitec is not just an organization but a revolution. A revolution that shall redefine your lives, a revolution that welcomes change, respects innovations and inspire creativity. Digitec as a part of its corporate social responsibility promotes R&D in academic institution & also offering skill development training programs to engineering & management students to make them industry ready & solve the issue of employability.


Department of Electronics & Communication, LNCT INDORE


SHORT TERM The main short-term advantage after completing the training was an idea of the industrial environment, the strict and disciplined schedule of the company. This helped me a lot to build inside me the zeal to learn more, to be highly precise and accurate in my working. It helped in understanding the relationship that should be maintained between an officer and a worker, officer and a trainee and also between worker and trainee. The good and learning environment helped a lot to understand the difficulties or problems faced during the project completion. The short term learning objective were to just to see how things works and how communication is possible. LONG TERM The introduction to an official as well as industrial environment would help a lot in future to work in a company concerning to the field of communication, to cope up with the increasing competition in the market also it would help in building up a good relationship between myself and the colleagues. This industrial training has helped me a lot to stand in the corporate world.

Department of Electronics & Communication, LNCT INDORE


Department of Electronics & Communication, LNCT INDORE

In training at Embedded Systems emphasis was given on the latest technologies and the basic fundamentals of communication which are required to cope up with the diverted needs of communication and study about the present day services provided by Embedded Systems. We were given thorough instructions and knowledge about almost all the aspects of Networking. The officers also made us familiar with the various equipments being used. The training deal with


An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is usually embedded as part of a complete device including hardware and mechanical parts. In contrast, a general-purpose computer, such as a personal computer, can do many different tasks depending on programming. Embedded systems control many of the common devices in use today. Since the embedded system is dedicated to specific tasks, design engineers can optimize it, reducing the size and cost of the product, or increasing the reliability and performance. Some embedded systems are mass-produced, benefiting from economies of scale. Physically, embedded systems range from portable devices such as digital watches and MP4 players, to large stationary installations like traffic lights, factory controllers, or the systems controlling nuclear power plants. Complexity varies from low, with a single microcontroller chip, to very high with multiple units, peripherals and networks mounted inside a large chassis or enclosure. In general, "embedded system" is not an exactly defined term, as many systems have some element of programmability. For example, Handheld computers share some elements with embedded systems such as the operating systems and microprocessors which power them but are not truly embedded systems, because they allow different applications to be loaded and peripherals to be connected.

Department of Electronics & Communication, LNCT INDORE

Figure1: Anatomy of Embedded System

Examples of Embedded Systems Embedded systems span all aspects of modern life and there are many examples of their use. Telecommunications systems employ numerous embedded systems from telephone switches for the network to mobile phones at the end-user. Consumer electronics include personal digital assistants (PDAs), mp3 players, mobile phones, videogame consoles, digital cameras, DVD players, GPS receivers, and printers. Many household appliances, such as microwave ovens, washing machines and dishwashers, are including embedded systems to provide flexibility, efficiency and features. Transportation systems from flight to automobiles increasingly use embedded systems. New airplanes contain advanced avionics such as inertial guidance systems and GPS receivers that also have considerable safety requirements. Characteristics Embedded systems are designed to do some specific task, rather than be a general-purpose computer for multiple tasks. Some also have real-time performance constraints that must be met, for reasons such as safety and usability; others may have low or no performance requirements, allowing the system hardware to be simplified to reduce costs.

Department of Electronics & Communication, LNCT INDORE

Embedded systems are not always standalone devices. Many embedded systems consist of small, computerized parts within a larger device that serves a more general purpose. For example, the Gibson Robot Guitar features an embedded system for tuning the strings, but the overall purpose of the Robot Guitar is, of course, to play music.[2] Similarly, an embedded system in an automobile provides a specific function as a subsystem of the car itself.

3. The program instructions written for embedded systems are referred to as firmware, and are stored in read-only memory or Flash memory chips. They run with limited computer hardware resources: little memory, small or non-existent keyboard and/or screen. Simple systems Simple embedded devices use buttons, LEDs, and small character- or digit-only displays, often with a simple menu system. Complex systems A full graphical screen, with touch sensing or screen-edge buttons provides flexibility while minimizing space used: the meaning of the buttons can change with the screen, and selection involves the natural behavior of pointing at what's desired. Specific reliability issues may include: The system cannot safely be shut down for repair, or it is too inaccessible to repair. Examples include space systems, undersea cables, navigational beacons, borehole systems, and automobiles.

The system must be kept running for safety reasons. "Limp modes" are less tolerable. Often backups are selected by an operator. Examples include aircraft navigation, reactor control systems, safety-critical chemical factory controls, train signals, engines on single-engine aircraft.

The system will lose large amounts of money when shut down: Telephone switches, factory controls, bridge and elevator controls, funds transfer and market making, automated sales and service.

Department of Electronics & Communication, LNCT INDORE


2.2 Pinout Description

Pins 1-8: Port 1 Each of these pins can be configured as an input or an output. Pin 9: RS A logic one on this pin disables the microcontroller and clears the contents of most registers. In other words, the positive voltage on this pin resets the microcontroller. By applying logic zero to this pin, the program starts execution from the beginning. Pins10-17: Port 3 Similar to port 1, each of these pins can serve as general input or output.
Department of Electronics & Communication, LNCT INDORE

Besides, all of them have alternative functions: Pin 10: RXD Serial asynchronous communication input or Serial synchronous communication output. Pin 11: TXD Serial asynchronous communication output or Serial synchronous communication clock output. Pin 12: INT0 Interrupt 0 input. Pin 13: INT1 Interrupt 1 input. Pin 14: T0 Counter 0 clock input. Pin 15: T1 Counter 1 clock input. Pin 16: WR Write to external (additional) RAM. Pin 17: RD Read from external RAM. Pin 18, 19: X2, X1 Internal oscillator input and output. A quartz crystal which specifies operating frequency is usually connected to these pins. Instead of it, miniature ceramics resonators can also be used for frequency stability. Later versions of microcontrollers operate at a frequency of 0 Hz up to over 50 Hz. Pin 20: GND Ground. Pin 21-28: Port 2 If there is no intention to use external memory then these port pins are configured as general inputs/outputs. In case external memory is used, the higher address byte, i.e. addresses A8-A15 will appear on this port. Even though memory with capacity of 64Kb is not used, which means that not all eight port bits are used for its addressing, the rest of them are not available as inputs/outputs. Pin 29: PSEN If external ROM is used for storing program then a logic zero (0) appears on it every time the microcontroller reads a byte from memory. Pin 30: ALE Prior to reading from external memory, the microcontroller puts the lower address byte (A0-A7) on P0 and activates the ALE output. After receiving signal from the ALE pin, the external register (usually 74HCT373 or 74HCT375 add-on chip) memorizes the state of P0 and uses it as a memory chip address. Immediately after that, the ALU pin is returned its previous logic state and P0 is now used as a Data Bus. As seen, port data multiplexing is performed by means of only one additional (and cheap) integrated circuit. In other words, this port is used for both data and address transmission. Pin 31: EA By applying logic zero to this pin, P2 and P3 are used for data and address transmission with no regard to whether there is internal memory or not. It means that even there is a program written to the microcontroller, it will not be executed. Instead, the program written to external ROM will be executed. By applying logic one to the EA pin, the microcontroller will use both memories, first internal then external (if exists).
Department of Electronics & Communication, LNCT INDORE

Pin 32-39: Port 0 Similar to P2, if external memory is not used, these pins can be used as general inputs/outputs. Otherwise, P0 is configured as address output (A0-A7) when the ALE pin is driven high (1) or as data output (Data Bus) when the ALE pin is driven low (0). Pin 40: VCC +5V power supply.

3.2.2 Block Diagram of 8051 Microcontroller

Figure 3.1.1 Address bus-For a device (memory or I/O) to be recognized by the CPU, it must beassigned an address. The address assigned to a given device must be unique. The CPU puts the address on the address bus, and the decoding circuitry finds the device. Data bus-The CPU either gets data from the deviceor sends data to it. Control bus-Provides read or write signals to the device to indicate if the CPU is asking for information or sending it information.

3.2.3 Memory and Registers

Department of Electronics & Communication, LNCT INDORE


The 8051 microcontroller has a total of 256 bytes of RAM in which 128 is visible or user accessible and extra 128 is for special function registers. The user accessible RAM is used for temporary data storage. The user accessible RAM is from the address range 00 to 7Fh. From the user accessible RAM, 32 bytes of RAM is used for registers and rest for Stack operations. The 32 Bytes of RAM is divided into four register Banks i.e. Bank0, Bank 1, Bank 2, Bank3. Each of these banks have 8 Registers i.e. R0 to R7 each. RAM locations from 0 to 7 are set aside for bank 0 of R0 R7 where R0 is RAM location 0, Rl is RAM location 1, and R2 is location 2, and so on, until memory location 7, which belongs to R7 of bank 0. The second bank of registers R0 R7 starts at RAM location 08 and goes to location 0FH. The third bank of R0 R7 starts at memory location 10H and goes to location 17H. Finally, RAM locations 18H to 1FH are set aside for the fourth bank of R0 R7.

Figure 3.1.2 Generally for normal operations, Register bank Bank0 is set by default. But we can switch to other banks by using PSW Commands.

Figure 3.1.3 3.1.3 SFRs (Special Function Register) - These Registers are in extra 128 bytes of the memory. This part of memory is not user accessible and these registers are used for special purposes. These registers range from 80h to FFh. There are a total of only 21 SFRs in this range and all other addresses from 80h to FFh are invalid and there use can cause errors and not valuable results. Some of the SFRs are TCON, SBUF, ACC, B, SCON, TMOD SP, P0, PSW, TL0, and TL1. These all the registers have some specific function that has to be performed after they are
Department of Electronics & Communication, LNCT INDORE


programmed. (i) Byte Addressable SFR with byte address SP Stack printer 81H DPTR Data pointer 2 bytes DPL Low byte 82H DPH High byte 83H TMOD Timer mode control 89H TH0 Timer 0 Higher order bytes 8CH TL0 Timer 0 Low order bytes 8AH TH1 Timer 1 High bytes = 80H TL1 Timer 1 Low order byte = 86H SBUF Serial data buffer = 99H PCON Power control 87H. 3.1.4 DPTR - Data Pointer in 8051 16 bit register; it is divided into two parts DPH and DPL. DPH for Higher order 8 bits, DPL for lower order 8 bits. DPTR, DPH, DPL these all are SFRs in 8051.

3.3 TIMERS AND COUNTERS 3.3.1 Timers

The 8051 comes equipped with two timers, both of which may be controlled, set, read, and configured individually. The 8051 timers have three general functions: 1) Keeping time and/or calculating the amount of time between events, 2) Counting the events themselves, 3) Generating baud rates for the serial port. Both Timer 0 and Timer 1 are 16 bits wide. Since 8051 has an 8-bit architecture, each 16-bits timer is accessed as two separate registers of low byte and high byte. One timer is TIMER0 and the other is TIMER1. The two timers share two SFRs (TMOD and TCON) which control the timers, and each timer also has two SFRs dedicated to itself (TH0/TL0 and TH1/TL1).
Department of Electronics & Communication, LNCT INDORE


The upper higher bits are TH0 and TH1 and the lower bits are TL0 AND TL1 The TMOD and TCON are two control registers for the two timers.

Figure 7.9

(i) TMOD Register

It is used to set the various timer operation mode. TMOD is an 8-bit register where the lower 4 bits are set aside for timer 0 and the upper 4 bits are set aside for timer 1. MSB LSB









Timer 1
Figure 7.10

Timer 0

GATE: To start and stop the timer GATE=1 _HW control: is enabled only while INTx pin is 1and TRx control pin (in TCON) is set. GATE=0 _SW control (used frequently) C/T: Timer or counter selection C/T = 0 _Timer (input from internal system clock) the crystal (1/12) is used to trigger the timer. C/T = 1 _Counter (input from Tx input pin) M1 and M0: Mode selection for timer and counter
Department of Electronics & Communication, LNCT INDORE


Mode M1 M0 0 0 0 13-bit timer/counter mode 101 16-bit timer/counter mode 210 8-bit auto reload timer/counter mode 31 1 split timer/counter mode (ii) TCON Register MSB LSB









TIMER 0 Figure 7.11

TF1: Timer 1 overflows flag TF1=1: Timer/counter 1 overflows. TF1=0: processor vectors to the interrupt services. TR1: Timer 1 run control bit TR1=1: turn Timer 1 ON TR1=0: turn Timer 1 OFF IE1: External interrupt 1 edge flag IE1=1: external interrupt is detected. IE1=0: when interrupt is processed. IT1: Interrupt 1 type control bit IT1=1: falling edge. IT1=0: low level triggered external interrupt. Gate=0, SETB TR1 _Run Timer 1 SETB TR0 _Run Timer 0 Gate=0, CLR TR1 _OFF Timer 1 CLR TR0 _OFF Timer 0

Timer Mode 0

Mode 0: 13-bit Timer/counter mode 0000 ~ 1FFFH

Timer Mode 2
Mode 2: 8-bit auto reload Timer/counter mode (00 ~ FFH). In auto reload, TH is loaded with the initial count and a copy of it is given to TL. This reloading leaves TH unchanged still holding a copy of original values. This mode has many applications, including setting the baud rate in serial communication. Mode 2 Programming 8 bit - 00 ~FFH TH copy to TL
Department of Electronics & Communication, LNCT INDORE


Start SETB TR0, or TR1 TL increased FFH (OV monitoring) TH reloads to TL.

3.2.2 Counters
Counter is used to count input pulses. C/T=0: As Time, using 8051s crystal as the source ofthe frequency. C/T=1: As counter, a pulse outside of the 8051 that increments the TH and TL register. When the C/T=1, the counter counts up as pulses are fed from Pins P3.4 (for counter 0) or P3.5 (for counter 1).


An Arduino is an opensource microcontroller development board. In plain English, you can use the Arduino to read sensors and control things like motors and lights. This allows you to upload programs to this board which can then interact with things in the real world. With this, you can make devices which respond and react to the world at large. For instance, you can read a humidity sensor connected to a potted plant and turn on an automatic watering system if it gets too dry. Or, you can make a stand-alone chat server which is plugged into your internet router. Or, you can have it tweet every time your cat passes through a pet door. Or, you can have it start a
Department of Electronics & Communication, LNCT INDORE


pot of coffee when your alarm goes off in the morning. Basically, if there is something that is in any way controlled by electricity, the Arduino can interface with it in some manner. And even if it is not controlled by electricity, you can probably still use things which are (like motors and electromagnets), to interface with it. The possibilities of the Arduino are almost limitless. As such, there is no way that one single tutorial can cover everything you might ever need to know. That said, I've done my best to give a basic overview of the fundamental skills and knowledge that you need to get your Arduino up and running. If nothing more, this should function as a springboard into further experimentation and learning. Arduino is a single-board microcontroller to make using electronics in multidisciplinary projects more accessible. The hardware consists of an open-source hardware board designed around an 8-bit Atmel AVR microcontroller, or a 32-bit Atmel ARM. The software consists of a standard programming language compiler and a boot loader that executes on the microcontroller. Arduino boards can be purchased pre-assembled or as do-it-yourself kits. Hardware design information is available for those who would like to assemble an Arduino by hand. It was estimated in mid-2011 that over 300,000 official Arduinos had been commercially produced. Pin Description Of Arduino

Arduino programs are written in C or C++. The Arduino IDE comes with a software library called "Wiring" from the original Wiring project, which makes many common input/output operations much easier. Users only need define two functions to make a
Department of Electronics & Communication, LNCT INDORE


runnable cyclic executive program:


a function run once at the start of a program that can initialize settings loop(): a function called repeatedly until the board powers off

A typical first program for a microcontroller simply blinks an LED on and off. In the Arduino environment, the user might write a program like this

The integrated pin 13 LED

#define LED_PIN 13 void setup () { pinMode (LED_PIN, OUTPUT); // Enable pin 13 for digital output } void loop () { digitalWrite (LED_PIN, HIGH); // Turn on the LED delay (1000); // Wait one second (1000 milliseconds) digitalWrite (LED_PIN, LOW); // Turn off the LED delay (1000); // Wait one second } It is a feature of most Arduino boards that they have an LED and load resistor connected between pin 13 and ground; a convenient feature for many simple tests. [9] The previous code would not be seen by a standard C++ compiler as a valid program, so when the user clicks the "Upload to I/O board" button in the IDE, a copy of the code is written to a temporary file with an extra include header at the top and a very simple main() function at the bottom, to make it a valid C++ program. The Arduino IDE uses the GNU toolchain and AVR Libc to compile programs, and uses avrdude to upload programs to the board. As the Arduino platform uses Atmel microcontrollers, Atmel's development environment, AVR Studio or the newer Atmel Studio, may also be used to develop software for the Arduino.
Department of Electronics & Communication, LNCT INDORE



3.5.1 First, what is a PCB? It is a Printed Circuit Board. Look to the left of this web page and you'll see an image of a small PCB as part of a group of PCBs. These PCBs are "bare," that is, they do not have any electrical components mounted on them as yet. Here is another example of one: Have you ever looked inside your computer, a radio or a telephone? The printed circuit boards inside it are the flat, thin, square, usually green fiberglass slabs that have electrical components attached. Harder to see are copper traces running underneath the green covering. You would have to try different angles of light to see them. These are wires that are "printed" on the fiberglass slab. They connect the electrical components, thus forming circuits. Thus the name "printed circuit board." A company that manufactures electronic products has a cycle of production to go from concept to end user or customer. It could be thought of like this: Marketing - Sales - Product Concept Engineering & Design - Design for Manufacturing - Manufacturing - Assembly - Packaging Distribution.

3.5.2 Types of Printed Circuit Boards

Single Sided Board This is the least complex of the Printed Circuit Boards, since there is only a single layer of substrate. All electrical parts and components are fixed on one side and copper traces are on the other side. Double Sided Board This is the most common type of board, where parts and components are attached to both sides of the substrate. In such cases, double-sided PCBs that have connecting traces on both the sides are used. Double-sided Printed Circuit Boards usually use through-hole construction for assembly of components. Multi Layered Board Multi layered PCB consists of several layers of substrate separated by insulation. Most common multilayer boards are: 4 layers, 6 layers, 8 layers, and 10 layers. However, the total number of layers that can be manufactured can exceed over 42 layers. These types of boards are used in extremely complex electronic circuits.


Department of Electronics & Communication, LNCT INDORE


3.6.1 Introduction
This exercise covers the use of Eagle (Easily Applicable Graphical Layout Editor) PCB design software to design an electronic schematic and lay out a printed circuit board (PCB). Eagle is a PCB design software package consisting of a schematics editor, a PCB editor and an auto router module. The software comes with an extensive library of components, but a library editor is also available to design new parts or modify existing ones. Eagle is made by Cad Soft (, and is available in three versions. The light-version is limited to one sheet of schematics and half euro-card format (80x100 mm), but can be used under the terms of the freeware licence for non-commercial use. This software can be downloaded from CadSofts homepage, for Windows or Linux. We are investigating the possibilities of getting one or more licenses for the professional version,which does not have these limitations.

3.6.2 The Control Panel

Start Eagle. Under Windows it should be located in the Start menu under Programs ! Eagle Layout Editor 4.11 ! Eagle 4.11. Create a new project named efp. Make sure the project is saved in a place where you have write access (not in the Eagle directory). You can create a description of the project by rightclicking on the project and choosing Edit Description. Now, right-click on the project and select New ! Schematic. This will bring up the Schematics Editor Window.

3.6.3 Drawing the schematic

The Eagle toolbar is shown in figure 1. The user interface in Eagle is somewhat special when compared to other drawing utilities (and PCB layout programs). This takes a little getting time getting used to. Some of the tools will be described here, to allow the user to get to know these tools, while the tools that constitute the main part of the tutorial will be described along the way. The copy-tool can be used to easily clone a component. If you select copy and click on a component, a copy of the component will be attached to the mouse cursor, and can be placed in the schematic. If you want to copy something to a different schematic, you will need to use the cut-tool. This does not delete the component from the schematic (as you might otherwise assume from the name), but merely copys it to the clipboard. The group-tool can be used to work on a group of components etc. First select the group tool and mark the components you want to modify. You can either hold the left button and drag to draw a rectangular selection, or click the left mouse button to make a polygon selection, using the right mouse button to end the polygon selection. When the selection is done, you select the tool you wish to apply, such as move, rotate, cut etc. Then right-click the group to use the selected tool. The change-tool is used to modify the properties of various objects. Again, this is a little different in Eagle when compared to other tools (where you would normally be able to right-click on an object and change its properties from a pop-up menu). First you choose the
Department of Electronics & Communication, LNCT INDORE


modify-tool and select what you want to modify (style, size, layer etc.), then you click on the component you want to modify. The command line interface (CLI) can be used

to make this task easier. If you want to modify the value of say 10 capacitors to 100nF, you could use the change-tool and select value. Now, each time you click a component, a dialog will pop up asking for the new value, which you will have to type in. If you instead enter the command value 100nF in the CLI (the input-box just above the main drawing canvas), you can simply click on the components whose value you wish to change. When adding components, you will notice a small black cross on each device. This is the origin or handle of the device, and is used to manipulate the device with varoius tools. So whenever you are using a tool, Eagle will apply the tool to the entity whose origin is closest to the mouse cursor. If two or more entities are very close to eachother, Eagle will highlight one and ask if this is the one you want to modify. Click left button to accept or right button to cycle to the next entity. When you use the smash-tool, the name and value-texts will be
Department of Electronics & Communication, LNCT INDORE


detached from the device and get their own origin, allowing them to be moved individually.

3.6.4 Printing the schematic

To print the schematic, you should use the print-command from the file-menu (or click the printer-icon on the upper toolbar). There are a couple of things that might be nice to know when printing from Eagle. They will be explained here. The printer-settings are the same for the schematic, library and board editor. While this means that you only have to set the papersize in one place, it also has the wierd side-effect of remebering if you printed the last PCB mirrored (which you will be doing for one of the layers when you do the PCB-layout), and in this case print your schematic mirrored as well, which will definitely not improve the readability. Also note the scale factor setting. While this can be nice for ensuring that your schematic can be printed on one sheet, it will also scale the PCB layout, and scaling this to 97% will not be apparent until you are trying to mount the components. So great precaution is advised when using the scale-factor. Instead, you should use the page limit setting. Setting this to 1 ensures that your schematic will fit on one page. This means that it will be scaled down a lot if you set the printer to portrait and print a schematic drawn with the landscape-frames. But at least with the limitations regarding PCB-sizes in the freeware version, this will not impact the size of the printed PCBs. The layers printed will be those visible when the print-command is invoked. Use the Display-button on the toolbar to modify the visible layer settings.

3.6.5 PCB Layout

To start laying out the printed circuit board, you should open the schematic in Eagles schematic editor and click on the board-button (located on the top toolbar in Eagle). You will be asked whether you want to create a new PCB design from the schematics. Confirm this inquiry. This should open Eagles Board editor window. Once you have created a board for a schematic, you should always have both files open when working with either the schematic or the circuit board layout. This is important, since it allows Eagle to keep the consistency between the two. This is called forward- and back annotation. If you close either the schematic window or the board window and modify anythin in the other window, Eagle will be unable to track the changes you have made, and help you keep the schematic and PCB consistent. Notice how all the components from the schematic have been placed next to a white frame in the board editor. The white frame shows the maximum size of a circuit-board designed with the freeware version of Eagle. You will need tostay within these limitations. The first thing that should be added to the PCB is the mounting holes. This ensures that you do not end up having troubles finding room for the mounting holes because you have routed a lot of signals in the spot where the hole should be.
Department of Electronics & Communication, LNCT INDORE


To add the holes, we need to go back to the schematic editor. This is because of Eagles forward and back annotation, which aparently is not too good at back-annotating new components. Go back to the schematic editor and add 4 mounting holes (add mount-pad-round3.0). The placement in the schematic is not important. You will se that the mounting holes appear in the board editor right away. You should move them to appropriate places on the board. It is a good idea to align the mounting holes on some nice metric positions. Switch the grid to millimeters while placing the mounting holes. You probably want to change it back afterwards, since the 100mil grid is the standard distance between component pins.

3.6.6 Placing components

Now select the move-tool and move each of the components and placing them within the board. Try to rotate the components while moving them (by right clicking), to untangle as many of the air-wires as possible. The air-wires are not automatically updated when\ moving the components. To do this you should use the Rats nest-command. Since changing back and forth between the move-tool and the rats nest-tool is quite annoying, it is a good idea to define a keyboard shortcut for this action. Go to Options! assign . . . and enter the command rats nest; move for the key-combination CTRL-E. This combination will execute the rats nest-command and change back to the move-command. Notice how using a semicolon (;) allows you to have several commands carried out by a single shortcut key, which can be very useful. 3.6.7 Routing When all the components are placed appropriately, we are ready to start routing the PCB. This can either be done using the auto router (select the auto-command from the toolbar), or using the manual routing (the route-command). Use the auto router with caution. In particular pay attention to the signals that should be routed on a particular side of the PCB to make room for the soldering. The auto router can be restricted to work in only one layer by selecting the other layer as N/A. This may however generate some errors, since some components (SMD) are not routable on the allowed layer. For manual routing, select the route-tool. Now click on an air-wire and Eagle will start routing the connection. Use right mouse button to change the bend of the routed signal. If you need to change the routing layer during routing (by inserting a via), press the middle mouse button. Holding the shift-key while starting the routing operation allows you to route a signal from anywhere, not only the end-points of the air-wires. If you keep the shift-key depressed when ending a wire, a via will be inserted. If you need to remove a routed wire, you should not use the delete-command, since this cannot be back-annotated by Eagle. Instead, use the ripup-command. Note that clicking a single time on a connection rips up only this segment of the connection, while double clicking (actually clicking an extra time on the air-wire will unroute the entire connection. When routing manually, you switch back and forth between the route and ripup-tools a lot. This can be much easier if a couple of key bindings are set up: Ctrl-E ratsnest;move
Department of Electronics & Communication, LNCT INDORE


Ctrl-F window fit; Ctrl-L window; Alt-R ripup Ctrl-R route

3.6.8 Printing the PCB

When you are done routing the PCB, you can print it. Start by experimenting with the layers that should be printed. Like the schematic editor, Eagles board editor prints the layers that are currently active. It is always a good idea to print a copy of all the normal layers (top, bottom, pads, vias, tOrigins, bOrigins etc.) on a single sheet of regular paper. This will allow you to see the real size of the circuit board, and can often be helpfull in determining whether you have placed the components too close to eachother. When the PCB is manufactured, a printout of the component placements (pads, vias, tPlace, tOrigins, tNames, tValues and tDocu) is a good way of finding out where the components should be placed. Print a similar sheet for the corresponding bottom layers. It is a good idea to put some text on the PCB (in both the top and bottom layer). This makes it easy to see which side is up and down, avoiding problems with a mirrored circuit board. Remember the text on the bottom layer should appear mirrored in the board editor (since the editor shows a top-view). When printing on the special foils for use with the PCB manufacturing process, you should always print each layer on regular paper first, to ensure everything is set up correctly. The foils are considerably more expensive than a regular sheet of paper. The PCB gets best if you actually print the foils mirrored. This allows the side of the foils that have the print on them to touch the PCB during the UV exposure, giving a picture that is slightly better in focus. Remember to reset the scaling to 1.00 when printing the PCBs. You should also check the Black and Solid-options when printing the PCB-traces. And the mirror-option for the appropriate layer(s).

3.6.9 PCB Fabrication Process

Step1. Take print out of PCB layout on glossy paper. Glossy paper is multilayer paper that is very helpful in PCB designing. Step2. Now measure the length and breathe of PCB layout using scale. Step3. Now cut a copper clad PCB of this size. There are two side in this PCB one is insulation layer that is called top layer of PCB other one is copper side of PCB that is called bottom layer of PCB. Step4. Take a sand paper to rub this PCB. This will remove corrosion from PCB and you can make strong solder with PCB. Step5. Take layout of PCB and stick this with copper side of PCB(bottom layer). You can use electrical tap from backside of PCB for tightly stick this layout design with copper PCB.
Department of Electronics & Communication, LNCT INDORE


Layout design should come inner side. Means layout and copper side should stick to each other. B Now ON electrical press (iron press). Step7. Now start press of copper PCB from bottom layer. Step8. This process has done till same layout should start print on back side of paper. Step9. This process takes time around 15 minutes for new user and it can also finished in 5 minutes. Step10. After come same PCB track on back side of paper keep this PCB in to water till it become could. This process will make soft paper. Step11. Remove paper layer smoothly using our finger till can get layout of PCB. Reminds PCB should have only track on PCB in this process some extra paper also remains in between tracks of PCB so we need to remove them using blunt equipment you can use also screw driver. If we do not remove remaining paper between track it would case shorting in circuit. Here shorting means unnecessary connection. Step12. After getting fine track on PCB. Take 2,3 spoon fecl3 solution in a plastic try. Step13. Take a glass of hot water in try. Keep take care it makes fast bubbles for few seconds that comes out that so make distance from solution. Step14. Put this PCB in to the solution and shake try slowly for some time also observe some part of copper is start remove from PCB. Shake solution till copper remove from PCB. copper will only remain in track of PCB. Step15. Take out PCB from solution using tong and washed it using water then take sand paper and rub on this PCB till capper track show you properly. Step16. Now do drill on pad size using drill machine. Step17. Insert component on right place of circuit and do soldering properly.

Department of Electronics & Communication, LNCT INDORE



Embedded systems = A computer which is integrated into another system, the embedded system. Embedded systems are part of a bigger system. Embedded system programming is programming with resource constraints. An Embedded system is based on specifications. Specific requirements are defined and based on these requirements an embedded system is developed. In short an embedded system works for a predefined task. On the whole a hardware chip programmed for a dedicated task results in an embedded system. As integrated circuits get continuously cheaper, more capable and power efficient, complexity of chip designs are constantly growing. This is illustrated by new design approaches such as multicore technologies. As there is no foreseeable end to this development of embedded system, higher abstractions for the design process to be invented.

Department of Electronics & Communication, LNCT INDORE