| | Re: Sensor Connector Brendan O'Hare
|
| | (...) Actually what I was looking for was how to make the male header pins to connect to the HB. Is there anywhere to buy them or how did you make them. Thanks for your answer, brendan (23 years ago, 6-Feb-02, to lugnet.robotics.handyboard)
|
| | |
| | | | Re: Sensor Connector Sam Weiss
|
| | | | (...) Oh, that's easy. Just check out your local electronics store. I don't know if there is a Fry's Electronics in your area, but they have them. Radio Shack? I don't know, but I would assume anyone who sells electronic components would have them. (...) (23 years ago, 6-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | | | Re: Sensor Connector Fred G. Martin
|
| | | | Info on doing this is at (URL) . The male strip header is 929400-01-36-ND from Digikey. Fred (...) (23 years ago, 6-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | | | Re: Sensor Connector Brendan O'Hare
|
| | | | (...) Thanks, I thought there might be a special connector but I see now that its a standard enough connector. Another question: How can I get the handy board to read from the lego rotation sensor and the lego light sensor? I can get the touch (...) (23 years ago, 7-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | | | Re: Sensor Connector Fred G. Martin
|
| | | | | The LEGO shaft encoder and light sensor are active sensors that need a special circuit. The Expansion Board for the HB provides this ckt and the requisite drivers. Your simplest path to using these with the HB is to get an Exp Bd. Barring that, you (...) (23 years ago, 7-Feb-02, to lugnet.robotics.handyboard)
|
| | | | | |
| | | | | | Interactive C Brendan O'Hare
|
| | | | (Perhaps this isn't the right place to ask questions about I.C. but it is related to the handy board so I will continue) I am trying to write a program that uses the lego sensors and multiplies them by constants that are floats. The expansion board (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | | | Re: Interactive C Fred G. Martin
|
| | | | You have to coerce the int to a float, e.g: int i= 7; float j= 3.; float result; result = j * (float)i; The above should work. Please let me know if not. Fred (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |