New to electronics and working on hobby project. I am following a circuit diagram I found online where an L298N/L293N motor driver is used to drive an array of speakers. I have some issues with figuring out the following:
I have assumed I can regard a speaker array as one (1) motor and only need to have motor A active for this (not motor B), is this correct?
Does anyone know if IN1/IN2 should be wired as GND/5V or 5V/GND?
That's weird. The speaker may be an inductive load but it is NOT a motor and at the very least it's a very bad idea to run DC through it. Why not use an audio amplifier for example one of the PAM series. There are many useful but also very stupid things on the Internet, and even some dangerous ones. Do not take everything written as necessarily true.
I would think it would be bettor to set enable high and drive IN1/IN2 with complimentary PWM signals. That way you don'r have DC going through the speaker and you get twice the power.
I do not use that part and am not very familiar with it but If I understand what you are saying as long as there is a PWM the OP will not have DC on the speaker but what happens if the PWM is stopped?
First, finish working with L298N Driver and then come with L293D driver which is a shiled and directly goes over the UNO Board. The operation of L293D board is a bit diffrent/complicated than L298N