Below you will find an overview of many sensors and actuators and their specifications.
On top, an example script to get a specific sensor or actuator up and running with AllThingsTalk Maker is provided.
A basic example sketch is provided for all listed sensors and actuators.
Sensor | Range | Data type | Voltage | Pin | I/O | Example code | |
---|---|---|---|---|---|---|---|
Rotary angle sensor | 0 - 300 0 - 1023 |
° ADC |
3.3 / 5.0 | analog | INPUT | Arduino | |
Button | true/false | boolean | 3.3 / 5.0 | digital | INPUT | Arduino | |
GPS | ±90° ±180° - |
latitude longitude altitude |
3.3 / 5.0 | uart | INPUT | Arduino | |
PIR motion sensor | true/false | boolean | 3.3 / 5.0 | digital | INPUT | Arduino | |
125KHz RFID reader | - | string | 5.0 | uart | INPUT | Arduino | |
Sunlight sensor | 280 - 950 nm | visible infrared ultraviolet |
3.3 / 5.0 | i2c | INPUT | Arduino | |
Air quality sensor | 0-1023 | ADC | 3.3 | analog | INPUT | Arduino | |
Line finder | true/false | boolean | 5.0 | digital | INPUT | Arduino | |
Magnetic door switch | true/false | boolean | 5.0 | digital | INPUT | Arduino | |
Light sensor | 0 - 1023 | ADC | 3.3 / 5.0 | analog | INPUT | Arduino | |
Gas sensor | 0 - 1023 | ADC | 5.0 | analog | INPUT | Arduino | |
Loudness sensor | 0 - 1023 | ADC | 3.3 / 5.0 | analog | INPUT | Arduino | |
Switch | true/false | boolean | 3.3 / 5.0 | digital | INPUT | Arduino |
Actuator | Range | Data type | Voltage | Pin | I/O | Example code | |
---|---|---|---|---|---|---|---|
Buzzer | on/off or different notes |
sound | 3.3 / 5.0 | digital or analog |
OUTPUT | Arduino | |
Relay | true/false | boolean | 3.3 / 5.0 | digital | OUTPUT | Arduino | |
LED | on/off | light | 3.3 / 5.0 | digital | OUTPUT | Arduino |