Curious about part choices?

Hi guys. I am building a robot with obstacle/edge detection and avoidance for a school project and I am just curious on if I chose the right parts for the project as I am not incredibly experienced (plus I need some perspectives for the assignment).

Microcontroller: Arduino Nano
Motors: Geared DC (1:48)
Driver: Dual H-Bridge (L298N)
OLED Screen (0.96")
2x Ultrasonic Sensors
3.7v 1100mAh LiPo Battery
Makerverse USB-C LiPo Battery Charger
Metal ball caster
3.7v to 5V step up module
Wheels: 25mm thick, 66mm diameter

I just want to know if these parts will work together or if there is something I should consider :slight_smile:

Thank you for any help!

Welcome!

This sounds like backward engineering. The first thing is to do the design, not buy the components then make them do what you want.

Start by posting your annotated schematic. I can see where they would work but again maybe not very well. Post links to the technical information for each of the hardware devices in your project. What is the time line for this?

The L298 will give you problems, it is an obsolete part. It will drop about 3 volts before powering your motor, that will be wasted as heat.

What is the current requirement of the project and how long must it operate on the battery?

This should get you started.

In general, Trying to use a bitmap display on an ATmega328-based Arduino (like Nano or Uno) can be frustrating, because the libraries take up quite a lot of memory (both flash and RAM.) A Nano Every might be enough, but you should probably consider one of the 32bit Arduinos.

The L298N motor driver has poor efficiency (greater than 1V drop for each side of the driver!) Using it with a 3.7V LiPo will result in ... very little voltage actually making it to the motors. Use a more efficient driver, or double your batteries to 7.4V... (Doing the latter would prevent the need for the step-up module - you could just feed the 7.4V into the Vin of the Arduino (which already has a step-down converter.)

2 Likes

Appreciate the feedback! Will converting the 3.7v lipo to 5v have a small increase in power efficiency?

There are many models of Nano these days, with different features & capabilities. Most run at 5V but some of them run at 3.3V which would be a much better fit for your battery voltage.

Voltage range? Typical running Current and stall current?

You need to be more detailed in your descriptions. These details are important for answering your question.

Provided that @farlokie is happy with text only, not graphics, and fixed font, then there are libraries which can use these displays without consuming too much memory.

No. The overall efficiency will actually be worse.
Is efficiency an important parameter in your project?

Can you buy parts from Sparkfun, Adafruit, Digi-Key or Mouser?

What motor driver would you recommend that has bi-directional control and preferably speed control but not required? I am using two of these motors:
rapidrobotics

The robot doesn't need to be fast, it is just a desk exploring robot so I am not concerned about speed.

Appreciate the help and please ask more questions if you need more information :slight_smile:

How about this one from the same site as your motors?

I wish they revealed which motor driver chip they were using, and/or had a more complete datasheet, but it looks better to me...
Another possibility is the L9110 chip (if you're wanting to to work at chip level.) It looks a bit weak for your motors, but it might work OK.

The problem with the L298 is that it has bipolar darlington driver transistors. A darlington pair introduces a voltage drop of about 1.5V, and since you have one in both the positive and negative sides of the motor, that means the voltage applied to the motor is going to be 3V or more below the supply voltage:

The more modern driver chips use MOSFETs instead, which behave much better.

Wow I really appreciate the help! I will certainly investigate ordering this and once again thank you so much!

See post #6 about where to buy

Ah yep I appreciate that!

Can you buy from those places?
I don't want to recommend a product that costs $1 but will cost you $20 in shipping.

I think I will probably just order from places local to Australia since that will cost roughly $10 in shipping but I appreciate the suggestions anyways.

Core, Little Bird, Jaycar

Tom.... :smiley: :+1: :coffee: :australia:

1 Like