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.
Already a subscriber ? Sign In
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.
Already a subscriber? Sign In
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.
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.
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).
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.
loT SMART METER With Dashboard
Energy meters in homes track electricity usage, enabling accurate billing by governments and providers.
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.
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?
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.
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.
"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...