目录
返回顶部
MachineChat
Key Features
Software Options
Communications Protocols
Inter-integrated circuit (I²C or I2C)
Serial Peripheral Interface (SPI)
Universal Asynchronous Receiver/Transmitter (UART)
Comparing UART, SPI, and I2C
Communications Ecosystems
SparkFun QWiiC Connect
Adafruit STEMMA QT Connect
Seeed Grove
Environmental Sensors
Temperature Sensors
Humidity and Moisture Sensors
Pressure Sensors
Gas Sensors
Orientation and Presence Sensors
Motion Sensors
Optical Sensors
Proximity Sensors
Products
Sensors
Sensors (or transducers) are the "feeling" 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.
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.
Key Features
- Data collection sources include: MQTT, REST API, HTTP, TCP CSV, Serial/USB. Additionally, there are other data collection source 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 on 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)
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.
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!
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
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.
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.
Set up and test IoT MQTT Broker with Raspberry Pi, PyPortal Titano 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.
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.
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
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 stoplight. Data of the light condition is sent to from the signal light to the driver's eyes. There is no data or signals from the driver to the light.
- 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.
Inter-integrated circuit (I²C or 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.
- The development of I3C by the MIPI Alliance allows for some features backwards compatibility with existing I2C standards. More information can be found here https://www.mipi.org/specifications/i3c-sensor-specification
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.
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.
Comparing UART, SPI, and I2C
An Overview of the Inter-Integrated Circuit (I2C) 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.
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.
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
I2C 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 ...
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.
Why and How to Use the Serial Peripheral Interface to Simplify Connections Between Multiple Devices
The Serial Peripheral Interface (SPI) is popular as a simple, low-cost interface between multiple devices such as microcontrollers, sensors, and actuators.
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
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)
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
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.
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 …
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
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.
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.
How to Use High Accuracy Digital Temperature Sensors in Health Monitoring Wearables
High accuracy digital temperature sensing for wearables requires careful attention to calibration and certification, low power, cost, and ease of use.
Quickly Integrate Clinical-Grade Temperature Sensing into Portable, Wearable Medical Designs
Take advantage of improvements in temperature sensor accuracy, ease of use, and lower power to meet health monitoring system design challenges.
Types of Temperature Sensors
There are four main types of temperature sensors. This blog will look at the considerations for using each type along with their advantages and disadvantages.
Adding Temperature-Measurement Functionality to Energy-Harvesting Sensor Designs
The addition of temperature measurement functionality to energy-harvesting sensor designs including products from Analog Devices, Maxim, Microchip, and TI.
Temperature Sensors – Thermocouple, Temperature Probes
This Product Selection Guide contains information to help select products in the Temperature Sensors – Thermocouple, Temperature Probes category on DigiKey.com
Temperature Sensors – RTD (Resistance Temperature Detector)
This Product Selection Guide contains information to help select products in the Temperature Sensors – RTD (Resistance Temperature Detector) category on DigiKey.com
Humidity and Moisture Sensors
Humidity is a measurement of the amount of water vapor in the air. It can affect both human health and machine performance. High humidity can lead to mold and mildew growth. Additionally, high humidity can cause corrosion and electrical shorts. Low humidity can adversely affect human health and increase Electrostatic discharge (ESD) potential for electronic circuits. Humidity can be represented in terms of Relative humidity (RH), which is a percentage representing the current water vapor to amount of water vapor that could be present before condensation occurs at a given temperature. Absolute humidity is the percentage of water vapor present in the air.
Below are methods on how humidity sensors operate:
Use a Tiny Humidity and Temperature Sensor to Effectively Collect Critical Environmental Data
A miniature digital sensor helps developers more easily meet emerging application requirements for accurate humidity and temperature measurement.
Humidity Sensors - ‘Sensing’ and ‘Seeing’ What’s Critical in Our Environment
The major design challenges related to humidity/temperature sensors and how TE Connectivity’s HTU2x devices help overcome them are outlined.
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor
In this tutorial, we show you how to read from an I2C sensor using MicroPython on the Raspberry Pi Pico.
Pressure Sensors
Pressure Sensors are designed to detect the presence or a change in the amount of force per unit of area. This can be measured in liquids such as water, oil, or other chemicals or in gas like the air we breathe.
Pressure sensors main method of operation is by measuring changes in electrical voltages generated by the Piezoelectric effect. The Piezoelectric effect is a property of certain physical materials like quartz crystals, ceramics, and metal alloys to generate an electrical charge when placed under mechanical stress.
There are several ways to measure pressure in both Metric and Imperial measurement systems. When selecting a sensor, be sure that the final choice is compatible with other sensors in the system.
Pressure units:
- Pascal: Metric system unit of measure, defined as 1 Newton of force per square meter
- Bar: levels of pressure individuals may experience, defined as exactly 100,000 Pascals, which is slightly below normal atmospheric pressure at sea level (1.013 bar)
- Pounds per square inch (PSI): more common for Americans and, the Imperial system.
Types of pressure sensors:
Pressure Conversion Calculator
Convert psi to bar, kg/cm2 to psi, bar to kg/cm2, and other units like pa, mmH2O, inches H2O, psf and atmosphere with DigiKey's pressure measurement conversion calculator.
Key Criteria in Choosing a Pressure Sensor
Whether choosing a sensor for high-volume low-performance commodity-type applications, one to work effectively in the harshest environments on (or off) the planet, or one that provides the utmost in accuracy, how do you decide what you need?
Pressure Sensor Terminology
When it comes to pressure sensors there is a lot of confusion on the different terms/specifications used. I have complied a list to help explain some of these terms and how they apply to pressure sensors. Absolute Press…
Getting started with Amphenol Advanced Sensor’s NPI-EVAL-Kit and Nova I2C Pressure Sensors
Amphenol Advanced Sensors’ NPI-EVAL-KIT allows quick evaluation of their NPI-19 Nova Sensor series of digital I2C industrial pressure sensors.
Machinechat with Zigbee TE MS5837 pressure sensor
This project uses a Digi Xbee3 wireless Zigbee module and a TE Connectivity MS5837 sensor to implement a Zigbee temperature and barometric pressure sensor.
Pressure Sensor Readings (Pressure Transducer, Pressure Transmitter)
Pressure sensors, also known as a pressure transducers or pressure transmitters, take an applied force and convert it into a proportional electrical signal which is then output to a PLC or other controlling device.
Use Advanced Pressure Sensors to Boost Accuracy and Resolution in Compact IoT Designs
Pressure sensors are critical to the IoT, with new versions emerging that feature smaller form factors, greater accuracy and resolution.
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.
AI Toaster That Makes Perfect Toast Using Smell
Shawn Hymel uses machine learning and some hardware hacking wizardry to give a mundane kitchen appliance a little AI boost. A collection of gas sensors samples the odor from a toaster and uses machine learning to predict when the toast will be done.
How to Quickly Add Environmental Sensing Industrial IoT Designs
A multi-sensor device and a sensor fusion library dramatically simplify development of environmental monitoring systems for health and wellness.
What Matters When Integrating Gas Sensors into Air Quality Monitoring Designs
Advances in compact gas sensors include calibration software and cloud connectivity that allow faster development of accurate air quality monitoring designs.
Orientation and Presence Sensors
These are sensors that detect objects, motion, and determine the orientation of a system. An example of related system using these sensors is self driving robots, which require a series of orientation and presence sensors to avoid collision and safely navigate a factory floor.
Motion Sensors
Get Started with MEMS-Based Motion and Orientation Sensor Design Using Arduino Breakout Boards
Using Arduino BOBs, designers can quickly evaluate various combinations of MEMS accelerometers, gyroscopes, and magnetometers for motion and orientation.
MEMS Sensors are Good, but the Revolution is Just Beginning
MEMS-based technology revolutionized acceleration sensing and inertial guidance and has extended its capability to diverse unrelated applications.
Apply Sensor Fusion to Accelerometers and Gyroscopes
For higher navigational and motion accuracy, use a Kalman filter to combine the best attributes of 3D accelerometer and 3D gyroscope sensors.
Smarter Sensors Save Space and Power
Motion tracking and location awareness provide the key to new features and applications in consumer equipment, helping to enable new market opportunities.
Sensing Motion with Passive Infrared (PIR) Sensors
This article discusses passive infrared (PIR) sensors from Zilog, Panasonic, and Parallax that are well-suited for passive infrared detector designs.
IMUs: Let Your Host Sleep with On-Board Machine Learning
Integrating machine learning and decision tree processing into IMUs can offload real-time position and movement processing from the host application processor.
Optical Sensors
Optical Sensors (also known as Photoelectric Sensors) are devices that can detect objects by use of optical properties. Unlike other sensors that can only detect objects with certain metallic or conductive material composition, optical sensors are able to work with a wide variety of materials such as plastic, glass, wood, and metal. Typically, an optical sensor is a device with two main components: an Emitter usually a LED that can project a beam of light in one direction and a Receiver a phototransistor in a circuit that is able to respond to changing levels of light.
The Basics of Photodiodes and Phototransistors and How to Apply Them
Photodiodes and phototransistors allow microprocessors to “see” the world by sensing light intensity, but their use requires an understanding of the basics.
Improve Pulse Oximetry Measurements Using Dark Current Compensation
Use a second photodiode to increase a pulse oximeter’s dynamic range to 16 bits.
How to Design for Reliable and Accurate Presence Sensing
Reliable and accurate presence sensing can be done efficiently using optical, ultrasonic, or magnetic sensor technologies, depending on the application.
Proximity Sensors
Proximity Sensors are devices that can determine the presence or distance of an object without physically contacting the object. There are many different methods of operation ranging from sensors that work with detecting target physical properties to those that work with the sensing environment.
The Fundamentals of Proximity Sensors: Their Selection and Use in Industrial Automation
By learning the fundamentals of proximity sensors, industrial automation engineers can use them to sense the presence and location of objects or people.
Design Considerations when Selecting a Proximity Sensor Technology
There are a number of leading proximity sensor technologies; each with very different operating standards and different strengths.
Response Frequency of Proximity Sensor
When an object moves at a certain speed through the sensing area of a proximity sensor, the proximity sensor’s response frequency determines if it’s able to detect that object properly.