Simple Sensors: Connections and Programming

The Arduino UNO board has six analog input pins and up to 13 digital pins (which can be configured as either inputs or outputs). As a result, the connection of sensors with the Arduino will be primarily distinguished by the output value types provided by the sensor. For example, if a sensor outputs a variable voltage, then it will be connected to an analog input pin. 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 ELEGOO UNO kits we are using in this class is available at:





McGill ©2004-2026 McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.