Sensors

Sensors

Contents

Top

MachineChat

Key Features

Software Options

Popular MachineChat Content

Communications Protocols

Inter-integrated circuit (I2C)

Improved inter-integrated circuit (I3C)

Serial Peripheral Interface (SPI)

Universal Asynchronous Receiver/Transmitter (UART)

Comparing UART, SPI, I2C, and I3C

Popular Communication Content

Communications Ecosystems

SparkFun Qwiic Connect

Adafruit STEMMA QT Connect

Seeed Grove

Popular Rapid Prototyping Content

Sensor applications (Industrial, Transportation, Edge AI)

Industrial Sensors

Transportation Sensors

Edge AI Sensors

Current Sensors

Types of Current Sensors

Popular Current Sensor Products

Popular Current Sensor Content

Environmental Sensors

Temperature Sensors

Popular Temperature Sensor Products

Popular Temperature Sensor Content

Humidity and Moisture Sensors

Popular Humidity Sensor Products

Popular Humidity Sensor Content

Pressure Sensors

Popular Pressure Sensor Products

Popular Pressure Sensor Content

Gas Sensors

Popular Gas Sensor Products

Popular Gas Sensor Content

Orientation and Presence Sensors

Motion Sensors

Popular Motion Sensor Products

Popular Motion Sensor Content

Optical Sensors

Popular Optical Sensor Products

Popular Optical Sensor Content

Proximity Sensors

Popular Proximity Sensor Products

Popular Proximity Sensor Content

Distance Sensors

Popular Distance Sensor Products

Sensors

Sensors (or transducers) are the "sensing" portions of an electronic system. Just as animals use their senses (sight, smell, touch, hearing, and taste) to navigate through the world, electronics likewise uses sensors to make sense of the world.

Advancements in sensor technology, including miniaturization, tighter integration, enhanced connectivity, and sophisticated data processing, are revolutionizing industrial and consumer applications. Read more about topics like 3D time-of-flight sensors, smart air quality sensors, and using MEMS sensors for vibrational monitoring in the Sensor eMagazine.

The 2026 Sensors issue of the DigiKey eMagazine.

MachineChat

MachineChat is a company that creates all-in-one software applications (like JEDI One and JEDI Pro) to do data collection, dashboard visualization, and rules-based monitoring. The software works on desktops and single board computers in minutes, with no additional coding required. The software runs locally on the system, there is no need for sending your data to the cloud and there are no monthly subscription fees.

Image of MachineChat

Key Features

  • Data collection sources include: MQTT, REST API, HTTP, TCP CSV, Serial/USB. Additionally, other data collection source are available via custom data collectors.
  • The software allows one to filter, transform, aggregate, monitor, and act on sensor data.
  • Data storage is local and maintained in a CSV database.
  • Cache and send data to upstream services like MQTT and REST APIs.
  • All data visualization is available via a web interface.
  • Alerting can be done via email or SMS.
  • Software is available to run on PC, Mac, Linux, Raspberry Pi, and BeagleBone.

Software Options

  • JEDI One is geared towards Makers and early prototypes (single user, up to 10 devices)
  • JEDI Pro is for commercial applications (up to 10 users, up to 200 devices)
Image of example dashboard from a TechForum post on MachineChat Example of a dashboard from a TechForum post on MachineChat, there's 30+ in depth posts on how to get going with various platforms and sensors: MachineChat category on TechForum
Image of Overall TechForum category on MachineChat

The machinechat category was created to highlight and demonstrate how to use several different sensors and inputs that can be incorporated with machinechat’s Jedi One software to create a custom IOT dashboard.

Obtener más información

Image of Machinechat

Machinechat’s mission is to be the leading supplier of IoT data management solutions dramatically reducing the cost & time spent on IoT projects. Learn more about their all-in-one IoT software, Jedi One, at DigiKey today!

Obtener más información

Image of Getting Started with Machinechat's JEDI One IoT Software

