- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Tags:
- motor control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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