Input/Output https://github.com/rzr/webthing-iotjs/wiki/Sensor • Analog: Measured phenomena – Physics, Chemicals, Probabilities • Digital→Several bits (On/Off) • Analog↔Digital conversion – Quantification • Time matters – Periodic (frequencies) • Sensors and actuators • I/O Pins – GPIO: General Input (or) Output • Numeric: 3.3v = 1 , 0v = 0 • Used for input: buttons, switch – or output: relay, LED, lights – PWM: Pulse width modulation • Pulse signal (frequency) • Used for buzzer, motors, dimmed LED – UART: Universal Asynchronous Receiver Transmitter • Serial line: Send (TX) / Receive (RX) data • Speed in baud (bit per second) • Used for console, modems, peripheral MCU – I2C & SPI buses • Used for chips (ADC/DAC, sensors, memory)