Consider starting here -
PSOC Starter Videos
http://www.cypress.com/video-library/PSoC/psoc-3-and-psoc-5-overview/106841?tid=38136&sort_by=created&page=1 PSoC 3 and PSoC 5 Overview
http://www.cypress.com/video-library/PSoC/building-block-solutions/106811?tid=38136&sort_by=created&page=1 PSOC Building Block Solutions
http://www.cypress.com/video-library/PSoC/psoc-digital-functionality/106816?tid=38136&sort_by=created&page=1 PSoC Digital Functionality
http://www.cypress.com/video-library/PSoC/psoc-today-digital-filtering-psoc-part-i/106566?tid=38136&sort_by=created&page=2 PSoC Today! Digital Filtering with PSoC Part I
http://www.cypress.com/video-library/PSoC/an52705-using-dma-psoc-3-and-psoc-5/106646?tid=38136&sort_by=created&page=2 AN52705- Using DMA on PSoC® 3 and PSoC 5
Here are some motor examples, different PSOC families, but principles the same.
http://www.cypress.com/?rID=49027 Stepper Motor Control
http://www.cypress.com/?rID=3983 BLDC Motor Control
Components Used: The project uses the following list of Creator Components: PWM Control Register CyClock CyPin Should I need more component or it is OK. Why we using PWM control register.
Sahareajay: You can purchase the motor drive board from Amazon for $9.95 part number 20-011-914. Attached is the schematic for the board. Connect just 4 wires from the PSoC 4 Pioneer board to the Motor drive card and you are ready to go. The two PWMs control the pulses, Speed and the Control reg the direction. These output are feed into the Stepper control board and that drives the Stepper motor speed and direction. The orginal ARduino shield board is no longer manufactured. But they have similar ones on Amazon for less than the original board price.You will need to move the Jumper J9 to 5 Volts to drive this board.
Saharejay: Look at the links below to the CY8CKIT-037 Motor Control Evaluation Kit
User Guide: http://www.cypress.com/file/141156/download
I am using PSOC4200 BLE pioneer Kit
I would like to interface my board with a stepper motor without the arduino sheild.
What should i do?
I suppose it is not a good idea ti hijack a rather old thread. To address the right people I would suggest you to create a new topic in the BLE forum (the topmost one).
Hi, i just startted working with my cypress kit (psoc5lp). i am looking for a code example to control a biopollar step mottor. if anyone can direct me to where i can find an example code, with some instructions
Just somebody else asked the same question, a co-worker? ;-)
Basically you need
- PWM which must be programmed for the stepper frequency
- Counter to stop the motor when the required number of steps is reached
- Interrupt at end of a programmed number of steps done
- some glue logic and clock syncs
- provision for safe enable during power-up
- logic to start a programmed number of steps
You will need a PSoC5 LP or a PSoC442xx to use some UDBs for the glue logic
Yes, it problay was a co worker. Do you have a working code or some kind of
refrence that we could start with?
Thanks a lot for your response.
- please do not hijack an old thread for your new question, open a new thread (with a proper title). That way more people get to see it.
- look at the other thread - the Adafruit page for your motor driver already has a great tutorial on how to drive a (stepper) motor.