This tutorial walks through setting up and sending data to an IoT service on your own network, which allows you to have control over the security of the data

Obtener más información

Image of Overview of Machinechat JEDI One

An overview of Machinechat JEDI One, the all-in-one IoT software for building field-ready prototypes in minutes, not months.

Obtener más información

Image of Trigger an SMS Text Alert from a LoRaWAN Sensor using Machinechat's JEDI Pro Rules Engine

This project discusses implementing an SMS text alert capability that sends an SMS when data from a LoRaWAN sensor meets a predefined condition.

Obtener más información

Image of Set up and test IoT MQTT Broker with Raspberry Pi, and machinechat's JEDI One

This project sets up an IoT MQTT broker on a Raspberry Pi 4 using machinechat’s JEDI One IoT data management software.

Obtener más información

Communications Protocols

What is the difference between Parallel and Serial Communication? View Answer

Parallel Communications send multiple bits of data at the same time, requiring data bus hardware, typically made up of multiple wires. While allowing faster data transfer, parallel communications also use more I/O ports of the connected devices and require complex wiring arrangements.

Image of Parallel Communications Source: DigiKey

Serial Communication send only one bit of data at a time across paired devices with one wire. With only one I/O port used for device communication, overall device complexity and cost can be lower.

What is the difference between Synchronous and Asynchronous Communication? View Answer

Serial communication can be further divided into two subgroups depending on if they use a clock signal to control and synchronize data communication between linked devices known as synchronous and asynchronous.

  • Asynchronous (or Async) Serial means that data can be transmitted without any need for a clock signal. Without a clock signal, data being transferred between devices must be encoded with start and stop bits to ensure proper transfer and while generally slower, the lack of a clock signal can be useful depending on application such as buffering data in which real-time responses are not required.
  • Synchronous (or sync) serial requires a shared clock signal between all devices to control data communication. While Synchronous Serial does require another timing signal across all devices it does make communication faster.

What is the difference between Simplex, Half-Duplex, and Full-Duplex? View Answer

Image of the difference between Simplex, Half-Duplex, and Full-Duplex

These aspects have to do with the direction data flows between devices. There are three main ways to describe the data flow:

  • Simplex – The unidirectional (or one-way) flow of data from Source to Destination. An example is a radio receiving a radio station from a radio tower. The signal is transmitted from the tower and received by the radio.
  • Half-Duplex – Allows for data transmission in both directions from the paired devices, but only one direction for a given period. In order to enable half-duplex, both devices need to be able to transmit and receive data. An example of this would be in walkie talkies as only one device can transmit at a time while the other receives.
  • Full-Duplex – Both devices can transmit and receive data in both directions at the same time. This results in two-way communication. An example of this would be a telephone connection as both devices would need to allow for simultaneous transmitting and receiving of data.
Image of the difference between Simplex, Half-Duplex, and Full-Duplex

Inter-integrated circuit (I2C)

  • Inter-Integrated Circuit (I2C) Protocol is a two-wire serial connection designed to allow multiple end points to communicate with one or more controllers. It is a half-duplex protocol, meaning data can only be sent in one direction from the controller to many end points at a time.
  • Data transfer speeds for I2C can range from 0.1 to 5 Mbit/s, depending on the exact IC and bus configuration. However, due to the simple nature of the two-wire bus connection it can have significantly slower data rate compared to the more complex SPI connection.

Improved inter-integrated circuit (I3C)

  • Improved Inter Integrated Circuit (I3C) Protocol is a two-wire serial connection designed to allow multiple end points to communicate with one or more controllers. It shares many things in common with I2C (including being half-duplex)
  • One major improvement over the I2C standard is that the I3C standard defines a signaling protocol that allows for multiple chips on the same bus to control the bus communication, as well as being lower power and higher data rate
  • Data transfer speeds for I3C bus can range from 400Kbit/s for legacy I2C data rates up to 33 Mbit/s in Ternary mode, but the Standard data rate (SDR) of 12.5 Mbit/s is common

