RC2019 – Sensors

Info regarding the cheat sheet:

The sheet contains a series of basic and isolated examples, exemplifying how a given sensor can be used.

The sheet can be downloaded in its entirety, either as .docx or .pdf. as well as being viewed online as seen below.

In addition, the provided code examples can be downloaded individually as well as being opened directly in the Arduino online IDE.




LDR (Light Dependent Resistor)


IR-Sensor (QRE1113 – Analog)


Ultra-Sound Distance Sensor (HC-RS04)

Color Sensor (TCS3200)

READ ME NOTE: In order to enable the inclusion of the Color library, copy paste the entire Color Library folder, into the “Documents -> Arduino -> Libraries” folder.