Search found 5 matches

by larry
Mon Apr 01, 2019 4:06 pm
Forum: General Discussion
Topic: MCP236 latency
Replies: 3
Views: 5328

Re: MCP236 latency

Hi, I'm not sure if it is the maximum acceleration limits. I tested PWM input, and that has around 20ms response. My test setup: MCU Sends pwm signal and turns on an LED, and I film it using my iPad's 240fps camera (which gives me a 4ms time resolution). The motor does not move at all for 4 frames, ...
by larry
Mon Apr 01, 2019 1:41 pm
Forum: General Discussion
Topic: Need help setting PWM input
Replies: 5
Views: 6498

Re: Need help setting PWM input

Hi, I figured out a solution to my problem. I have to disable the encoder for the motor, for it to be 'current/voltage' control. I had an encoder connected to the motor controller, and had MCP configured to use it. This is not very intuitive and not explained anywhere in your manual. In the PWM sett...
by larry
Sun Mar 31, 2019 8:00 pm
Forum: General Discussion
Topic: MCP236 latency
Replies: 3
Views: 5328

MCP236 latency

Hi, I have an MCP236 controlling a voice coil. I need a fast response time in my control. However, I am seeing 80+ms latency in any sort of commands that I issue over serial. I also tried writing a simple script that activates the voice coil on an analog input. The latency on that was also 80ms. Is ...
by larry
Sat Mar 30, 2019 9:56 pm
Forum: General Discussion
Topic: Need help setting PWM input
Replies: 5
Views: 6498

Re: Need help setting PWM input

Hi, Thanks for the reply. Using the values 0, 42000, and 84000 I got the command to read a value that looks good. However, now I am having an issue getting the value to do anything. The mode options are: "position", "percent", "instant velocity", and "average veloc...
by larry
Fri Mar 29, 2019 9:48 am
Forum: General Discussion
Topic: Need help setting PWM input
Replies: 5
Views: 6498

Need help setting PWM input

Hi, I have the MCP236 controller, and I would like to control the motor torque (current) using a PWM input signal. I have a microcontroller (nucleo STM32F103) that is generating a PWM signal at 1khz (1ms period). In the motion studio, I have tried setting the lowpass anywhere from 2-10. However, I a...