CPX and L298N

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jorge77
 
Posts: 18
Joined: Sat Nov 25, 2017 3:21 am

CPX and L298N

Post by jorge77 »

Hello,

I have some of the yellow gear motors and an L298N driver. The driver has a 5v out.

Can I power the CPX from that?

I'm trying to build a small robot for my students to use in class. I promised them, so now I have to deliver.

Driver
https://des.BANNED.com/uploads/2015/201 ... 392181.JPG

Motors. They came with this kit. I want to make 2 small robots from it. I have 2 L298Ns.
https://www.jdchips.co.uk/files/product ... -kit-1.jpg

I also have some L9110 on the way but I don't know when they will arrive. China is closed at the moment.
http://img.dxcdn.com/productimages/sku_153951_1.jpg

I'm learning as I go as well.
Thanks.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: CPX and L298N

Post by adafruit_support_mike »

You should probably be able to use the 5V output from that, yeah.

The Circuit Playground has its own 3.3V regulator, so you shouldn't have to worry about voltage noise from the motors.

User avatar
jorge77
 
Posts: 18
Joined: Sat Nov 25, 2017 3:21 am

Re: CPX and L298N

Post by jorge77 »

Cool! Thanks!

User avatar
jorge77
 
Posts: 18
Joined: Sat Nov 25, 2017 3:21 am

Re: CPX and L298N

Post by jorge77 »

It didn't work. I measured and have 5v coming out of the driver but when I plug the CPX, it won't turn on. Tried all my CPXs and the same.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: CPX and L298N

Post by adafruit_support_mike »

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

User avatar
jorge77
 
Posts: 18
Joined: Sat Nov 25, 2017 3:21 am

Re: CPX and L298N

Post by jorge77 »

Had an Aha! moment in class.
I think I got it.
On the left is the cable and connector I bought and on the right is the Adafruit battery box.

Polarity was flipped. Thanks for the protection!
Attachments
Cable.jpg
Cable.jpg (101.77 KiB) Viewed 565 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: CPX and L298N

Post by adafruit_support_mike »

That would do it. Glad to hear you found the issue.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”