Shop OBEX P1 Docs P2 Docs Learn Events
My Scribbler stall sensor has issues... — Parallax Forums

My Scribbler stall sensor has issues...

RobofreakRobofreak Posts: 93
edited 2008-06-26 16:46 in Robotics
I have had this problem ever since i got the thing... When i program it to do something when the stall sensor is triggered, it keeps false triggering! First, when it triggers, it keeps triggering after that, then after a while, it continues on it's way, then keeps false triggering! I don't get it... Well, if you think you have the solution, i have attached the program.

Post Edited (Robofreak) : 11/4/2007 12:17:08 PM GMT

Comments

  • JDJD Posts: 570
    edited 2007-10-30 21:50
    Which side is your Scribbler giving false triggers on?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Joshua Donelson

    www.parallax.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-10-31 14:27
    This thread is being moved from the BASIC Stamp Forum to the Robotics Forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • RobofreakRobofreak Posts: 93
    edited 2007-10-31 19:30
    I have no idea. I looked at the schematic online, and it looks like it doesn't matter which one is triggered. They are hooked up to the same circuit. There is no way of telling which one is triggering, I don't think...

    Post Edited (Robofreak) : 11/2/2007 3:07:34 PM GMT
  • SkippySkippy Posts: 4
    edited 2008-06-26 12:37
    I am having the same problem with my Scribbler. After trying to write my own code, I loaded one of the sample programs I found on the Parallax web site called CheckStall.bs2. I ran this with the Scribbler in my hands allowing the wheels to spin freely. The value 0 is displayed briefly when it first starts. It then changes to 1 and never goes back to zero. I can then stop the wheels with·my fingers but the value remains 1.·Does anyone have any idea about what I can do to fix this problem?

    Here is the code I am running:

    ' Scribbler PBASIC Programming Guide - CheckStall.bs2
    ' Display stall sensor I/O pin status in Debug Terminal
    ' {$STAMP BS2}
    ' {$PBASIC 2.5}

    DEBUG "Program running!"

    ' I/O Pin Definitions
    Stall····· PIN 7
    MotorRight PIN 12
    MotorLeft· PIN 13

    ' Variable Declaration
    stuck VAR Bit

    ' Motor Initialization
    LOW MotorRight
    LOW MotorLeft
    PAUSE 100

    ' Main Program

    PULSOUT MotorRight, 3000 ' motors full speed forward
    PULSOUT MotorLeft, 3000

    DO······················ ' Put status of Stall I/O pin
    · stuck = Stall········· '· into the variable "stuck"
    · DEBUG HOME, BIN stuck· ' Display binary value of stuck
    · PAUSE 50·············· ' time to read display
    LOOP
  • JDJD Posts: 570
    edited 2008-06-26 16:46
    Robofreak and Skippy,

    If either of you are still having the stall sensor issue with the Scribbler; please contact Technical Support at 888-998-8267 to set up an RMA for testing.·Thank You

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Joshua Donelson

    www.parallax.com

    Post Edited (Joshua Donelson (Parallax)) : 6/26/2008 4:52:26 PM GMT
Sign In or Register to comment.