
Hi !
In my previous post I the steps to create an Azure IoT Module interacting with Grove sensors in a Raspberry Pi. I won’t write about Azure Container Registry, check the references section for more information. At this point I’ll azure we have an ARM32 image is published and ready to use from an ACR.
On Azure IoT on the module, let’s go to the [Set Modules] section and add the ACR information: name, address, user name and password. Then we can add a new module with the [Add // IoT Edge Module] option

Let’s define the name for the module, just in case, I always do this in lowercase. And then the uri which usually uses the format
# template
<your ACR>.azurecr.io/<module name>:<image version>-arm32v7
# in example for ebgrovetemperaturedht11 - version 0.0.43
[<your ACR>.azurecr.io/ebgrovetemperaturedht11:0.0.43-arm32v7]

As I wrote in my previous post, the module uses Environment Variables, so we can define them here

And, finally as I mentioned before, the specific create options to allow access to the grove sensors.

Confirm and Create the module with these options, and 20 seconds later we can see this module up and running in the Edge device,

And that’s it! I may add some extra posts with some specific details, however I hope that these 4 posts may help someone starting in a similar scenario!
References
- Seeedstudio, Grove
- Create an IoT hub using the Azure portal
- Tutorial: Develop and deploy a Python IoT Edge module for Linux devices
- Azure Container Registry
Happy coding!
Greetings
El Bruno
More posts in my blog ElBruno.com.
More info in https://beacons.ai/elbruno
Azure ☁ IoT
- Install ☁ Azure IoT on Raspberry Pi
- Deploy ☁ Azure Blob Storage on IoT Edge, lessons learned
- Connect to ☁ Azure Blob Storage on IoT Edge using Microsoft Azure Storage Explorer
- Lesson learned and tips on how to install Azure IoT Edge on Ubuntu on a Raspberry Pi
- Azure IoT Explorer, in preview and awesome
- Mapping a local ☁ Azure IoT Edge folder module with an Edge device folder 📁
- Creating a folder 📂 in the docker definition in an ☁ Azure IoT Edge
- Granting access to Raspberry Pi GPIO from an ☁ Azure IoT Edge Module
Create an Azure IoT Module using Raspberry Pi and Grove Sensors
- Raspberry Pi + Grove Sensors, read temperature and humidity values
- Raspberry Pi + Grove Sensors, send temperature and humidity values as telemetry to Azure IoT Hub
- Raspberry Pi + Grove Sensors, create a Azure IoT Module to send temperature and humidity values as telemetry to Azure IoT Hub
- Raspberry Pi + Grove Sensors, publish and use the Azure IoT Module
- Raspberry Pi + Grove Sensors, notes on build and configuration
- Raspberry Pi + Grove Sensors, details on how to send a telemetry message and sample messages
Create an Azure IoT Module from Azure Custom Vision project
- Create and export a Custom Vision Project as Docker image
- Analyze the content of the CV Docker image
- Create and analyze an Azure IoT Module
- Merge the CV project as an Azure IoT Module
- Deploy to an Azure IoT device and test the CV module
- Send telemetry for each analyzed image
- Add digital twin configuration to the Azure IoT module (coming soon)
¿Con ganas de ponerte al día?
En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:
- Si tienes ganas de ponerte al día con Front End (ES6, Typescript, React, Angular, Vuejs…) te recomendamos nuestros Máster Front End: https://lemoncode.net/master-frontend#inicio-banner
- Si te quieres poner al día en Backend (stacks .net y nodejs), te aconsejamos nuestro Bootcamp Backend: https://lemoncode.net/bootcamp-backend#bootcamp-backend/banner
- Y si tienes ganas de meterte con Docker, Kubernetes, CI/CD…, tenemos nuestro Bootcamp Devops: https://lemoncode.net/bootcamp-devops#bootcamp-devops/inicio
Thanks for the article.Can you please suggest how to vie the send message in iot hub,as Iam not getting any logs in device explorer.But module is up and running
LikeLike