5v dc drops to 2v when applied to L293d
The L293D has separate supplies for logic (pin 16) and H-bridge (pin 8). Use a 7805 to power the logic, and power the H-bridge straight from your power source. If you power the H-bridge from the 7805, then the 7805 will overheat and go into shutdown.