To connect two L293D Motor Driver ICs (Front and Rear) with the Particle Argon board (U2), follow these steps:
Power supply connections:
Connect the VCC1 pins of both L293D ICs (Front and Rear) to the 3V3 pin of the Particle Argon board for the motor driver ICs' logic power supply.
Connect the VCC2 pins of both L293D ICs (Front and Rear) to an appropriate external motor power supply (not the Particle Argon's VUSB or 3V3, as motors draw significant current).
Ground connections:
Connect the GND pins of both L293D ICs (Front and Rear) to the Particle Argon board's GND pin.
Enable pins:
Connect the EN12 pins of both L293D ICs (Front and Rear) to suitable digital pins on the Particle Argon board (e.g., D2 and D3). These pins will be used to enable/disable the motors.
Input pins:
Connect the IN1, IN2, IN3, and IN4 pins of both L293D ICs (Front and Rear) to suitable digital pins on the Particle Argon board (e.g., D4, D5, D6, and D7 for the Front IC; and D8, TX, RX, and SCK for the Rear IC). These pins will be used to control the direction of the motors.
After everything is connected, you'll need to program the Particle Argon board to control the motors via the connected pins. Using the appropriate libraries and functions, you can control the speed, direction, and enable/disable status of the motors.
Yes, you can connect the VCC1 and VCC2 pins of the L293D Motor Driver ICs (Front and Rear) to the Li+ pin of the Particle Argon board, provided that the motors' voltage and current requirements are within the limits of the Li+ pin and the battery connected to the Argon board. The Li+ pin is typically connected to an external Lithium-ion or Lithium-polymer battery.
However, keep in mind that motors can draw significant current, especially under load or when starting. Ensure that the battery can safely supply the required current to prevent damage or potential safety issues.
If you decide to connect VCC1 and VCC2 pins to the Li+ pin of the Particle Argon, your connections in the netlist will be as follows:
@copilot said Yes, adding a large aluminum electrolytic capacitor to the battery pin can help smooth out voltage fluctuations and provide a reservoir of energy for moments when the motors draw significant current. This can improve system stability, especially under dynamic load conditions.
Connect the capacitor in parallel with the battery, close to the L293D motor drivers. Ensure the capacitor's voltage rating is higher than your battery voltage. A typical value for such a capacitor would be in the range of 1000-2000 uF, depending on the size and power requirements of the motors.
Remember to connect the positive terminal of the capacitor to the battery's positive terminal (Li+ pin) and the negative terminal of the capacitor to the battery's negative terminal (GND pin).
For a system with four motors driving 1 Amp max current each at 3.7V, a capacitor value in the range of 1000-2200uF should suffice to help maintain stability during transient current spikes and sudden load changes. You can start by trying a 2200uF capacitor with a voltage rating higher than the battery voltage (for example, a 6.3V or higher voltage rating).
The recommended capacitor value also depends on the battery's own internal resistance, the wiring resistance, and the power demands of the rest of the system. You may need to fine-tune the capacitor value based on the actual performance of your system under various load conditions. Keep in mind that adding a large capacitor is not a substitute for a battery that can support the required current; it's meant to provide extra stability under transient conditions.
3y
3
@docbrown do you know any motors that can be soldered directly to PCB>
Yes, there are motors that can be soldered directly to the PCB. One example is the 304-100 motor which has mounting pins on its body. These pins are placed through holes on the PCB and soldered in place.
3y
1
@docbrown how should I connect two L293D ICs with Particle Argon board
To connect two L293D motor driver ICs with a Particle Argon board, follow these steps:
Connect the power pins of both L293D ICs: Connect VCC1 (pin 16) to the 5V power supply, VCC2 (pin 8) to the motor supply voltage (the voltage rating depends on your motors), and GND (pins 4,5,12,13) to common ground.
Enable the driver channels: Connect EN1 (pin 1) and EN2 (pin 9) to a digital output pin on the Particle Argon, such as D3 or D4. These pins will be used to enable/disable the motor driver channels.
Control the motor direction: Connect IN1 (pin 2), IN2 (pin 7), IN3 (pin 10), and IN4 (pin 15) of each L293D IC to digital output pins on the Particle Argon, for instance, D5, D6, D7, and D8. These pins will be used to control the direction of the motors.
Connect the motors: Attach each motor to the corresponding output pins on each L293D IC (OUT1, OUT2, OUT3, and OUT4).
Please refer to the datasheets and pinouts of the L293D motor driver IC and Particle Argon development board for proper connections.
To connect two L293D Motor driver SubModules with a Particle Argon board, follow these connections:
First L293D Motor driver SubModule (Front)
Connect Front:VCC1 to U1:3V3 (3.3V for the motor driver's logic supply).
Connect Front:VCC2 to your motor power supply (e.g., battery or regulated voltage).
Connect Front:GND to the common ground (U1:GND and your power supply's ground).
Connect Front:EN12 and Front:EN34 to two available digital pins on Argon (e.g., U1:D3 and U1:D4).
Connect Front:IN1, Front:IN2, Front:IN3, and Front:IN4 to four available digital pins on Argon (e.g., U1:D5, U1:D6, U1:D7, U1:D8).
Second L293D Motor driver SubModule (Rear)
Connect Rear:VCC1 to U1:3V3 (3.3V for the motor driver's logic supply).
Connect Rear:VCC2 to your motor power supply (e.g., battery or regulated voltage).
Connect Rear:GND to the common ground (U1:GND and your power supply's ground).
Connect Rear:EN12 and Rear:EN34 to two available digital pins on Argon (e.g., U1:A0 and U1:A1).
Connect Rear:IN1, Rear:IN2, Rear:IN3, and Rear:IN4 to four available digital pins on Argon (e.g., U1:A2, U1:A3, U1:A4, U1:A5).
With these connections, you can control each motor's speed and direction using the enable and input pins connected to the Argon board. You may need to adjust the pin assignments based on your specific project or preferences.
vasy_skral
copilot
vasy_skral
copilot
vasy_skral
copilot
vasy_skral
copilot