I am making a PCB for robot car using AT Mega 8 MCU with following feachers
AVRISP 10 pin Port
5 Volt DC converter Using 7805 IC
10 uH inductor for DC voltage filtering
Reset switch
LED for power indicator
Power On/Off Switch
On board crystal oscillator
16 * 2 LCD (in 4 bit mode)
Connection details of LCD module
Pin no 4 (RS) to PC2
Pin no 5 (R/W) to GND
Pin no 6 (E) to PC1
Pin no 11 (DB4) to PC0
Pin no 12 (DB5) to PB5
Pin no 13 (DB6) to PB4
Pin no 14 (DB7) to PB3
4 pin Serial communication port TTL only (+5 , GND, RxD,TxD)
PD0 /RxD is shared with 38kHz Infrared receiver module
PD1/TxD is shared to drive an indicator LED-1 with current-limit resistor
L293D Dual DC Motor Controller with speed controller using PWM & using single pin with inverter for direction control
Connection details of L293D
Pin no 1 (1,2 EN) to PB1/OC1A
Pin no.9 (3,4 EN) to PB2/OC1B
Pin no 2 (1A) to PD6 (directly)
Pin no 7 (1B) to PD6 (using single transistor inverter)
Pin no 10 (2A) to PD7 (directly)
Pin no 15 (2B) to PD7 (using single transistor inverter)
2 PUSH BUTTON SWITCHS
PD2/INT0 to Switch-1
PD3/INT1 to Switch-2
Piezo Speaker to PD4/T0
Indicator LED-2 to PB0
3 Sensor Input (Can be use for line sensor or Analog input)
PC3, PC4 & PC5
Remaining one pin PD5 can be used do drive servo motor on which we can mount any sensor
I have taken some idea from Microcamp ATmega 8 activity kit
I am still confused between L293D & L298 the motor controller ICs
Which one is a better choice?
If you have any suggestion about the board please let me know


Reply With Quote