Professional Documents
Culture Documents
Circuit Manual PDF
Circuit Manual PDF
Program the IC to switch on and off the LED after certain time intervals.
In ST_13 Dev Board 8 linear LED arrays are provided that are internally
connected to PORTB of ATmega16.
Program the IC to display different LED Pattern Using the PORT B I/O pins.
Experiment 3:-DC motor control using Driver L293d:Connect any two I/O pins of atmega16 with the input pins of motor driver L293d i.e.,
Direction 1-A and Direction 2-A.
In ST_13 Dev Board PB.0, PB.1, PB.2 and PB.3 are connected internally to input pins of
L293d.
Connect enable pins (Pin no-1 and 9) and VCC1 (Pin no-16) with constant +5V and
ground as shown in fig.
Connect the output pins of L293d with the terminals of the motor.
Give +9V to VCC2 (Pin no-8).
Write a code to so as to make PB.0 high and PB.1 as low and note the direction of
rotation of motor.
Now interchange the connection and note the change in direction of rotation.
Now make both the pins as high (low) and observe the locking effect in motor.
In st_13 DEV board a slide switch is used so that we can also use PWM in motors.
In PWM mode both enable pins are connected to TIMER OC2 Signal. Hence we can vary
the speed of motor also.
In ST_13 Dev Board, six 3-pin connector is given to interface with IR sensor as well as
other sensors also.
These connectors are internally connected to PORTA (PA.0-PA.6) so that we can use
internal ADC of ATmega16.
Following is the circuit diagram of i3indya IR Sensor.
Connect a Buzzer to any Pin of input/output Port (A, B, C, D) say PB0 of ATmega16.
Connect the positive end of Buzzer to the pin and the negative end to ground as shown.
Program the IC to switch on and off the Buzzer after certain time intervals.
In ST_13 Dev Board Buzzer is internally connected to PA.7 pin of ATmega16.
Make PC0 as input pin and program the IC to control the LED with switch.
Similarly on board 8 linear LED can be controlled using a 4*4 keypad matrix provided in
ST_13.
Now integrates as many switches and LEDs as you want and glow them using switches
by making changes in program code.
I3indyas USART Board is used for serial communication between computer and
ATmega16.
This Board has on-board MAX232 IC and DB9 female connector.
In ST_13 Dev Board there is a separate 4 pin connector for interfacing with USART
Board.(as shown in fig.)
USART board has on-board 4-pin connector .Connect it to ST_13 Dev Board using 4 pin
female relimate connector.
We will have to use serial cable (USB to SERIAL) with adopter to make communication
between computer and ATmega16.
Both transmitter and receiver board have 9 pin DPDT switch to make addressing
mechanism i.e. both Tx and Rx should have same addressing to sustain communication.
Recover Board have 4 LEDs indicator.
Both Boards have 4-pin on-board connector which can be interfaced with any i/o pins of
ATmega16.