Arduino 101

WARNING: This page is for archival purposes only. Some links may be broken, guides may be outdated, and software extensions for App Inventor may be old, resulting in non-functioning apps. For our latest IOT materials, please click here.

Archived

Arduino101ProximitySensor

The Arduino 101 Proximity Sensor lets users receive data from a infrared proximity sensor. Note that the signal wire on the Grove header may be off by one pin. If you are not receiving any reading from the sensor, you may need to increase the pin number by one (A0 becomes A1) to read the correct pin. The Arduino sketch transforms the raw reading from the sensor into a distance in centimeters based on the spec sheet published by Sharp.

More Links

Properties

get Arduino101ProximitySensor1 BluetoothDevice

set Arduino101ProximitySensor1 BluetoothDevice  to

get Arduino101ProximitySensor1 Pin

set Arduino101ProximitySensor1 Pin  to

Methods

call Arduino101ProximitySensor1 IsSupported

call Arduino101ProximitySensor1 ReadProximity

call Arduino101ProximitySensor1 RequestProximityUpdates

call Arduino101ProximitySensor1 StopProximityUpdates

Events

when Arduino101ProximitySensor1 ProximityReceived proximity do