Sei sulla pagina 1di 32

SOFTWARE

TRAINING
ARDUINO & OrCAD
TRAINING AT:
NETMAX TECHNOLOGIES
SCO 118-120, 3rd floor, Sector-
34A
Chandigarh 160022
COMPANY PROFILE
Netmax Technologies is an organization which
is established in field of Network Support,
Network training and Embedded systems.
It provides support and training in field of
networking solutions and embedded systems.
It also provides technical research and
development support and consultancy to
various industries.
What is Embedded
System?
Embedded system employs a combination of
hardware and software to perform a specific
function.
Any electronic system that uses a CPU chip, but
that is not a general purpose workstation,
desktop or laptop is known as embedded system.
They may use microprocessor, microcontroller or
custom designed chips.
They are used in ATMs, automobiles, aircrafts,
electronic items etc.
DIFFERENCE BETWEEN
MICROPROCESSOR AND
MICROCONTROLLER

MICROPROCESSOR MICROCONTROLLER

It is a general purpose
digital computer CPU It has a CPU in addition to
known as CPU on chip. It a fixed amount of RAM,
has no RAM, no ROM, and ROM, I/O ports and a timer
no I/P ,O/P ports on chip. all on a single chip.
Any amount of external
memory can be added. There is fixed amount of
They have many opcodes memory.
for moving data from They may have one or two
external memory to CPU. operational code.
ARDUINO
Arduino is an open source electronic
prototyping platform based on flexible, easy
to use hardware and software.
It can sense the enviornment by receiving
input from a variety of sensors and can affect
its surrounding.
The microcontroller on the board is
programmed using arduino programming
language.
HOW DOES ARDUINO LOOK
LIKE?
ADVANTAGES OF ARDUINO
Compact size board.
Easily programmable and applicable.
Directly programmable through USB.
Support more speed than 8051, PIC and some
AVR controllers.
Applications such as MP3 player, polar plotter,
automatic head tracking.
ARDUINO FEATURES
It uses 28 pin AMEGA328 which is 8 bit
microcontroller.
32*8 general purpose working registers.
32k bytes of in system flash program memory.
1k bytes EEPROM
Write/Erase Cycles: 10,000 Flash/ 100,000
EEPROM
Two 8-bit Timer/Counters.
One 16-bit Timer/Counter.
PIN DIAGRAM OF ATMEGA328
ARDUINO has
6 pins for ANALOG
I/Ps
14 DIGITAL I/O pins
2 serial ports
3 pins for Pulse width
modulation
PROGRAMMING IN ARDUINO

In arduino programming is done with sketchbook


provided by arduino itself.
ADVANTAGES OF C OVER
ASSEMBLY LEVEL PROGRAMMING
Knowledge of the processor instruction set is
not required.
Details like register allocation and addressing
of memory and data is managed by the
compiler.
Programs get a formal structure and can be
divided into separate functions.
Reusable code
LED INTERFACING AND ITS
BLINKING

CODE FOR BLINKING
int led=0; //LED connected to pin 0;
void setup()
{
pinMode(led, OUTPUT); //Make LED Pin 0 OUTPUT
}
void loop()
{
digitalWrite(led, HIGH); //Write Logic 1 (HIGH) to Pin 0
delay(500); //Delay of 500 miliseconds
digitalWrite(led, LOW); //Write Logic 0 (LOW) to Pin 0
delay(500);
}
OrCAD
OrCADis a proprietary software tool suite
used primarily forelectronic design
automation(EDA).
The software is used mainly by electronic
design engineers and electronic technicians to
create electronic schematics and electronic
prints for manufacturing printed circuit
boards.
Since 16 July 1999,OrCAD's product line has
been fully owned by Cadence Design Systems.
ABOUT OrCAD
OrCAD mainly compries of two softwares
1. Capture CIS
2. Layout plus
CAPTURE CIS
Capture is used to drawn a circuit on the
screen, known formally as schematic capture.
It offers great flexibility compared with a
traditional pencil and paper drawing, as
design changes can be incorporated and
errors corrected quickly and easily.
CAPTURE WINDOWS
There are three windows in the screenshot of
capture as shown below:
WINDOWS IN CAPTURE
PROJECT MANAGER: usually in the top left
corner of the screen. Its title is that of the
project.
SCHEMATIC:-where you draw your circuit.
The toolbar down the right-hand edge of the
screen appears when this window is active.
SESSION LOG:-often hidden behind the other
windows and can be minimized out of the way.
TOOLBARS IN CAPTURE
PLACING THE COMPONENTS
SELECTING THE PARTS TO BE
PLACED
SET THE VALUES OF
COMPONENTS
WIRE THE
COMPONENTS
Place the cursor where you wish to start
connecting the circuit and left-click to start a
wire.
Move parallel to the grid, horizontally or
vertically.
Left-click again to create a corner if necessary.
Left-click again to end the wire, usually on
another component or an existing wire.
Exit the wire drawing mode as usual with
Esc .
OPENING LAYOUT
PLUS
CREATING NEW
DESIGN
LAYOUT WINDOWS AFTER IMPORTING
NETLIST
CREATING BOARD OUTLINE
PLACING COMPONENTS
ROUTING THE BOARD
MANUAL ROUTING OF NETMAX
ARDUINO
THANK YOU

Potrebbero piacerti anche