8.16.2009

sharp infrared distancing


these sharp infrared sensors are very easy to hookup! just plugin the ground, power, and pulse-width modulation cables (analog in) and firmata will read it straight off the pin. however, you might run into problems if you're using firmata to transmit your ping))) ultrasonic range finder because it is digital input. if you're sending a single signal from arduino to processing, dont worry about it :)

*tip: in your Firmata.sendAnalog() add an extra sendAnalog signal. your processing script will pick up this phantom analog signal even though it doesn't exist on the arduino board.

No comments:

Post a Comment