To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 6462
6461  |  6463
Subject: 
Re: encoders and analog ports
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 8 Jul 1999 19:13:06 GMT
Original-From: 
Fred Martin <fredm@media.mit.ANTISPAMedu>
Viewed: 
2670 times
  
my shaft encoder routines are not compatible with the old servo routines.

please try the new servo routines at

  http://el.www.media.mit.edu/projects/handy-board/software/libs.html

fred


> hi there
> 
> i'm not yet receiving this list so could any replies please not leave
> out my direct email.
> 
> my problem is thus.
> 
> i've got 5 of the hb's analog ports used by ldr's. they all work fine
> and have done so as line detectors for 3 years now.
> 
> i have just recently ripped a mouse apart and am trying to have a shaft
> encoder.
> 
> this has also been successful to a certain degree. using the hb
> fencdr0.icb i get a nice velocity and everything is fine with the
> encoder part.
> 
> however i've found that having the fencdr0.icb loaded the ldr's which
> are attached to the other analog ports are returning wild readings. if i
> manually in ic, read the sensors analog(1); and such they read back ok.
> but since i have my sensor code in a spawned process maybe this has
> something to do with it??
> 
> so i'm assuming that the fencdr0.icb is somehow interfering with the ldr
> analog readings. spurious readings mean no robot = can't have encoder
> running at the same time. bugger.
> 
> has anyone else every run across this problem. i did a search using the
> cool mailing search provided and was a bit swamped.
> 
> thanks
> aaron.
> --
> _____________________________________________________________________
> Aaron Dwyer
> http://members.xoom.com/aarondwyer
> 



Message has 1 Reply:
  Re: encoders and analog ports
 
thanks fred. i'm now using the servo_a7.icb routines to drive my servo. i am still experiencing problems with the analog ports. i have cascading if then else statements that yield varying responses from my 5 analog ldr's. i have put printf's (...) (27 years ago, 9-Jul-99, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR