Infrared distance sensors are useful for measuring distances without actually touching a surface. The three wires protruding from a distance sensor represent +5V (in most cases), Gnd (Ground) and signal. These are almost always color coded with black as ground, red as +V and white or yellow as the signal. If your infrared distance sensor did not come with any wires, you will either need to find the appropriate connector, or solder wires directly to the leads (ensure the pins and solder do not contact one another) so you can attach wires.
Push button and corresponding cables to connect to Arduino
IR Distance sensor (preferably Sharp) and corresponding cable
Appropriate USB cable (Arduino boards draw power from the USB port вІ no batteries yet)
USB to Serial Adapter (if your microcontroller does not have a USB port)
Lesson 7 вІ Sensor: Accelerometer, Gyro, IMU
Lesson 1 вІ Software Downloading / Installing & Interface
Arduino 5 Minute Tutorials: Lesson 4 – IR Distance Sensor & Push Button
Комментариев нет:
Отправить комментарий