RCTIME question...
Well, I'm going to ask a question here, but I am not sure I am asking it in the right way....
I have purchased my mini thumb joystick, from Trossen Robots, and it really is a nice little joystick.· With that in mind, and using RCTIME for the BS2 to figure the resistance...with the 10K pot in the joystick, with center being 5K, what do you think would be the smallest capacitor to use, inorder to maintain a high polling or resolution rate.· Center being neutral, and the usual forward, reverse, left and right turn.· I have read all the stuff that Parallax says about RCTIME, but I was just wondering if any of you stampers have tried values for capacitance.
In all the years of messing around with the stamp, and building many different devices, I have never had the need to use RCTIME...isn't that something!
I have bought Linx's HP3 series transmitter and receiver, which will transmit the joystick data out··to Robo Caddy for control.· The follow me ultrasonics work very well, but I find myself always looking behing me to see if Robo is on course.· I think it would be better to have him/her? out in front of me...anyway, looking for some advice on the above...
Thanks...deno
PS...sorry, I forgot to add a subject line to the post...
Post Edited (deno) : 10/24/2008 11:56:47 AM GMT
I have purchased my mini thumb joystick, from Trossen Robots, and it really is a nice little joystick.· With that in mind, and using RCTIME for the BS2 to figure the resistance...with the 10K pot in the joystick, with center being 5K, what do you think would be the smallest capacitor to use, inorder to maintain a high polling or resolution rate.· Center being neutral, and the usual forward, reverse, left and right turn.· I have read all the stuff that Parallax says about RCTIME, but I was just wondering if any of you stampers have tried values for capacitance.
In all the years of messing around with the stamp, and building many different devices, I have never had the need to use RCTIME...isn't that something!
I have bought Linx's HP3 series transmitter and receiver, which will transmit the joystick data out··to Robo Caddy for control.· The follow me ultrasonics work very well, but I find myself always looking behing me to see if Robo is on course.· I think it would be better to have him/her? out in front of me...anyway, looking for some advice on the above...
Thanks...deno
PS...sorry, I forgot to add a subject line to the post...
Post Edited (deno) : 10/24/2008 11:56:47 AM GMT
Comments
The Stamp Manual chapter on RCTIME discusses the size of the capacitor. The value reported by the RCTIME statement is a time for charge or discharge. If that time becomes too long (because the capacitor is too large), you won't get the polling rate you want. If the capacitor is too small, you won't get the resolution you want because the range of times is too small. Like everything, you'll have to compromise based on the performance you want.
Deno