Beruflich Dokumente
Kultur Dokumente
113
All Rights Reserved © 2017 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 1, January 2017
A. DC Motor
void LEFT()
{ //left motor
Fig 2.1 Motor Driver
PORTB.0=0;
C. DC Motor
A DC motor is any of a class of electrical PORTB.2=1; // enable
machines that converts direct current electrical
PORTB.4=1; // right motor
power into mechanical power. The most common
types rely on the forces produced by magnetic PORTB.5=1;
fields. Nearly all types of DC motors have some
internal mechanism, either electromechanical or PORTB.6=0; // enable
electronic, to periodically change the direction of
current flow in part of the motor. Most types PORTB.7=0;
produce rotary motion; a linear motor directly
}
produces force and motion in a straight line.
DC motors were the first type widely used, since The above function is used to move the robot in
they could be powered from existing direct-current left direction.
lighting power distribution systems. A DC motor's
speed can be controlled over a wide range, using if
either a variable supply voltage or by changing the (PIND.4==1&&PIND.5==1&&PIND.6==1&&PIN
strength of current in its field windings. Small DC D.7==1)
motors are used in tools, toys, and appliances.
{
The universal motor can operate on direct current
but is a lightweight motor used for portable power FORWARD ( );
tools and appliances
}
B. PROTEUS ISIS
114
All Rights Reserved © 2017 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 1, January 2017
U2(VCC)
U2(VS)
SW4 SW2
The simulated design consists of two dc
SW-SPDT SW-SPDT
5
7
IN1 VCC VS
2 SW1
10
IN2 OUT1 SW3
IN3
12 3
6
11
1
IN4
ENA
ENB
OUT2
OUT3
13
14
SW-SPDT
SW-SPDT board.
SENSA OUT4
15
SENSB GND U1
9 22
RESET PC0/SCL
8 L298 23
PC1/SDA
12 24
XTAL1 PC2/TCK
13 25
XTAL2 PC3/TMS
26
PC4/TDO
40 27
PA0/ADC0 PC5/TDI
39 28
PA1/ADC1 PC6/TOSC1
38 29
PA2/ADC2 PC7/TOSC2
37
PA3/ADC3
36 14
PA4/ADC4 PD0/RXD
35 15
PA5/ADC5 PD1/TXD
34 16
PA6/ADC6 PD2/INT0
33 17
PA7/ADC7 PD3/INT1
18
PD4/OC1B
1 19
PB0/T0/XCK PD5/OC1A
2 20
PB1/T1 PD6/ICP1
3 21
PB2/AIN0/INT2 PD7/OC2
4
PB3/AIN1/OC0
5
PB4/SS
6
PB5/MOSI
7 32
PB6/MISO AREF
8 30
PB7/SCK AVCC
ATMEGA16
4. FUNCTIONAL DESCRIPTION
115
All Rights Reserved © 2017 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 1, January 2017
5. RESULT
6. CONCLUSION
References:
116
All Rights Reserved © 2017 IJSETR