 | | Re: Sharp GP2D12 (analog version) troubles
|
|
Gary Thanks for the info. Is it possible to connect and operate more than one GP2D12 to the handyboard at the same time? I wanted to work with four or more at the same time. Thanks, Terry -----Original Message----- From: Gary Livick (...) (27 years ago, 1-Dec-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: Sharp GP2D12 (analog version) troubles
|
|
Terry, I posted this awhile back. Somebody asked the other day about a problem interfacing the Sharp GP2D12. I didn't see an answer, and I just did it myself and solved the problem, so here is how to do it. For those who don't know, Sharp just came (...) (27 years ago, 30-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: Sharp GP2D12 (analog version) troubles
|
|
Hello Alex, I ordered two GP2DO2's from www.acroname.com a while back that worked great and am currently ordering two GP2DO12's. Sorry that I cannot help solve your problem now but please post the solution for the mail list when someone responds. (...) (27 years ago, 30-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Sharp GP2D12 (analog version) troubles
|
|
Hi Recently Got a sharp Gp2D12 IR ranger , for those who dont know it continusly gives a analog value in proportion to the distance to a object. Problem: When I wired it up I got a constant 147-150 no matter were the object was. Unplugged sensor I (...) (27 years ago, 30-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Vector 2X Compass
|
|
Hello - I'm having some trouble figuring out how to wire Precision Navigation's Vector 2X Compass for use with the Handy Board. I've checked out the files in ".../software/contrib/tomb/" on the Handy Board site, but I'm sort of at a loss. Due to the (...) (27 years ago, 30-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: evaluate inverse cosine, sine in IC
|
|
Another technique for finding trig functions and their inverses used by both HP and TI in their calculators is the CORDIC algrorithm. A description of the technique with lots of references can be found at: (...) (27 years ago, 29-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: evaluate inverse cosine, sine in IC
|
|
Taylor series should converge quite rapidly. After 2 or 3 terms, the error is usually neglectable (depending or your demands, of course: this should be fine for up to a few decimals) For those not familiar with the Taylor expansion, I've added a (...) (27 years ago, 29-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: servo program, addendum
|
|
Dear ? The initialization function is: enable_expbd_servos(1); per the latest library routines see handyboard web site. Bart Schrijver. ___...___ Reply Separator ___...___ Subject: servo program Author: Non-HP-dab8rs-85 (dab8rs_85@yahoo.com) at (...) (27 years ago, 29-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: servo program
|
|
Here's a simple program that will make a servo move as the knob on the Handyboard is turned: int i; void main() { init_expbd_servos(1); while(1) { i= knob(); i = (i*10)+1000; printf("val %d\n",i); msleep(20L); servo0 = i; } } (...) (27 years ago, 29-Nov-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: servo program
|
|
Dear ?: First off, your program contains an infinite loop; statement return(0); will never be reached. Also you told it that main does not return a value, yet you used e return in the end. This will generate a compiler error for sure. I belief the (...) (27 years ago, 29-Nov-99, to lugnet.robotics.handyboard)
|