Acrob047: Rozdiel medzi revíziami
Zo stránky SensorWiki
Nová stránka: == How to connect LEGO Mindstorms NXT Ultrasonic Sensor to the Arduino. == Obrázok:NXT_UltraSonicSensor.jpg Thanks to Kristian Lauszus from Denmark it finally works. Schemati... |
Bez shrnutí editace |
||
(Jedna medziľahlá úprava od rovnakého používateľa nie je zobrazená.) | |||
Riadok 8: | Riadok 8: | ||
[[Obrázok:NXT_UltraSonicSensor_Arduino_Schematic.png|center]] | [[Obrázok:NXT_UltraSonicSensor_Arduino_Schematic.png|center]] | ||
[[Obrázok:NXT_UltraSonicSensor_Arduino_Photo.png|center|300px]] | |||
Note: Sensor will work also with +9V connected to +5V but with smaller range. | |||
Software and description is available from: http://blog.tkjelectronics.dk/2011/10/nxt-shield-ver2/ | Software and description is available from: http://blog.tkjelectronics.dk/2011/10/nxt-shield-ver2/ | ||
Note | Note: You will need '''modified''' [http://blog.tkjelectronics.dk/wp-content/uploads/i2cmaster.zip i2cmaster library available from here]. | ||
Uploading the demo program You should obtain results like this: | Uploading the demo program You should obtain results like this: |
Aktuálna revízia z 11:06, 4. marec 2012
How to connect LEGO Mindstorms NXT Ultrasonic Sensor to the Arduino.
Thanks to Kristian Lauszus from Denmark it finally works.
Schematic diagram:
Note: Sensor will work also with +9V connected to +5V but with smaller range.
Software and description is available from: http://blog.tkjelectronics.dk/2011/10/nxt-shield-ver2/
Note: You will need modified i2cmaster library available from here.
Uploading the demo program You should obtain results like this:
V1.0 LEGO Sonar 10E-2m 22 19 19 20 Error Reading Distance 21 19 20