Is It Possible to Power a Motor Module with a Type-C Cable?

0
Asked By GadgetGuru88 On

Hey everyone! I'm working on a project where I'd like to power a motor module using a Type-C cable. My setup involves a central "command" hub that has a Type-C port and its own power delivery system powered by a 2S 3.7V Li-Po battery. The motor module also has a Type-C port and contains a motor with an encoder, a driver, a small MCU, and a voltage booster.

The idea is that the hub can send 5V/3A to the motor module via the Type-C's VBUS while sending control instructions through the D+ and D- pins. The module will manage the power and interface with the MCU for motor control, and the encoder will send data back to the hub for processing.

I'm looking for feedback and tips to make this concept work! Thanks in advance!

2 Answers

Answered By TechSavvyJo On

Honestly, the whole idea sounds a bit risky to me. Just think about the potential for issues, like frying your setup! That being said, if you're using proper protection and not cutting corners, maybe it could work out. Just make sure everything is set up really well to avoid any damage!

GadgetGuru88 -

I appreciate your concern! Just to clarify, I'm not planning to use my PC for power. I’ll utilize a solid power delivery system with a LiPo and BMS to prevent any back-current issues. I'm keen on learning from everyone else's experiences!

Answered By WireWiz23 On

This is a cool project! Just a heads-up on a few things:

- **USB-C Power Levels:** Make sure that your hub can actually negotiate to deliver 5V at 3A. Many ports will default to lower current unless they’re set to advertise higher capabilities. You might want a PD trigger chip to help with this!
- **Data Communication:** If you're using the D+/D- USB lines, you’ll need to ensure you're treating them correctly as a USB device/host unless you want a simpler protocol like UART over different lines.
- **Noise Management:** Motors can create a lot of electrical noise, so keep the power and logic grounds separate and consider adding some filtering to maintain clean USB signals.
- **Encoder Feedback:** Just ensure your MCU can handle the feedback from the encoder quickly to avoid any lag in communication. It’s totally doable if you prepare for these factors!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.