motor connection with psoc

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        I have stepper motor and L293D driver ic. I am trying to make project. How to make design I open creator. Which component is used to make motor run. How to create design?   
0 Likes
11 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Here are some motor examples, different PSOC families, but principles the same.

   

 

   

http://www.element14.com/community/thread/25392/l/psoc-4-pioneer-kit-community-project045-stepper-mo...

   

http://www.cypress.com/?rID=49027     Stepper Motor Control

   

http://www.cypress.com/?rID=3983     BLDC Motor Control

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable
        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.   
0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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.

   

Bobgoar

0 Likes
jewac_1336471
Level 1
Level 1
First like given

Saharejay:  Look at the links below to the CY8CKIT-037 Motor Control Evaluation Kit

   

Kit:  http://www.cypress.com/documentation/development-kitsboards/cy8ckit-037-psoc-4-motor-control-evaluat...

   

User Guide: http://www.cypress.com/file/141156/download

   

jeffreywagner

0 Likes
Anonymous
Not applicable

Hello 

   

 

   

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?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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).

   

 

   

Bob

0 Likes
Anonymous
Not applicable

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

thanks alot.

Shai

0 Likes

Just somebody else asked the same question, a co-worker? 😉

My answer:

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

Bob

0 Likes
Anonymous
Not applicable

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.

0 Likes

- 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.

0 Likes