to simplify I have first explained separately LCD interfacing hex keypad interfacing ,motor interfacing with L293D
so Lets get Started !!!
Step 1: Materials required
I assume u have basic knowledge of 8051 programming in assembly
Step 2: Interfacing DC motor -L293D
As you can see in the circuit, three pins are needed for interfacing a DC motor (A, B, Enable). If you want to control speed enable pin is connetcted to the PWM pin of microcontroller . I have connected only one motor and used the enable pin to contol the speed of dc motor.