I tried to use an L293D to drive 24 V passive buzzer using WeMos ESP8266. But for an unknown reason the L293D explodes or burns even without any load. I'm using 24 V power supply and an MP1584 step down to 5 V to power the WeMos. The connections are as follow:
- pin 1 (EN) and 16 (VCC1) to +5 V
- pin 8 (VCC2) to +24 V
- pin 4, 5, 12, 13 to GND
- pin 2 (INPUT1) to WeMos D4 (GPIO2)
- pin 7 (INPUT2) to WeMos D3 (GPIO0)
- pin 3, 6 to Buzzer
It works for some time: it can drive the buzzer and sound is loud, working properly. But sometimes when powered on the L293D just smoking and the entire circuit dies, including the ESP even without buzzer connected. Here's the schematic:
Is it possible that the chip died because Input 1 and Input 2 HIGH at the same time? It looks like ESP drive the pin HIGH at boot.