Professional Documents
Culture Documents
ATMEGA 328:
The ATmega328P provides the following features: 32K bytes of In- System
Programmable Flash with Read-While-Write capabilities, 1K bytes EEPROM, 2K
bytes SRAM, 23 general purpose I/O lines, 32 general purpose working registers,
three flexible Timer/Counters with compare modes, internal and external
interrupts, a serial programmable USART, a byte-oriented 2-wire Serial Interface,
an SPI serial port, a 6-channel 10-bit ADC (8 channels in TQFP and QFN/MLF
packages), a programmable Watchdog Timer with internal Oscillator, and five
software selectable power saving modes. The Idle mode stops the CPU while
allowing the SRAM, Timer/Counters, USART, 2-wire Serial Interface, SPI port,
and interrupt system to continue functioning. The Power-down mode saves the
register contents but freezes the Oscillator, disabling all other chip functions until
the next interrupt or hardware reset. In Power-save mode, the asynchronous timer
continues to run, allowing the user to maintain a timer base while the rest of the
device is sleeping.
The ADC Noise Reduction mode stops the CPU and all I/O modules except
asynchronous timer and ADC, to minimize switching noise during ADC
conversions. In Standby mode, the crystal/resonator Oscillator is running while the
rest of the device is sleeping. This allows very fast start-up combined with low
power consumption. The device is manufactured using Atmels high density nonvolatile memory technology. The On-chip ISP Flash allows the program memory
to be reprogrammed In-System through an SPI serial interface, by a conventional
non-volatile memory programmer, or by an On-chip Boot program running on the
AVR core. The Boot program can use any interface to download the application
program in the Application Flash memory. Software in the Boot Flash section will
continue to run while the Application Flash section is updated, providing true
Read-While-Write operation. By combining an 8-bit RISC CPU with In-System
Self-Programmable Flash on a monolithic chip, the Atmel ATmega328P is a
powerful microcontroller that provides a highly flexible and cost effective solution
to many embedded control applications. The ATmega328P AVR is supported with a
full suite of program and system development tools including: C Compilers, Macro
Assemblers, Program Debugger/Simulators, In-Circuit Emulators, and Evaluation
kits.
PIN DESCRIPTIONS
1.1 VCC
Digital supply voltage.
1.2 GND
Ground.
1.3 Port B (PB7:0) XTAL1/XTAL2/TOSC1/TOSC2
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The Port B output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port B pins that are externally
pulled low will source current if the pull-up resistors are activated. The Port B pins
are tri-stated when a reset condition becomes active, even if the clock is not
running. Depending on the clock selection fuse settings, PB6 can be used as input
to the inverting Oscillator\ amplifier and input to the internal clock operating
circuit. Depending on the clock selection fuse settings, PB7 can be used as output
from the inverting Oscillator amplifier. If the Internal Calibrated RC Oscillator is
used as chip clock source, PB7..6 is used as TOSC2..1 input for the Asynchronous
Timer/Counter2 if the AS2 bit in ASSR is set.
1.4 Port C (PC5:0)
Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The PC5..0 output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port C pins that are externally
pulled low will source current if the pull-up resistors are activated. The Port C pins
are tri-stated when a reset condition becomes active, even if the clock is not
running.
1.5 PC6/RESET
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the
electrical characteristics of PC6 differ from those of the other pins of Port C.
If the RSTDISBL Fuse is un programmed, PC6 is used as a Reset input. A low
level on this pin for longer than the minimum pulse length will generate a Reset,
even if the clock is not running. Shorter pulses are not guaranteed to generate a
Reset.
1.6 Port D (PD7:0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The Port D output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port D pins that are externally
pulled low will source current if the pull-up resistors are activated. The Port D pins
are tri-stated when a reset condition becomes active, even if the clock is not
running.
PL2303 USB-TTL:
Single-chip USB to Serial (RS232/RS422/RS485) asynchronous serial data
transfer interface With Fully Compliant with USB Specification v2.0 (Full-Speed)
Integrated USB 1.1 Transceiver and 5V to 3.3V Regulator. Integrated 96MHz
clock generator (No external crystal required).Integrated OTPROM (One-Time
Programming ROM) no external EEPROM required. For writing and storing
customer USB VID/PID, Serial Number, Product String, and other device startup
configurations. (uses default settings if OTPROM is empty) Supports USB to
RS232 Serial UART Interface. Full-duplex transmitter and receiver (TXD and
RXD) Six MODEM control pins (RTS, CTS, DTR, DSR, DCD, and RI) 5, 6, 7 or
8 data bits Odd, Even, Mark, Space, or None parity mode. One, one and a half, or
two stop bits, Parity error, frame error, and serial break detection, Programmable
baud rate from 75 bps to 12M bps.
External RS232 driver power down control Independent power source for
serial interface Supports RS-422/RS-485 like serial interface (TXD, DTR_N, and
RTS_N pins should be externally pulled-up to 5V) Extensive Flow Control
Mechanism Adjustable high/low watermark level. Automatic hardware flow
control with CTS/RTS or DSR/DTR. Automatic software flow control with
XON/XOFF Inbound data buffer overflow detection. Configurable 512-byte bidirectional data buffer , 256-byte outbound buffer and 256-byte inbound buffer; or
128-byte outbound buffer and 384-byte inbound buffer Supports Remote Wake-up
from RS232 input pin signals (RI, RXD, DSR, DCD, CTS) Four (4) General
Purpose I/O (GP0, GP1, GP2, & GP3) pins and Four (4) Auxiliary General
Purpose I/O (RI_N, DSR_N, DCD_N, & CTS_N) pins. Supports Windows
Selective Suspend by OTPROM configuration (Enable Remote Wakeup) Suspends
power of chip when idle (COM port is closed) Provides royalty-free USB to
Virtual COM Port drivers for Windows, Mac, Linux, Android .
LCD DISPLAY:
Liquid Crystal Display which is commonly known as Alphanumeric Display
can display Alphabets, Numbers as well as special symbols thus alphabets. Graphic
display has embedded controller for controlling different modes. Controller accepts
commands and data bytes from micro controller.
LCD display has total 16 pins for interface with processor. RS is instruction
or data select line. This pin is kept high or low by microcontroller to indicate
command instruction or data bytes on data bus db0-db7. Special feature of this
LCD module is it allows reading of data bytes stored in RAM. Pin no. 5 i.e. R/W is
used for deciding read operation or write operation. Graphic display has RAM
memory for storing characters codes to be displayed on LCD. We have used 16 x 2
Alphanumeric Display which means on this display we can display two lines with
maximum of 16 characters in one line.
4-CHANNEL RELAY:
HARDWARE:
Microcontroller:
The AVR core combines a rich instruction set with 32 general purpose
working registers. All the 32 registers are directly connected to the Arithmetic
Logic Unit (ALU), allowing two independent registers to be accessed in one single
instruction executed in one clock cycle. The resulting architecture is more code
efficient while achieving throughputs up to ten times faster than conventional
CISC microcontrollers. The ATmega328 provides the following features: 32Kbytes
of In-System Programmable Flash with Read-While-Write capabilities,1Kbytes
EEPROM, 2Kbytes SRAM, 23 general purpose I/O lines, 32 general purpose
working registers, three flexible Timer/Counters with compare modes, internal and
external interrupts, a serial programmable USART, a byte-oriented 2-wire Serial
Interface, an SPI serial port, a 6-channel 10-bit ADC (8 channels in TQFP and
QFN/MLF packages), a programmable Watchdog Timer with internal Oscillator,
and five software selectable power saving modes. The Idle mode stops the CPU
while allowing the SRAM, Timer/Counters, USART, 2-wire Serial Interface, SPI
port, and interrupt system to continue functioning. The Power-down mode saves
the register contents but freezes the Oscillator, disabling all other chip functions
until the next interrupt or hardware reset. In Power-save mode, the asynchronous
timer continues to run, allowing the user to maintain a timer base while the rest of
the device is sleeping.
The ADC Noise Reduction mode stops the CPU and all I/O modules except
asynchronous timer and ADC, to minimize switching noise during ADC
conversions. In Standby mode, the crystal/resonator Oscillator is running while the
rest of the device is sleeping. This allows very fast start-up combined with low
power consumption.
Arduino Board:
Arduino is a family of single-board microcontrollers, aimed toward building
interactive objects or environments in an easy way. The hardware consists of opensource board designs based on various 8-bit Atmel AVR microcontrollers or 32-bit
Atmel ARM processors. The systems provide sets of digital and analog I/O pins
that can be interfaced to various extension boards and other circuits. Some models
also feature a USB interface for loading code from personal computers. The first
Arduino was introduced in 2005. Its designers sought to provide an inexpensive
and easy way for hobbyists, students, and professionals to create devices that
interact with their environment using sensors and actuators. Common examples for
beginner hobbyists include simple robots, thermostats and motion detectors.
Arduino boards come with a simple integrated development environment (IDE)
that runs on regular personal computers and allows users to write programs for
Arduino using C or C++.
LCD Display:
4 CHANNEL RELAY:
The board uses high quality relays, which can handle a maximum of 7A/240
V AC or 7A/24V DC. Each relay has all three connections - Common, Normally
Open, Normally Closed brought out to 3 pin screw terminals which makes it easy
to make and remove connections. The board has a power indication and a relay
status LED to ease debugging. The board can accept inputs within a wide range of
voltages from 4V to 12V.
Power input and relay control signals are brought to header pins on the
board. Hence, the board can be easily interface with our development boards using
our female to female jumper wires. The power input for this board can also be
provided through the onboard DC Barral Jack. Hence, our SMPS type power
adapters can also be used to directly power this board.
SOFTWARE TOOLS:
ARDUINO IDE:
Introduction
Arduino is an open source computer hardware and software company,
project and user community that designs and manufactures kits for building digital
devices and interactive objects that can sense and control the physical world.
Arduino boards may be purchased preassembled, or as do it yourself kits; at the
same time, the hardware design information is available for those who would like
to assemble an Arduino from scratch. The project is based on a family of
microcontroller board designs manufactured primarily by Smart Projects in Italy,
and also by several other vendors, using various 8bit Atmel AVR microcontrollers
or 32bit Atmel ARM processors. These systems provide sets of digital and analog
I/O pins that can be interfaced to various extension boards and other circuits. The
boards feature serial communications interfaces, including USB on some models,
for loading programs from personal computers. For programming the
microcontrollers, the Arduino platform provides an integrated development
environment (IDE) based on the Processing project, which includes support for C
and C++ programming languages.
The first Arduino was introduced in 2005. The project leaders sought to
provide an inexpensive and easy way for hobbyists, students, and professionals to
create devices that interact with their environment using sensors and actuators.
Common examples for beginner hobbyists include simple robots, thermostats and
motion detectors.
Arduino started in 2005 as a project for students at the Interaction Design
Institute Ivrea in Ivrea, Italy. The name "Arduino" comes from a bar in Ivrea,
where some of the founders of the project used to meet. The bar itself was named
after Arduino, Margrave A hardware thesis was contributed for a wiring design by
Colombian student Hernando Barragan. After the Wiring platform was complete,
researchers worked to make it lighter, less expensive, and available to the open
source community.
Hardware
An Arduino board consists of an Atmel 8bit AVR microcontroller with
complementary components that facilitate programming and incorporation into
other circuits. An important aspect of the Arduino is its standard connectors, which
lets users connect the CPU board to a variety of interchangeable addon modules
known as shields. Some shields communicate with the Arduino board directly over
various pins, but many shields are individually addressable via an IC serial but so
many shields can be stacked and used in parallel. Official Arduinos have used the
megaAVR series of chips, specifically the ATmega8, ATmega168, ATmega328,
ATmega1280, and ATmega2560. A handful of other processors have been used by
Arduino compatibles. Most boards include a 5 volt linear regulator and a 16 MHz
crystal , although some designs such as the LilyPad run at 8 MHz and dispense
with the onboard voltage regulator due to specific form factor restrictions. An
Arduino's microcontroller is also preprogrammed with a boot loader that simplifies
uploading of programs to the on chip flash memory, compared with other devices
that typically need an external programmer. This makes using an Arduino more
straightforward by allowing the use of an ordinary computer as the programmer.
At a conceptual level, when using the Arduino software stack, all boards are
programmed over an RS232 serial connection, but the way this is implemented
varies by hardware version. Serial Arduino boards contain a level shifter circuit to
convert between RS232 level and TTL level signals. Current Arduino boards are
programmed via USB, implemented using USB to serial adapter chips such as the
FTDI FT232.
Some variants, such as the Arduino Mini and the unofficial Boarduino, use a
detachable adapter board or cable, Bluetooth or other methods. (When used with
traditional microcontroller tools instead of the Arduino IDE, standard AVR ISP
programming is used.) The Arduino board exposes most of the microcontroller's
I/O pins for use by other circuits. The Diecimila, Duemilanove, and current Uno
provide 14 digital I/O pins, six of which can produce pulsewidth modulated
signals, and six analog inputs, which can also be used as six digital I/O pins. These
pins are on the top of the board, via female 0.10inch (2.5 mm) headers. Several
plugin application shields are also commercially available. The Arduino Nano, and
Arduino compatible Bare Bones Board and Boarduino boards may provide male
header pins on the underside of the board that can plug into solder-less
breadboards. There are many Arduino compatible and Arduino derived boards.
Some are functionally equivalent to an Arduino and can be used interchangeably.
Many enhance the basic Arduino by adding output drivers, often for use in school
level education to simplify the construction of buggies and small robots. Others are
electrically equivalent but change the form factor sometimes retaining
compatibility with shields, sometimes not. Some variants use completely different
processors, with varying levels of compatibility.
Software
The Arduino integrated development environment (IDE) is a cross platform
application written in Java, and derives from the IDE for the Processing
programming language and the Wiring projects. It is designed to introduce
programming to artists and other newcomers unfamiliar with software
development. It includes a code editor with features such as syntax highlighting,
brace matching, and automatic indentation, and is also capable of compiling and
uploading programs to the board with a single click. A program or code written for
Arduino is called a sketch. 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 run nable cyclic executive
program:
setup(): a function run once at the start of a program that can initialize
settings
loop(): a function called repeatedly until the board powers off.
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 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.
Before Starting
You will want (or if using EAGLE on a networked workstation need) to
change the default project directory. Start the EAGLE control panel. Options>Directories gives a list of directories. Change the projects directory if necessary
to something convenient that you can write, e.g. on the EEE system
H:/EAGLEProjects. All new projects will be created inside this directory, and the
EAGLE project navigator in the control panel uses this as a root. For more
advanced use you may wish to change the other directories also. The directory
changes made are saved under "My Documents" as eaglerc.usr, so normally need
to be made only once.
Step 1: Schematic Creation
Make a project for your PCB design
Start the EAGLE Control Panel application. Create a new project:
File->New->Project.
Rename the project if you wish as follows: the control panel window indicates
whether a project is open with a green circle next to the project name. Click this if
necessary to close the project. Then
Right-click->Rename
on the project's name. After having renamed the project you can reopen it.
Right-click on the Project name ->New->Schematic. The schematic window will
open. Inside the schematic window:
File->Save as (choose a suitable name for your schematic sheet. NB - the freeware
version of EAGLE allows only one sheet per design). For the first half of this
tutorial you will be working with the schematic window, and can minimise the
control panel window. Open component libraries By default all the standard
EAGLE libraries are open which makes it inconvenient to select your components
from the EEE library.
In the schematic command window (long thin box at top) type the following
commands to change the open libraries:
USE -* <this closes all the standard libraries>
USE h:\eagle\lbr\ee2parts.lbr <this opens your project library>
Or USE < this displays an open file dialog box to find and open your library>
If you want to use components from the standard libraries they can all be reopened
again with "USE *". However the ee2parts components have hole sizes suitable
for easy hand soldering and should be used preferentially - they contain all the
components needed for the design project.
Add components to your schematic
Edit->Add-> Select component.
Each open library in the ADD window contains a list of components (click +
if not visible). Some components have multiple packages (click on + to select the
correct package). The component schematic symbol and package layout appear in
the two windows to the right of the library window. Each component has a
description you can check to see what it is. When you have identified the correct
component and package (component & package will be visible in the two
windows) click OK to start the ADD procedure (NB DONT click Drop in this box,
if you do this you will lose the current component and need to re-open the library
with USE to retrieve it). The ADD window will vanish and a schematic outline will
track the cursor when it is over the main schematic sheet window. Left-click to
place each component. Right-click before placing to rotate the component. Any
number of the selected component can be added. To stop the ADD procedure select
Edit->Stop Command.
Any number of components can be added to your schematic in any order. As
described above you can position and even rotate components as they are added to
the schematic. However components can also be moved after adding, with the
Edit->Move command, or rotated with the Edit->Rotate command. Note that these
menu commands can also be selected using the buttons on the left side of the
schematic sheet window. (See also Edit->Smash in Step 3a).
Move button, Delete button, Stop button . When a command is active its button,
and the stop button, will be highlighted. In this case right-clicking on a schematic
object will invoke the command. A short description of the command is displayed
on the bottom window edge.
click during the net command will cycle between different possible wire directions.
EAGLE has an excellent unlimited UNDO facility (Edit->Undo). Use this when
nets go wrong. If they go very wrong use Edit->Delete (followed by right-clicks on
unwanted objects) to remove unwanted nets and start again.
Step 2a Add supply connectors to the schematic
Supply connectors are a special type of component which does not exist
physically on the PCB. You can use them to make the schematic neater by naming
supplies, and using connectors instead of nets to join together supply connections
which are not adjacent. All supply connectors with the same name connect
together. Supply connectors have one more very clever use. Some ICs have
supply pins which do not show on the schematic symbol. These will be
automatically connected to a net with the correct supply connector (which has the
same name as the pin). If you do not have a supply connector with the correct
name it will result in an ERC error . Obviously it is an error not to connect the
supply pins for op-amps that you use. Sometimes you will want to connect together
distant subnets which are NOT a supply. You can't use a supply connector for this
since op-amp outputs joined to supply connectors is an error. Choose a suitable
alphanumeric name (e.g. sigout). Use Edit->Name and left-click on each of the
nets to be connected giving them the same name will connect them together.
To get signals on and off the PCB you need either connector components or
connecting wires. The best way to join wires to a prototype PCB is via terminal
pads which have circuit pins soldered - wires can then be soldered to the pins. Add
the PAD-TERMINAL component from the EEE library to allow wires for the V+,
V- and GND supplies. Throughout your circuit you will have internal nets which
you need to measure when testing. Add testpoints to these nets. Testpoints will
appear on the schematic as small pads similar to terminal pads - you do not
however need to solder circuit pins onto testpoints.
Schematic best practice layout
Signals run left to right, connections to supplies run top to bottom. Supply
rails themselves (where supply connectors are not used) run horizontally. Resistors
are positioned horizontally or vertically to indicate DC voltage - more positive DC
voltages are indicated by component ends being higher. Connections are made with
the minimum number of bends and crossings. These rules can have exceptions, but
if you follow them it is much easier to read the schematic.
Op-amps and digital ICs with separate supplies
Some ICs have symbols without supply connections, they automatically
connect to specific named supply connectors. NB - note that there will only be one
set of supply connections per package, so in a dual opamp one op-amp symbol will
never have supply connections. It is therefore not possible to run the two op-amps
in one package off different supplies.
Step 3: Electrical Rule Check
When you think you have connected everything you must do an ERC which
will identify disconnected pins, nets which are next to each other but not
connected, etc.
Finishing the Schematic
Now you have got a schematic which passes its ERC and can be used to
generate a PCB. You will still wish to change it to make it easier to read.
Adding a Document Field
and left-click again to terminate. Dont ever reposition the bottom or left sides,
which should intersect very near the origin cross. Continue as necessary until the
board is the correct size, making sure it stays rectangular. On the Freeware EAGLE
you will not be able to make the board bigger than the standard size, which is
100X80mm If you make a mistake you can always delete the .brd file and recreate
it from the schematic. Once you have created a board EAGLE will remember the
connection between the board and the schematic, and keep them consistent. Make
sure that if you ever load one you allow EAGLE to load the other (which it will
normally ask to do automatically). This means that consistency will be preserved
whatever changes you make. (EAGLE calls this "forwards & backwards
annotation"). If your board gets totally messed up, or inconsistent with the
schematic, it is easy to start again. Delete the board file (*.brd) and follow the
instructions in this section for creating a new board from the schematic. You will
have to reposition all your components.
Use EEE custom DRC and autoroute parameters.
In order for board manufacture to allow easy soldering we need to make
pads bigger by changing the default DRC rules. You need do this only once for a
given board. First download
ee_rules_dp.dru & ee_autoroute.ctl from web pages.
Tools->DRC->FILE tab->Load->choose downloaded eerules_dp.dru file.>apply->select
Tools->auto->general tab->Load->choose downloaded ee_autoroute.ctl file>select
Step 5: Position the components inside the board outline
Move the components one by one inside the rectangular board outline (Edit>Move) and position them where you want. Note that you must move components
into the allowed 100*80mm area and cannot rearrange them outside the allowed
area - this is a restriction imposed by freeware EAGLE. It is a good idea first to
print out the schematic so you know what is connected to what and can easily
position components in a logical order. Do not worry if you get things wrong, you
can reposition at a later stage. Note that you can also rotate components (Edit>Rotate).
Figure 2:(a) Rat's-nest connected components positioned on board layout - in this case it is easy
to optimise layout by rotating & repositioning components to untangle the rat's-nest.
(b) Auto-routed tracks
the number of tracks. An added bonus is that the poured copper connections are
much lower impedance than is possible using tracks.
We will first add poured copper to the tutorial board in the simplest possible way.
We use one side only and connect the poured copper to the power supply connector
GND. EAGLE uses polygons drawn on top or bottom of the board to mark the
boundary of an area within which copper will be automatically poured.
To draw a polygon for the V- supply type Polygon GND in board window
command box: Select from the top toolbar drop-down box the layer (top or bottom)
on which you want to place the polygon from the top toolbar. (All other options
can be unchanged).
Viewing poured copper
After Tools->Auto both tracks and poured copper will be displayed. This can
make it difficult to see tracks. Save the board, exit, and reload it. After the reload
you will see tracks, and polygon boundaries, but no poured copper. The layout is
identical, and can be sent for manufacture in this form (without another Tools>Auto command) but will be easier to view. To see the poured copper, execute
another Tools->Auto command. Note that top + bottom copper is coloured
dark brown, top only is red, bottom only is blue, and that colours can be changed
using Options->User interface.
(a) white layout background (b) coloured layout background
Usage of Poured Copper
You should draw identical large polygons on both sides of the board. Repeat
the polygon operation, selecting the other side in the top bar layer box. Normally
both polygons should be filled with the same supply but in some cases you could
use different supplies for top and bottom copper - on dense layouts the problem
with this is that there are too many tracks and each supply layer on its own does
not fully connect - whereas two identical supply layers will connect fully.
EAGLE allows any number of non-overlapping polygons to be drawn on
either side, and each polygon connected to its own supply (or they could all be the
same). Overlapping polygons on the same side must be connected to the same
supply.
More on Poured Copper
Poured copper will automatically join with pins on its own supply net. These
pins will connect copper on the two sides if both sides are same supply. HOLEVIA components can be added to join together both sides at other places. They
must be connected on the schematic to the net (V-,GND,etc) that is used for the
poured copper, & may then be positioned as required on the layout. This will allow
the copper fill to reach areas on the board only filled on one side.
Step 9: Final Touches
Any part of your design schematic or board can be modified at any time,
with new auto routing managing the new layout.
Component names
On the PCB layout silk screen (usually a white painted legend on top side)
components will be identified by their layer 25 names (IC1, R2, etc). The name
text may be difficult to read, or lie underneath the component or pads and so be
hidden after soldering. This can be cured as on the schematic using smash to
separate name and component followed by move, rotate as necessary. Note that
component values (if you have layer 27 visible) are not put on silk-screen
and so do not matter. You should therefore normally switch the tvalues 27 layer off
(View- >Display/hide layers->click on 27 till it is not displayed black).
Text Add a caption to the board, and your names! This can be done using the TEXT
command Draw->Text Enter the text you want, then click OK. The toolbar in 11
will appear and your text will follow the cursor ready for insertion using a leftclick:
Change the layer, angle, size, ratio, and font till they match those on the
toolbar You can increase size from this, but not decrease it (to be precise,
size*ratio > 0.01 is required by some board manufacturers). You can check the
results by moving the cursor over the PCB layout. When all is correct place the text
on the PCB layout using left-click. Use the tPlace layer (no 21) for lettering if your
board will be manufactured with silk-screen, and for the EE2 project. Lettering can
overlap copper tracks in this case. If your board will have no silk-screen you can
put your text on the top (1) or bottom (16) copper layers. In this case be careful to
place the text somewhere well away from components and tracks. Note that
proportional (non-vector) fonts must be vectorised at the CAM stage and therefore
change slightly on output.
This can mean that a font which does not touch tracks on the board in
EAGLE will touch them on the output board. Use of vector fonts avoids this
problem.
SIMULATION RESULTS