Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have a psoc 3 and microcontroller compatible H bridge and I was interested in driving the motor in the usual manner of forward and reverse direction. Id like to get into using PWM and was wondering if you guys know of any sample projects that allow me to vary PWM Period via the PC maybe using UART etc or maybe use the built in potentiometer on the posc dev board?
When starting Creator 3.3 you will find an item on the start page "Find Example Project". From here you may select PSoC3 and PWM, ADC example and some more. Combine those solutions to get what you want using cut&paste.
Here is a program you can work on it has the PWM for directions speed controls and UART. It uses an Arduino shield for the motor drive circuit. Check these out at Amazon under motor drive modules. Changes to the code will be necessary as this program was original made for the PSoC 4200.