ENABLING INDUSTRIAL SENSORS For Edge Computing Using EdgeX
Electronics For You|April 2023
For industrial prototyping and design, we often need industrial-grade sensors devices plus industrial platforms like EdgeX.
VIJAY KUMAR GOPU
ENABLING INDUSTRIAL SENSORS For Edge Computing Using EdgeX

But interfacing and using those industrial-grade sensors with our known boards is very difficult and unknown to us. So here we use the industrial platform Edgex and industrial sensor and interface them with the known Raspberry Pi.

Here we read the temperature and humidity values of the SHT20 sensor and leverage the EdgeX framework running on Raspberry Pi to provide gateway functionality. Using EdgeX framework microservices, we process the sensor data and send it to the cloud. After that we actuate LEDs to on/off when temperature readings cross threshold values. The author's prototype is shown in Fig. 1.

EdgeX framework speeds time to market by providing replaceable reference services for device-data ingestion, normalization, edge intelligence, and sharing to support new IoT data services and advanced edge computing applications. The scope of this case study is to leverage and exercise the functionality of the EdgeX framework and demonstrate monitoring temperature and humidity sensors. Industrial-grade temperature and humidity transmitter SHT20 is used for the case study.

Typical block diagram using EdgeX in Fig. 2 shows the high-level block diagram for edge computing using EdgeX. It is taken from the image source https://docs.edgexfoundry. org/1.3/general/EdgeX_deployments png

Prequestie setup

For using EdgeX and industrial temperature sensor we need the Ubuntu operating system (OS) for Raspberry Pi 4. The latest Ubuntu OS can be downloaded from the link below and the SD card can be prepared by following the steps given therein.

https://ubuntu.com/tutorials/ how-to-install-ubuntu-on-your-raspberry-pi#1-overview

Ubuntu installation

After preparing the SD card with Ubuntu OS make the following changes before booting Raspberry Pi using the micro SD card in which Ubuntu has been installed:

This story is from the April 2023 edition of Electronics For You.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the April 2023 edition of Electronics For You.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM ELECTRONICS FOR YOUView All
ESP32-Powered AUDIO-VISUAL SIREN
Electronics For You

ESP32-Powered AUDIO-VISUAL SIREN

This sound alternator is designed to simulate the effects of a police siren, combining sound and light to create a dynamic audio-visual experience.

time-read
2 mins  |
January 2025
BLDC MOTOR With Web-Based Speed Control Using ESP32
Electronics For You

BLDC MOTOR With Web-Based Speed Control Using ESP32

Integrating wireless control into brushless direct current (BLDC) motor systems opens up exciting possibilities for applications such as remote-controlled cars, robots, and other innovative systems.

time-read
5 mins  |
January 2025
Pi Zero Portable BILINGUAL TRANSLATOR
Electronics For You

Pi Zero Portable BILINGUAL TRANSLATOR

This system is designed as a bilingual translator, leveraging the gTTS library to support multiple Indian languages, including English (en), Bengali (bn), Gujarati (gu), Hindi (hi), Kannada (kn), Malayalam (ml), Marathi (mr), Tamil (ta), Telugu (te), and Urdu (ur).

time-read
5 mins  |
January 2025
Op-Amp-Based VEHICLE THEFT DETECTOR
Electronics For You

Op-Amp-Based VEHICLE THEFT DETECTOR

A simple, low-cost device can effectively alert homeowners or occupants if a parked vehicle is moved or tampered with.

time-read
3 mins  |
January 2025
loT SMART METER With Dashboard
Electronics For You

loT SMART METER With Dashboard

Energy meters in homes track electricity usage, enabling accurate billing by governments and providers.

time-read
2 mins  |
January 2025
Choose The Right Cloud Platform For Implementing loT PROTOCOLS
Electronics For You

Choose The Right Cloud Platform For Implementing loT PROTOCOLS

Working with loT protocols like MQTT, AMQP, and CoAP on cloud platforms is essential for developing scalable and efficient lol applications. The choice of the programming platform will depend on factors like project requirements, existing skills, and target devices. Leveraging the appropriate libraries and cloud services can enable seamless integration of lol devices with cloud-based applications.

time-read
7 mins  |
January 2025
Why TMR SENSORS Lead Next-Generation Design
Electronics For You

Why TMR SENSORS Lead Next-Generation Design

TMR sensors are gaining traction in industries needing precision and power efficiency. What makes them the go-to choice for modern designs?

time-read
7 mins  |
January 2025
DESIGNING PCBs For EMI Management
Electronics For You

DESIGNING PCBs For EMI Management

Electromagnetic interference can derail your PCB’s performance. EMI management is not just a technical necessity but a hallmark of exceptional PCB design.

time-read
4 mins  |
January 2025
CUTTING COSTS, NOT CORNERS: Building Large Scale Applications With Open Source Software
Electronics For You

CUTTING COSTS, NOT CORNERS: Building Large Scale Applications With Open Source Software

Here are some strategies and best practices for leveraging open source to create enterprise-grade web and mobile applications without sacrificing quality or functionality.

time-read
6 mins  |
January 2025
"We Are One Of India's Very Few State Bodies To Manage The Entire Lifecycle Of The Electronics EcosystemFrom Approvals To Subsidies."
Electronics For You

"We Are One Of India's Very Few State Bodies To Manage The Entire Lifecycle Of The Electronics EcosystemFrom Approvals To Subsidies."

What is Gujarat State Electronics Mission GSEM), and how is it attracting major investments in electronics manufacturing, particularly semiconductor manufacturing, to Gujarat? To delve deeper, Electronics For You’s Nijhum Rudra spoke with Manish Gurwani, the head of GSEM. Here is what he revealed...

time-read
3 mins  |
January 2025