Robotic car: Arduino uno + Lora + 2×L298N wiring

Hi. I'm making a controlled car using these:
Arduino UNO
Lora ra-02
2× l298n
4x DC motor

Can you please help me with the wiring?

And for powering, 3× 3.7v li-ion batteries are enough ?(motors are 270 rpm)

Do a google search, you will get plenty of options for motor connections with L298 Module.

Those are the worst motor drivers for battery powered (or any really) devices. Their ancient technology is very inefficient. The driver will drop 2V to over 4V of the motor power and dissipate that power as heat.

Pololu (and others) have good modern motor drivers.

That tells the voltage, but not the capacity (mAh). You will need enough capacity to run the motors for the length of time required. Measure the average current that the project uses and multiply that by the required run time. Double that number and that is the capacity that the batteries should have.

You will need to supply the Uno with a well regulated 5V. You may plug a voltage of 7V to 12V into the Vin or power jack, but that will limit the amount of current that is available to the 5V rail. Using a buck converter to drop the higher battery voltage to 5V and connect to the 5V pin is a better way.

3 volt, 4 volt, 5 volt, 6volt, 10 or 100?
How many Amps do they draw?
Datasheet, please.

The specifications of those referred boards do not say how much are their drops at supply volt of 11V and load current of 1.7A. Do you have any idea?

I wonder why that might be?
:roll_eyes:

Look at the L298 data sheet.

Page 3, Vce(sat) total on page 3.

I did. The problem here is that both l298n and ra-02 should connect to the digital pins of arduino. So we must have 2×4 pins for two l298n and 6 pins for ra-02. But there are just 12 digital pins on arduino uno.
I couldn't find any similar project on the Internet.

I am interested about DRV8838.

The analog input pins are digital pins with analog input as a special function. They can be used for anything that any digital pin can be used for.

Looks like a nice driver if your supply voltage is less than 11V and current less than 1.7A.

What is the fully charged voltage of the 3S lipo?

UNO has the following Digital IO pins:
0, 1 : Leave them aside as these are connected with Serial Monitor.
10, 11, 12, 13 : (SPI Port) Leave them for your Ra-02
8, 9 : Also for Ra-02 (why do you you need 6 -pins for ra-02)
4, 5, 6, 7 : for L298-I
A0, A1, 2, 3 : for L298-II

A2, A3, A4, A5 can still be used as DIO pins.

Are they MOSFET-based?

The LoRa RA-02 module is 3.3V logic level, it cannot be wired direct to an Ardunino UNO, which is 5V logic level, you need to add logic level conversion components.

Again, read the data sheet.

Features
• H-Bridge Motor Driver
– Drives a DC Motor or Other Loads
– Low MOSFET On-Resistance: HS + LS
280 mΩ


Sowing MOSFET output drivers.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.