Search  
Sunday, November 23, 2008 ..:: Forum ::.. Register  Login
 HomePage Minimize

 Print   

 Products Minimize

 Print   

 MSRS Minimize

 Print   

      
 RoboticsConnection Forum Minimize
SearchForum Home
  Discussions  Serializer Robot Controller  PWM frequency -...
 PWM frequency - HOWTO change value
 
 2/11/2008 5:30:25 AM
ossama
2 posts


PWM frequency - HOWTO change value
Hi,

Can anybody please help me.

I would like to change the value of the PWM (default 20KHZ) in the serializer to another value,
The reason being, is that i have purchase a traxxas stampede and the PWM of the ESC (electronic speed control XL-5) is PWM Frequency: 1600 Hz.

I am stuck. I have looked at changing the pwm using the comand
PWM 1:20
but the speeds  are way too high (30mph hehe) no matter what value the command is

Thanks
 2/11/2008 9:36:29 AM
ringo
36 posts


Re: PWM frequency - HOWTO change value

Unfortunately there is no way to change the frequency the PWM works at. The only thing you can do is change the Duty cycle, which is what the PWM command does. The only way to lower the PWM freq is to use an external counter or divider. There is one at BaneBots.com that you can purchase that will divide a signal down by 2,4,8, or 16.

 

Are you saying that even a command of PWM 1:1, or 1:5 make the ESC run at full speed?

 

Ringo

 

 

 


Ringo Davis, Hardware Technical Lead RoboticsConnection.com
 2/11/2008 1:05:28 PM
ossama
2 posts


Re: PWM frequency - HOWTO change value
Yes even the smallest value of PWM 1:1 makes the ESC run at full speed.

can the processor be reporgrammed with a smaller value, or this is not possible?
 2/11/2008 1:11:40 PM
ringo
36 posts


Re: PWM frequency - HOWTO change value

The problem with changing the freq is that it might affect other systems. The PID, Servo, sonar, etc all use internal timers and I will have to dig to see what is linked to what. Let me see if it will go that slow, there is a limit as to how slow it can go, but I'm not sure what it is right now.

 

Ringo

 


Ringo Davis, Hardware Technical Lead RoboticsConnection.com
  Discussions  Serializer Robot Controller  PWM frequency -...

SearchSearch  Forum HomeForum Home    Print   

Copyright 2004-2007 Summerour Robotics Corp   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by DotNetNuke Corporation