Shop OBEX P1 Docs P2 Docs Learn Events
RCTIME question... — Parallax Forums

RCTIME question...

denodeno Posts: 242
edited 2008-10-24 13:15 in General Discussion
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

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-24 04:19
    Please add a subject to your thread. Click on the pencil icon in the right upper corner of your first message box.

    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.
  • denodeno Posts: 242
    edited 2008-10-24 11:56
    Thank you Mike, and I am sorry about the blank subject line...oversite on my part.· Thank you for the capacitor advice...which is what I thought...trial and error..

    Deno
  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-24 13:15
    It's not really trial and error. Read the chapter in the Manual.
Sign In or Register to comment.