Beruflich Dokumente
Kultur Dokumente
MOS photo-
transistor for
area image
sensor
Hardware Specifications
AT Mega 644
Photo-transistors array
Steppers Motors
ULN 2003 (Driver IC’s)
LM 7805
UART (RS-232)
Power Supply
Software Specifications
KI-CAD
Designing schematics
Printed circuit boards (PCB).
AVR STUDIO
Simulation
In-circuit Emulation
LAB-VIEW
Image Processing
PCB Design Steps
1> Open KI-CAD Software.
2> Click on Schematic Editor Draw the
Schematic of the circuit.
3>Generate the Netlist.
4>Click on CVpcb and select the
components from the list.
5>Appropriate components can be
selected by using their 3D View.
6>Click on PCB Editor and insert generated
netlist and arrange components properly.
Generate the Gerber files and printout
of which is pasted on Copper board.
Later etching process of this board
done by placing it in FeCl2 (soln) for
removal of Copper around the tracks.
Then holes are drilled and
components are placed over them.
Using a soldering Gun all the
components are soldered on to the
board.
This makes it a complete PCB.
3D View of Final PCB
Software Coding Steps
Yellow arrow
shown points
to the next
instruction to
be executed.
// Simple code turn on LEDs//
#include <avr/io.h>
int main(void)
{
// Set Port B pins as all outputs
DDRB = 0xff;
// Set all Port B pins as HIGH
PORTB = 0xff;
return 1;
}
Compile the code
"Build -> Build" from the menu.
Now debug the code in the simulator
Use "Build -> Build and RUN" from
the menu.
Step through the program line by line
with "STEP INTO (F11)" button.
Step again and notice that PORTB
becomes set to 0xff (all logical 1
output) when "PORTB = 0xff" is
executed.
LabVIEW is a platform and
development environment for
a visual programming language .