Shop OBEX P1 Docs P2 Docs Learn Events
Question about The Encoders Board that is in the ( Motor Mount and Wheel Kit + — Parallax Forums

Question about The Encoders Board that is in the ( Motor Mount and Wheel Kit +

sam_sam_samsam_sam_sam Posts: 2,286
edited 2010-01-31 19:45 in Robotics
This will the first time that I have use a Encoders board· and the· HB-25 motor controller

This very new to me Please forgive me for asking these easy Questions

I have a question about the· Encoder board that interfaces with a·HB-25 motor controller

These·CON values that are they fixed and which ones
··
What is the Different between TRVL + Wheel VS QPOS + Wheel

What I want is amount of ON and OFF from the Encoder and work from there

·I will only use one Motor and one Encoder for a Project that i am working On

Here is what I want to is when the Motor has move

Let say

CW to ·50 pulse then slow the motor dow to a craw then when it get 60 pulse then come to a stop

PAUSE 30000

NEXT

·start at 60 P going CCW to 50 pulse then slow down to a craw to 0 then stop

There more to it than this is what i want to start with
QPOS CON $08 'Query Position 
QSPD CON $10 'Query Speed 
CHFA CON $18 'Check for Arrival 
TRVL CON $20 'Travel Number of Positions 
CLRP CON $28 'Clear Position 
SREV CON $30 'Set Orientation as Reversed 
STXD CON $38 'Set TX Delay 
SMAX CON $40 'Set Speed Maximum 
SSRR CON $48 'Set Speed Ramp Rate 


GoDistance: 
SEROUT CommPin, BaudValue, [noparse][[/noparse]TRVL + Wheel] 
SEROUT CommPin, BaudValue, [noparse][[/noparse]Distance.HIGHBYTE, Distance.LOWBYTE] 
RETURN 
DisplayPosition: 
SEROUT CommPin, BaudValue, [noparse][[/noparse]QPOS + Wheel] 
SERIN CommPin, BaudValue, [noparse][[/noparse]RxData.HIGHBYTE, RxData.LOWBYTE] 
DEBUG SDEC RxData 
RETURN 



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 1/30/2010 12:01:50 AM GMT

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2010-01-31 19:45
    Is there anyone on the forum that has play with kit to give me this info

    I would try this my self but I have to modifying· skull.gif· the Encoder Board· skull.gif·to use it in the Project that·I am working and·I know that VOIDs the warranty One note I did not buy the wheel kit I only bought the Encoder Board·only I will also use the HB25 Motor Controller

    On the part...........oh well

    The·Encoder Wheel on this (ITEM) <<<...(not a Parallax Item)..>>> ·is wider than the space on the Encoder Board· that why I have modify the board I· am putting the Encoder on a board by it self and then hook it the Encoder Board· I hope this ·idea.gif·is not in VANE

    ·All I can say is that get it to work Or I have wasted some time and money on this Hack


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 1/31/2010 7:52:49 PM GMT
Sign In or Register to comment.