Professional Documents
Culture Documents
INTRODUCTION TO PROJECT
1.1 Introduction
Our group has decided to do this project because it suitable with our course. We
use parallel port and electronic circuit to make this robot work properly.
This project will be controlled using pc that will moves the robot into different
directions. This will control by the Visual Basic.
1.4 Scope
CHAPTER 2
LITERATURE REVIEW
The rapid development in robots had given a deep impact to human life. The
research and development team have struggle a lot to invent a new technology. The
objective of inventing this mini robot is to control it by pc. Mini robot is used throughout
the world.
2.2 Differential
The differential for this project are;
Our project is really different with others because this robot controlled from pc by
our self. This robotic car made wirelessly. Can reduce cable connection. Beside that, we
can move the robotic by pc to turn it left, right, forward and reverse.
CHAPTER 3
METHODOLOGY
Modify the
circuit
No
Yes
No
Yes
Yes
No
Fixed the circuit on PCB board
OUTPUT CIRCUIT
(Interface between computer and output circuit)
TRANSMITTER
RECEIVER
MOTOR
Circuit operation will be start from Visual basic programming which is main
controller for this project . Firstly, 5volt will supply by battery to the transmitter circuit.
Than, we can control our robotic car from visual basic programming by using parallel
port which connect to transmitter circuit. Later it will transmit the signal by antenna to
receiver circuit After that, IC 2804 will work as switch to operate the relays. Than the
relay will operate as switch when the inductor produce electromagnetic current.
Lastly, this signal send to motor to operate the car wheel as we need. For
example, a user press left button the parallel port will send the signal to input pin (IC
2262) and the output pin will send the signal to transmitter. The transmitter will send the
signal to receiver by antenna. After the receiver receive the signal, it will send the signal
to the input pin (IC 2272) and the output will send the signal to input pin (IC 74LS244)
and to the transistor. The output pin (IC 74LS244) will send the signal to IC 2804 which
using as a buffer. The signal from the output pin (IC 2804) will send to relay which are
using as a switch for run the motor. After the motor was run and it make wheel move
left.
Current flow through relay coil 1 and the motor 1 move the wheel 2 forward
Transmission must be valid or match with address setting.
END
Figure 3.6: The view if user press up button in visual basic programming
Figure 3.7: The view if user press right button in visual basic programming
Figure 3.8: The view if user press down button in visual basic programming
Figure 3.9: The view if user press left button in visual basic programming
CHAPTER 4
We have faced some problems when making circuit .One of the major problem is
from the relay circuit . This is because we need to do the circuit repeatedly because it not
worked properly after connection been made . We made some correction from the
original circuit to make work properly.
In this project we are using many an electronic components, such as parallel port,
relay, transistor, IC 2804, twin gear motor and so on. Followings are the description for
all the component which are we using for this project.
Parallel port is a simple and inexpensive tool for building computer controlled
devices and projects. The simplicity and ease of programming makes parallel port
popular in electronics hobbyist world. The parallel port is often used in Computer
controlled robots, Atmel/PIC programmers and home automation.
Everybody knows what is parallel port, where it can be found, and for what it is
being used. the primary use of parallel port is to connect printers to computer and is
specifically designed for this purpose. Thus it is often called as printer Port or Centronics
port (this name came from a popular printer manufacturing company 'Centronics' who
devised some standards for parallel port). You can see the parallel port connector in the
rear panel of your PC. It is a 25 pin female (DB25) connector (to which printer is
connected).
As you know, the Data, Control and status lines are connected to there corresponding
registers inside the computer. So by manipulating these registers in program , one can
easily read or write to parallel port with programming languages like 'C' and BASIC.
i. The ULN2804A each contain eight Darlington transistors with common emitters
and integral suppression diodes for inductive loads.
iv. A copper lead from and feature the convenient input-opposite-output pin out to
simplify board layout.
Figure 4.2: Shows IC 2804
4.2.3 Relay
A relay is an electrical switch that opens and closes under the control of another
electrical circuit. In the original form, the switch is operated by an electromagnet to open
or close one or many sets of contacts. It was invented by Joseph Henry in 1835. Because
a relay is able to control an output circuit of higher power than the input circuit, it can be
considered to be, in a broad sense, a form of an electrical amplifier.
The relay's switch connections are usually labeled COM, NC and NO;
i. COM = Common, always connect to this, it is the moving part of the switch.
ii. NC = Normally Closed, COM is connected to this when the relay coil is off.
iii. NO = Normally Open, COM is connected to this when the relay coil is on.
iv. Connect to COM and NO if you want the switched circuit to be on when the
relay coil is on.
v. Connect to COM and NC if you want the switched circuit to be on when the
relay coil is off.
4.2.3.1 Usage of Relays And Transistors
Like relays, transistors can be used as an electrically operated switch. For
switching small DC currents (< 1A) at low voltage they are usually a better choice than a
relay. However transistors cannot switch AC or high voltages (such as mains electricity)
and they are not usually a good choice for switching large currents (> 5A). In these cases
a relay will be needed, but note that a low power transistor may still be needed to switch
the current for the relay's coil! The main advantages and disadvantages of relays are listed
below:
Advantages of relays are;
i. Relays can switch AC and DC, transistors can only switch DC.
ii. Relays can switch high voltages, transistors cannot.
iii. Relays are a better choice for switching large currents (> 5A).
iv. Relays can switch many contacts at once.
Disadvantages of relays are;
i. Relays are bulkier than transistors for switching small currents.
ii. Relays cannot switch rapidly (except reed relays), transistors can switch many
times per second.
iii. Relays use more power due to the current flowing through their coil.
iv. Relays require more current than many ICs can provide, so a low power
transistor may be needed to switch the current for the relay's coil.
You need to consider several features when choosing a relay;
1. Physical size and pin arrangement
If you are choosing a relay for an existing PCB you will need to ensure that its
dimensions and pin arrangement are suitable. You should find this information in
the supplier's catalogue.
2. Coil voltage
The relay's coil voltage rating and resistance must suit the circuit powering the
relay coil. Many relays have a coil rated for a 12V supply but 5V and 24V relays
are also readily available. Some relays operate perfectly well with a supply
voltage which is a little lower than their rated value.
3. Coil resistance
The circuit must be able to supply the current required by the relay coil. You can
use Ohm's law to calculate the current:
supply voltage
Relay coil current =
coil resistance
4. For example: A 12V supply relay with a coil resistance of 400 passes a current of
30mA. This is OK for a 555 timer IC (maximum output current 200mA), but it is
too much for most ICs and they will require a transistor to amplify the current.
5. Switch ratings (voltage and current)
The relay's switch contacts must be suitable for the circuit they are to control. You
will need to check the voltage and current ratings. Note that the voltage rating is
usually higher for AC, for example: "5A at 24V DC or 125V AC".
4.2.4 Light Emitting Diode (LED)
A light-emitting diode, usually called an LED is a semiconductor diode that emits
incoherent narrow-spectrum light when electrically biased in the forward direction of the
p-n junction, as in the common LED circuit. This effect is a form of electroluminescence.
An LED is usually a small area light source, often with optics added to the chip to
shape its radiation pattern . LEDs are often used as small indicator lights on electronic
devices and increasingly in higher power applications such as flashlights and area
lighting. The color of the emitted light depends on the composition and condition of the
semiconducting material used, and can be infrared, visible, or ultraviolet. LEDs can also
be used as a regular household light source. Besides lighting, interesting applications
include sterilization of water and disinfection of devices .
The pale yellow emission of the Ce3+:YAG can be tuned by substituting the
cerium with other rare earth elements such as terbium and gadolinium and can even be
further adjusted by substituting some or all of the aluminum in the YAG with gallium.
Due to the spectral characteristics of the diode, the red and green colors of objects in its
blue yellow light are not as vivid as in broad-spectrum light.
Manufacturing variations and varying thicknesses in the phosphor make the LEDs
produce light with different color temperatures, from warm yellowish to cold bluish; the
LEDs have to be sorted during manufacture by their actual characteristics. Philips
Lumileds patented conformal coating process addresses the issue of varying phosphor
thickness, giving the white LEDs a more consistent spectrum of white light.
White LEDs can also be made by coating near ultraviolet (NUV) emitting LEDs
with a mixture of high efficiency europium-based red and blue emitting phosphors plus
green emitting copper and aluminum doped zinc sulfide (ZnS:Cu, Al). This is a method
analogous to the way fluorescent lamps work. However the ultraviolet light causes
photodegradation to the epoxy resin and many other materials used in LED packaging,
causing manufacturing challenges and shorter lifetimes.
This method is less efficient than the blue LED with YAG:Ce phosphor, as the
Stokes shift is larger and more energy is therefore converted to heat, but yields light with
better spectral characteristics, which render color better. Due to the higher radiative
output of the ultraviolet LEDs than of the blue ones, both approaches offer comparable
brightness .
The newest method used to produce white light LEDs uses no phosphors at all
and is based on homoepitaxially grown zinc selenide (ZnSe) on a ZnSe substrate which
simultaneously emits blue light from its active region and yellow light from the substrate
A new technique developed by Michael Bowers, a graduate student at Vanderbilt
University in Nashville, involves coating a blue LED with quantum dots that glow white
in response to the blue light from the LED. This technique produces a warm, yellowish-
white light similar to that produced by incandescent bulbs .
i. LEDs produce more light per watt than incandescent bulbs; this is useful in
battery powered or energy-saving devices.
ii. LEDs can emit light of an intended color without the use of color filters that
traditional lighting methods require. This is more efficient and can lower initial
costs.
iii. The solid package of the LED can be designed to focus its light. Incandescent and
fluorescent sources often require an external reflector to collect light and direct it
in a usable manner.
iv. When used in applications where dimming is required, LEDs do not change their
color tint as the current passing through them is lowered, unlike incandescent
lamps, which turn yellow.
v. LEDs are ideal for use in applications that are subject to frequent on-off cycling,
unlike fluorescent lamps that burn out more quickly when cycled frequently, or
HID lamps that require a long time before restarting.
vi. LEDs, being solid state components, are difficult to damage with external shock.
Fluorescent and incandescent bulbs are easily broken if dropped on the ground.
vii. LEDs can have a relatively long useful life. One report estimates 35,000 to 50,000
hours of useful life, though time to complete failure may be longer. Fluorescent
tubes typically are rated at about 30,000 hours, and incandescent light bulbs at
1,000–2,000 hours .
viii. LEDs mostly fail by dimming over time, rather than the abrupt burn-out of
incandescent bulbs .
Miniature LEDs indicator are normally driven from low voltage DC via a current
limiting resistor. Currents of 2 mA, 10 mA and 20 mA are common. Some low current
indicators are only rated to 2 mA, and should not be driven at higher current.
Sub-mA indicators may be made by driving ultrabright LEDs at very low current.
Efficacy tends to reduce at low currents, but indicators running on 100 μA are still
practical. The cost of ultrabrights is higher than 2 mA indicator LEDs.
LEDs have a low max repeat reverse voltage rating, ranging from approximately
2 V to 5 V, and this can be a problem in some applications. Back to back LEDs are
immune to this problem. These are available in single color as well as bicolor types.
There are various strategies for reverse voltage handling.
4.2.5 Voltage Regulator
The Digilab board can use any power supply that creates a DC voltage between 6
and 12 volts. A 5V voltage regulator (7805) is used to ensure that no more than 5V is
delivered to the Digilab board regardless of the voltage present at the J12 connector
(provided that voltage is less than 12VDC). The regulator functions by using a diode to
clamp the output voltage at 5VDC regardless of the input voltage - excess voltage is
converted to heat and dissipated through the body of the regulator. If a DC supply of
greater than 12V is used, excessive heat will be generated, and the board may be
damaged. If a DC supply of less than 5V is used, insufficient voltage will be present at
the regulators output.
Figure 4.8: Shows positive voltage regulator
If a power supply provides a voltage higher than 7 or 8 volts, the regulator must
dissipate significant heat. The "fin" on the regulator body (the side that protrudes upward
beyond the main body of the part) helps to dissipate excess heat more efficiently. If the
board requires higher currents (due to the use of peripheral devices or larger breadboard
circuits), then the regulator may need to dissipate more heat. In this case, the regulator
can be secured to the circuit board by fastening it with a screw and nut (see below).
4.2.6 Transistor
In electronics, a transistor is a semiconductor device commonly used to amplify
or switch electronic signals. The transistor is the fundamental building block of
computers, and all other modern electronic devices. Some transistors are packaged
individually but most are found in integrated circuits.
An electrical signal can be amplified by using a device that allows a small current
or voltage to control the flow of a much larger current. Transistors are the basic devices
providing control of this kind. Modern transistors are divided into two main categories:
bipolar junction transistors (BJTs) and field effect transistors (FETs). Applying current in
BJTs and voltage in FETs between the input and common terminals increases the
conductivity between the common and output terminals, thereby controlling current flow
between them. The characteristics of a transistor depend on its type.
Figure 4.9: Shows types of transistor
The term "transistor" originally referred to the point contact type, which saw very
limited commercial application, being replaced by the much more practical bipolar
junction types in the early 1950s. Today's most widely used schematic symbol, like the
term "transistor", originally referred to these long-obsolete devices .
In analog circuits, transistors are used in amplifiers, (direct current amplifiers,
audio amplifiers, radio frequency amplifiers), and linear regulated power supplies.
Transistors are also used in digital circuits where they function as electronic switches, but
rarely as discrete devices, almost always being incorporated in monolithic Integrated
Circuits. Digital circuits include logic gates, random access memory (RAM),
microprocessors, and digital signal processors (DSPs).
The key advantages that have allowed transistors to replace their vacuum tube
predecessors in most applications are:
i. Small size and minimal weight, allowing the development of miniaturized
electronic devices.
ii. Highly automated manufacturing processes, resulting in low per-unit cost.
iii. Lower possible operating voltages, making transistors suitable for small, battery-
powered applications.
iv. No warm-up period for cathode heaters required after power application.
v. Lower power dissipation and generally greater energy efficiency.
vi. Higher reliability and greater physical ruggedness.
vii. Extremely long life. Some transistorized devices produced more than 30 years ago
are still in service.
viii. Complementary devices available, facilitating the design of complementary-
symmetry circuits, something not possible with vacuum tubes.
ix. Though in most transistors the junctions have different doping levels and
geometry, some allow bidirectional current
x. Ability to control very large currents, as much as several hundred amperes.
xi. Insensitivity to mechanical shock and vibration, thus avoiding the problem of
microphonics in audio applications.
xii. More sensitive than the hot and macroscopic tubes
i) Switches
Transistors are commonly used as electronic switches, for both high power
applications including switched-mode power supplies and low power applications such as
logic gates.
ii) Amplifiers
4.2.7 Resistor
A resistor is a two-terminal electrical or electronic component that opposes an
electric current by producing a voltage drop between its terminals in proportion to the
current, that is, in accordance with Ohm's law: V = IR. The electrical resistance R is
equal to the voltage drop V across the resistor divided by the current I through the
resistor. Resistors are used as part of electrical networks and electronic circuits .
Four-band identification is the most commonly used color coding scheme on all
resistors. It consists of four colored bands that are painted around the body of the resistor.
The scheme is simple: The first two numbers are the first two significant digits of the
resistance value, the third is a multiplier, and the fourth is the tolerance of the value (e.g.
green-blue-yellow red : 56 x (10^4) ohms = 56 x 10000 ohms = 560 Kohms ±2%). Each
color corresponds to a certain number, shown in the chart below. The tolerance for a 4-
band resistor will be 1%, 5%, or 10%.
Color 1st band 2nd band 3rd band (multiplier) 4th band (tolerance) Temp. Coefficient
Black 0 0 ×100
Brown 1 1 ×101 ±1% (F) 100 ppm
2
Red 2 2 ×10 ±2% (G) 50 ppm
3
Orange 3 3 ×10 15 ppm
4
Yellow 4 4 ×10 25 ppm
5
Green 5 5 ×10 ±0.5% (D)
Blue 6 6 ×106 ±0.25% (C)
7
Violet 7 7 ×10 ±0.1% (B)
8
Gray 8 8 ×10 ±0.05% (A)
9
White 9 9 ×10
Gold ×10-1 ±5% (J)
-2
Silver ×10 ±10% (K)
None ±20% (M)
Table 4.2:Shows the Reading resistance values
CONCLUSION
5.1 Conclusion
Firstly, this is not a simple task to do but by doing this project we learned
something new skills and knowledge. We are putting a high effort for this project so that
it can be successful and useful product to everyone.
We learned so much fruitful knowledge and skills at the ending of this project. We
really get knew about the a project ingredients such as PCB layout, etching, soldering,
and software.
In additional, we also faced a lot of obstacles such as the PCB layout was wrongly
designed, led not light up, the signal cannot transmitted, did know the correct method of
soldering, and so on.
Now days, a lot of work done by robot. This robot are build for a general purpose. It
can be upgrade by connect mini camera and use it as a CCTV, to help people to vacuum
automatically and so on. This robot can move left, right, forward and reverse.
Finally, we would like to say thanks to our beloved lecturers and friends.
APPENDIX
PCB Design
Picture Of Circuit
Motor circuit