Simple Sensors: Connections and Programming

The Arduino board provides both analog and digital inputs and outputs. As a result, the connection of sensors with the Arduino will be primarily distinguished by the output value types provided by the sensor. If your application requires more analog input pins than are available on the board, you could make use of an external multichannel A-to-D converter.

Note that you may be able to get free samples of various sensors directly from the manufacturers.

Information specific to the DFROBOT kits we are using in this class is available at:

Resistor values are determined by their colored stripes. The following site allows you to specify a sequence of stipe colors and determine the value. Note that resistors come in different accuracy grades and the ones we use may potentially be off by 5% from their specified values.





McGill ©2003-2016 McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.