Serial Peripheral Interface (SPI)

  • Serial Peripheral Interface (SPI) Protocol is a 3 or more-wire bus connection to allow many different endpoints to communicate with one centralized controller IC.
  • As a full-duplex, synchronous serial connection, SPI connections require a synchronized clock signal from the central controller that all participants on the SPI network share, this allows for a higher speed bidirectional data Transfer. Up to 60 Mbps can be achieved when both source and receiver IC are near each other for example, within the same circuit board.
  • The drawback to SPI is that when adding more endpoints on the same bus requires more available I/O pins to act as chip select pins and more wired connections to be made to the controller IC, this can make expansion of existing network difficult.
Example showing how 2 SPI peripherals run by a single controller

Universal Asynchronous Receiver/Transmitter (UART)

  • Universal asynchronous receiver-transmitter (UART) is a bidirectional asynchronous serial connection, usually implemented in hardware which can be setup for simplex, half-duplex, or full-duplex data transmission with data sent as individual bits one by one in sequence from least to most significant.
  • Without a shared clock signal controlling the timing and sending of data, UART relies on the start and stop bits of a UART data frame to signal when to start and stop transmission.
  • UART typically has slower data speeds compared to modern networking methods and usually connected as a 1 to 1 communication and all data transmission variables such as sample rate, flow control, data frame size and voltage levels need to agree before connection can be made.
  • Most modern microcontroller devices typically have more than one set UART circuity, allowing for multiple UART connections communication to function for multiple devices.
Image of UART diagram

Comparing UART, SPI, I2C, and I3C

A comparison of the UART and SPI communication protocols
A comparison of the I2C and I3C communication protocols
Image of An Overview of the Inter-Integrated Circuit (I²C) Protocol

In contrast to UART and SPI, I2C supports multiple controllers and peripherals on the same two wire bus - one for data and the other for the clock signal.

Obtener más información

Image of An Overview of the Serial Peripheral Interface (SPI)

Although it’s an older standard, SPI is still a commonly used synchronous serial communication protocol for exchanging data between MCUs or registers.

Obtener más información

Image of UART (VHDL)

Logic Home Code Download Version 1.1: uart.vhd (13.1 KB) Corrected rx start bit error checking Version 1.0: uart_v1_0.vhd (13.0 KB) Initial Public Release Features VHDL source code of a Universal Asynchronous

Obtener más información

Image of I²C and SPI: Communication Protocols – Tech Basics

Adafruit’s BMP280 evaluation board contains sensors that are capable of I2C and SPI protocols to communicate with a microcontroller or other data processing ...

Obtener más información

Image of Accelerate Test and Troubleshooting of I²C and Other Common Serial Data Streams

Develop an understanding of the principles of I2C and learn how to test both the physical and protocol layers of this common serial interface with specialized oscilloscope software.

Obtener más información

Image of Why and How to Use the Serial Peripheral Interface to Simplify Connections Between Devices

The Serial Peripheral Interface (SPI) is popular as a simple, low-cost interface between multiple devices such as microcontrollers, sensors, and actuators.

Obtener más información

Communications Ecosystems

These connectors have made for quicker and easier prototyping. They can get solutions that include sensors running in less time, and don't require soldering.

SparkFun Qwiic Connect

  • Rapid system for connecting I2C devices without needing to solder
  • Also makes it easier so that data and clock lines don't get reversed
  • Over 100 child devices can be daisy-chained from the parent device
  • Only 3.3 volt signaling
  • Nonstandard board sizes
Image of SparkFun Qwiic Connect SparkFun Qwiic connect ecosystem example

Adafruit STEMMA QT Connect

  • Rapid prototyping system using a plug standard to eliminate or reduce wiring and soldering time
  • Compatible Sensor platforms have voltage level shifting for both 3.3V and 5V
  • I2C communication
  • Compatible with SparkFun Qwiic
  • Compatible with Seeed Grove (via adapter)
