Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Lab1 Proteus & Microcontroller Khubaib & Saad
Protues
ISIS ARES
VSM
Intelligent Schematic Advanced Routing and
Virtual System Modeling
Input System Editing Software
Objectives:
To learn proteus basics i.e. circuit making, use of wires, power terminal and ground
To learn use of oscilloscope i.e. viewing waveforms, finding time period by grids and by
cursors
Making logic circuits using LOGICSTATE, LOGICPROBE and gates.
These objectives were completed using Task 1,2,3 and 4
2
Lab1 Proteus & Microcontroller Khubaib & Saad
1. Place resister R1, diode D1, ground GND and SINE from GENERATOR mode and connect
via wire
2. Add OSCILLOSCOPE from INSTRUMENT mode, connect to input and output across diode
3. RUN and set by changing TIME KNOB of connected channels to view waveform
3
Lab1 Proteus & Microcontroller Khubaib & Saad
1. Repeat task1 for the bridge rectifier and observe the result. See that diodes can be placed
horizontal or vertical and not diagonal.
2. Also note that output is almost Vo = Vin - 1.4 where Vo and Vin are amplitude of output and
input wave.
3. Find generic full bridge rectifier BRIDGE and see that both outputs are equal for the same
input but the generic bridge has a compact schematic and is quick to integrate in circuits.
4
Lab1 Proteus & Microcontroller Khubaib & Saad
Circuit can add three bits at a time. It has three inputs and two outputs.
1. Place XOR, AND and OR gate by giving them as KETWORDS in PICK DEVICES window
2. Add LOGICSTATE (logic input) and LOGICPROBE (logic input) to componant list
3. Make the circuit and verify the Truth Table
4. Also see that Red shows high logic state and blue show low gic state
5
Lab1 Proteus & Microcontroller Khubaib & Saad
6
Lab1 Proteus & Microcontroller Khubaib & Saad
H-bridge
H-bridge is an electronic circuit that is used to drive motors by switching the voltage polarity
applied to the load. They are one of the most important component in robots as the control the
forward and reverse movement of motor.
These switches control the current flow. When S1, S4 close motor moves forward
S3, S2 close so opposite polarity and hence Figure 12 Burning of the Bridge
reverse In such a case bridge burns
7
Lab1 Proteus & Microcontroller Khubaib & Saad
MicroController
A microcontroller is a single integrated circuit that is used to perform a dedicated task. There are
different microcontrollers due to difference in ARCHITECTURE.
Microcontroller Microprocessor
It has in-built ports along with memory units Ports, ROM, RAM not built in and must be
like ROM and RAM but as the controller. integrated
Eg. 8051uC uP used in computers and motherboard
provides ROM, RAM, ports etc.
Objectives:
8
Lab1 Proteus & Microcontroller Khubaib & Saad
9
Lab1 Proteus & Microcontroller Khubaib & Saad
Problem Encountered:
10
Lab1 Proteus & Microcontroller Khubaib & Saad
NOTE:
PORT1, 2 and 3 are internally pulled up while
PORT0 is not
Double click on wire to create wire of same length
and direction
RED = HIGH
GREY = UNKNOWN
BLUE = LOW
Series of led replaced by LEDSTRIP
LEDSTRIP has 1 as anode side and 20 as
cathode side
Series of resistors by RESPACK
RESPACK has 1 as common
Series of switches by DIPSWITCH
1. REQUIRED
a. PORT0 with LEDSTRIP
b. PORT1 with LEDSTRIP
c. PORT2 with DIPSWITCH
d. PORT3 with LOGICSTATES
2. Add AT89C51, LEDSTRIP, LOGICSTATE, DIPSWITCH and RESPACK to componant list
3. PORT0
a. Connect LEDSTRIP after pulling up with RESPACK. Use proper wire labeling when
using bus mode
4. PORT1
a. Connect LEDSTRIP after rotating and pulldown by RESPACK
5. PORT2
a. Connect DIPSWITCH with its common to POWER (5V) and pulled down by
RESPACK
11
Lab1 Proteus & Microcontroller Khubaib & Saad
6. PORT3
a. Connect LOGICSTATES by bus and use wire labeling
7. RUN to check
12
Lab1 Proteus & Microcontroller Khubaib & Saad
Conclusion
We learned
Making simple to complex circuits in Proteus
Simulation using OSCILOSCOPE
Making logic circuits
H-bridge and its debugging (finding error by checking probes)
A new generator input pulse
Using BUS mode
Pull up and pull down importance and
New components like RESPACK, DIPSWITCH etc. to save size
References
https://en.wikipedia.org/wiki/H_bridge
https://www.modularcircuits.com/blog/articles/h-bridge-secrets/h-bridges-the-basics/
https://en.wikipedia.org/wiki/Microcontroller
13