 | | Re: Type conversion.
|
|
FEDERICO SANTELLO wrote: <snip> (...) Federico - - Try doing it this way: (it's called a "cast") int temp; float dtemp; temp = 5; dtemp = (float)temp*3.5; printf("dtemp=%f\n",dtemp); Enjoy, - - - Nick - - - (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: color sensors
|
|
I believe that you will find that most photo transistors are sensitive to a very narrow range of frequencies, mostly in the IR range. OTOH a photo resistor is sensitive to a much wider range of frequencies and may be usable with a (colour) filter. (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Type conversion.
|
|
Hi to all. I'm not very practice with IC. My answere are , how can i convert a integer number to a floating point number? I want to make a moltiplication between an intger number and a floating. I make this: int temp; float dtemp; dtemp=temp*3.5; (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Polaroid Sensors
|
|
I just finished wiring up the HB for dual sonar sensors... A couple of problems... The first and most important is the fact that the values returned look to be completely random and often flipping between positive and negative values... Could this (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: IR Sensors
|
|
James - - Here's a link to the QRB1114 data sheet: (URL) limited playing has shown two things: one - the sensor is very sensitive to visible light and therefore needs to be used with an auto-calibrate routine. two - you have to be very selective in (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: IR Sensors
|
|
James - - Here's a link to the QRB1114 data sheet: (URL) limited playing has shown two things: one - the sensor is very sensitive to visible light and therefore needs to be used with an auto-calibrate routine. two - you have to be very selective in (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | SPI .vs. I2C and Documentation
|
|
Hi all, I've been looking for some way to connect multiple devices (Handyboards, other 68HC11's, PIC's, custom devices, & PC's). From what I can find, I2C is the Phillips protocol which is well documented and supported. (Docs, Specilaized chips, (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | rc cars and HB- simple questions
|
|
Hello. I've seen several discussions abot RC cars here, and I have two questions trying to verify my findings. Has anyone ever dealt with Radio Shack rc cars? I bought the one that can move back and forth on tracks and also sideways on wheels. So (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: IR Sensors
|
|
James What you see as black and what is black to IR may be different. I did some experiments for a line following race, and found that some black markers actually made the paper reflect IR better than plain white paper. The conclusion of my (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: color sensors
|
|
I wonder whether there are some phototransistors out there that have peak sensitivity to a small range of the visible spectrum. Preferably to "one color". Can anyone fill in here? ---...--- ericson mar Robotics Consultant mar@cooper.edu (...) (28 years ago, 19-Feb-99, to lugnet.robotics.handyboard)
|