Image of Adafruit STEMMA QT Connect Adafruit sensor with two STEMMA QT sockets

Seeed Grove

  • Allows plug and play addition of peripherals / modules
  • Compatible with many different microcontroller platforms such as Arduino, NodeMCU, and Raspberry Pi
  • Set of fixed board sizes for sensor modules/board
  • 4 position connectors and 4 conductor cables
  • Communication can be analog, I2C, and UART
  • Grove shield stacks on top of development board to provide an easy to access set of connectors
Image of Seeed Grove Grove based shield for Arduino
Image of Introduction to Grove

Grove is a modulated, ready-to-use tool set.

Obtener más información

Image of Qwiic Adapter Hookup Guide

The SparkFun Qwiic adapter board is the perfect board to use if you need to make any old I2C board into a Qwiic enabled board.

Obtener más información

Image of Adafruit Stemma/Stemma QT

Adafruit introduced its STEMMA and STEMMA QT board options in 2018. They have incorporated JST PH or JST SH connectors (shown in red boxes below) to allow for plug and play simplicity on some of their boards in addition …

Obtener más información

Image of Qwiic Pro Kit Project Guide

With the included joystick, accelerometer, proximity sensor, and display board, hooking up a handful of inputs and outputs to an Arduino has never been so easy

Obtener más información

Image of Popular Board Interconnect Systems and How They Benefit Makers

Learn how connector ecosystems, like Qwiic, Grove, STEMMA and Gravity make it easy to quickly prototype projects without creating a rat’s nest of wires.

Obtener más información

Sensor applications (Industrial, Transportation, Edge AI)

Industrial Sensors

These core receptors for factories and industrial settings are discussed with the Automation Resource Center.

Transportation Sensors

Sensors within automotive and transportation are discussed in the Transportation Applications and Technologies page.

From Transportation Sensors eMagzine

Edge AI Sensors

Smart sensors are discussed within the Edge AI Applications and Technologies page.

Current Sensors

Current sensors are devices used to measure the flow of electrical current in a conductor. Commonly used for power monitoring, motor control, battery management systems (BMS), and overcurrent protection.

Types of Current Sensors

  • Hall effect – measure the magnetic field, which is based on the amount of current flowing. This naturally provides galvanic isolation. These can be used for AC and DC current measurement. These generally have less precision, and cost more than shunt based solutions. However, these can be advantageous over shunt based solutions, as they low insertion losses and can handle thousands of amps.
  • Shunt based – measures the current through a precision resistor, which the current flows through. These solutions have the highest accuracy, and lower cost. However it does introduce some power loss. Usually not isolated.
  • Current transformer – magnetic coupling for measuring AC current with natural galvanic isolation. Excellent for high current AC systems. Gets a lot of use in utility and industrial environments.

Image of LEM USA, Inc. Logo

Image of LEM GXS Series Compact, High-Bandwidth IC Sensors

Los sensores compactos de CI de alto ancho de banda de la serie GXS de LEM presentan una baja resistencia eléctrica de 1,2 MΩ y un tiempo de respuesta de 1,5 us.

Image of Allegro MicroSystems color logo

Current Sensor ICs

La línea de CI (circuitos integrados) de sensores de corriente de efecto Hall totalmente integrado de Allegro MicroSystems está disponible en Digi-Key. Realice su pedido hoy, envíos en el mismo día.

Image of Isabellenhütte USA Logo

Current Sensor Kits - Isabellenhuette

Los kits de sensores de corriente de Isabellenhuette incluyen un arnés de cables prefabricado diseñado para su uso con los sensores de las series ICD e IVT de Isabellenhuette.

Popular Current Sensor Content

Illustration of the basic principle and structure of the Hall-Effect open loop current sensor.

This article describes the advantages of open-loop sensors over closed-loop current sensors. Examples of LEM and Honeywell open-loop sensors are described.

