This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Wednesday, March 5, 2008

Re: [oopic] PWM freq choice

Thank you for noting that. I was avoiding the R/C signal for no good reason.
I have now tested using the oServo object, and it works very well. I turned
on the exponential, and will now test it with the exponential turned off,
because I think I have a broad 0 point.

However, I have a really interesting result with Position values below 10,
or above 50. The 0 point is right around 30, with values of 40-50 being one
direction, and 10-20 being the other direction. Once I get outside of those
ranges, one track moves at a good speed, while the other track doesn't move
at all. Of course, I can use this for a strange kind of skid-steer turn, but
I don't understand why it is happening at all.

I also tried values for Position higher than the stated range of 63, which
was no different from values around 60. I see two different ranges for
Position in the documentation. In the text, the range is 0-63, but in the
table, the range is 0-127. I don't really care, but I'm curious what is
happening when I get out of range.

Just tested the linnear range, and it is an excellent setting. Still getting
the odd single-wing drag when I get out of the 10-50 range, but excellent
behavior within that range, which is fine with me.

Thank you for all your help, I now have a solution that is pretty much
ideal.

rtstofer wrote:
>
>
>> As for the serial, I'd have to look at that. It sure seems like a
> reasonable
>> way to go, but sending signals isn't really the issue. Getting the
> motors
>> running isn't really the issue, for that matter, that's working
> fine, just
>> getting them to stop is an issue, and the relays will be necessary
> for that.
>
> Read the manual again! If you use R/C mode, the drive will
> automatically stop when you quit sending pulses. That's the failsafe
> feature. Look at the .operate property of the oServo object.
>
> The serial mode will also get the motors to stop.
>
> The only mode that will have a problem is 'analog' because it wants a
> voltge of mid-scale to stop. Given the 'exponential' capability, this
> may be easy to overcome as well.
>
> Richard
>
>
>
>

--
View this message in context: http://www.nabble.com/H-Bridge-issue...maybe.-tp13928519p15864901.html
Sent from the OOPic mailing list archive at Nabble.com.


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: