cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

How do I code a motor powered by the PSoC to only run for a certain amount of time?  Can I control the amount of voltage that the motor receives?

0 Likes
Reply
1 Solution
Esteemed Contributor II

The PSoC will not be able to provide the power for a motor, you will need a driver. This you can obtain from your local electronic supplier, preferrably as a breakout-board.

Changing the speed is usually done using PWM (Pulse Width Modulation, see google). This is a component that is available in the PSoC component catalog when you use the Creator as your IDE.

Bob

View solution in original post

0 Likes
Reply
2 Replies
Esteemed Contributor II

The PSoC will not be able to provide the power for a motor, you will need a driver. This you can obtain from your local electronic supplier, preferrably as a breakout-board.

Changing the speed is usually done using PWM (Pulse Width Modulation, see google). This is a component that is available in the PSoC component catalog when you use the Creator as your IDE.

Bob

View solution in original post

0 Likes
Reply
Honored Contributor II

erin,

you will need something like this driver, which can be controlled by PWM signal from PSoC. By varying PWM duty cycle the motor speed can be adjusted. There are other inputs on the board to control direction and enable.

30A mini Motor Shield VNH2SP30 engine driver step Mold Module For Arduino H B9E5 191466613931 | eBay

/odissey1

VNH2SP30.jpg

0 Likes
Reply