Obtener más información

Closed-loop Current transformersare designed for applications such as AC and DC motor drives

Using isolated current sensors in power-related applications helps designers to easily monitor current, increases safety, and eliminates the need for extra isolation circuitry.

Obtener más información

Environmental Sensors

Environmental aspects like temperature and humidity can play a role in the longevity of buildings and electronic components. Heating, ventilation, and air conditioning (HVAC) systems rely on good environmental data for operation.

Temperature Sensors

Temperature Sensors are devices that can measure the heat of a surrounding or distant location and transmit that data to the system. This is often accomplished by taking advantage of how materials change physical and electrical properties in response to heat.

Thermocouples – most common type of temperature sensors due to their self-powered nature and quick response times across a wide range of temperature. Thermocouples work by a physical rule known as the Seebeck effect. When there is a temperature difference between two different conductor materials, the junction produces a voltage differential which can be amplified and measured.
Resistance Temperature Detector (RTD) – a simple sensor that measures the change in resistance of metals the temperature changes. RTDs are usually slower responding than thermocouples which make them poor fits for environments that experience rapid changes.
Thermistors – made from polymer or ceramic material making them cheaper and more easily produced than RTDs or Thermocouples but with the tradeoff of less stability and accuracy. Thermistors generally have larger output signal ranges (therefore need less amplification and filtering). Negative Temperature Coefficient (NTC) thermistor are the most common and widely used thermistor. With NTCs the resistance measure across the device decreases as the temperature increases. Positive Temperature Coefficient (PTC) thermistor exhibit an increase in resistance in response to an increase in temperature. Typically, better for threshold sensing in applications like over-temp detection.
Integrated Circuit (IC) – devices can have several layers of logic including Data Processing that can help these devices achieve more linearity in the measurement. Additionally, the ICs may contain threshold monitoring or alerting capabilities within the device, which may reduce the number of parts needed in a design.

Image of Sensirion's Logo

Image of Sensirion STS41A Series Temperature Sensors

Los sensores de temperatura de uso automotriz de la serie STS41A de Sensirion ofrecen alta precisión (±0.2 °C típico), tiempos de respuesta rápidos y confiabilidad robusta.

Image of Littelfuse logo

59135 High-Temperature Flange Mount Sensor - Littelfuse

El 59135 de Littelfuse es un sensor de lengüeta de montaje con brida, para altas temperaturas con una opción de contactos normalmente abiertos, normalmente cerrados o de conmutación.

Image of Vishay color logo

Image of Vishay NTCAIMM66H Miniature Immersion NTC Temperature Sensors

Los sensores de temperatura NTCAIMM66H NTC de Vishay proporcionan una detección de temperatura rápida, precisa y fiable de fluidos o entornos alojados.

Gas Sensors

Gas Sensors are devices that can identify different types of gaseous chemicals. Typically, these sensors can detect toxic or explosive concentrations before reaching a hazardous level but more recently, gas sensors have been included in smart home and building designs with a focus on human health and comfort.

The most common type of target gases for electronic gas sensors are Carbon Monoxide, Carbon Dioxide, Volatile Organic Compounds (VOCs), Oxygen, and Hydrogen. Sometimes a more generic term of "air quality" will be used with gas sensors, this could include Carbon Dioxide, VOCs, and particle measurement, but it's best to refer to the data sheet in these cases.

The most common way for a gas sensor to function is based on a Metal oxide semiconductor. These work by exposing a heated chemiresistor surface to open air, allowing for gases to interact with the surface. As more of the target gas contacts the gas sensing layer, the resistance of the surface changes allowing the circuit to detect the change in surrounding environment.

Another way gas sensors function is Non-Dispersive Infrared (NDIR). This type of sensor works by directing a beam of infrared red light down a tube exposed to atmospheric gases. The frequencies of the infrared beam that are absorbed help to indicate the target gases present.