Hello,
I am trying to connect Raspberry pi and Seed Azure Sphere MT3620.
How can I connect raspberry pi with Seed Azure Sphere MT3620? Sensors are connected to raspberry pi currently. I want to use Azure Sphere for security and development.
Thanks.
Hello,
I am trying to connect Raspberry pi and Seed Azure Sphere MT3620.
How can I connect raspberry pi with Seed Azure Sphere MT3620? Sensors are connected to raspberry pi currently. I want to use Azure Sphere for security and development.
Thanks.
I've connected an Azure Sphere device to a Pi over the UART. The devices sent messages back and forth. What kind of data do you want to send between the devices?
Thank you for answering. I want to send telemetry data( temperature, humidity, luminance etc.). Do you have a cable connection diagram?
Hi Mustafa,
What sensors are connected to the Pi? Why not connect them directly to the Azure Sphere device?
Assuming you would use the ISU0 UART on the Seeed board, the connections would be . . .
The Pi pinout would be the same for the other standard 40 pin Pi headers (3, 3B . . . )
I just pushed a Proof of Concept Lab (Avnet Azure Sphere Guardian to Pi) and source code that may help you get moving fast with your project. You can find the source and lab document here. The lab walks the student through starting a new UART based Azure Sphere application starting with the Microsoft AzureIoT example. The lab targets the Avnet Azure Sphere Guardian 100, but you should be able to leverage most of the application.
Let me know if you have questions,
Brian
Hi Mustafa,
What sensors are connected to the Pi? Why not connect them directly to the Azure Sphere device?
Assuming you would use the ISU0 UART on the Seeed board, the connections would be . . .
The Pi pinout would be the same for the other standard 40 pin Pi headers (3, 3B . . . )
I just pushed a Proof of Concept Lab (Avnet Azure Sphere Guardian to Pi) and source code that may help you get moving fast with your project. You can find the source and lab document here. The lab walks the student through starting a new UART based Azure Sphere application starting with the Microsoft AzureIoT example. The lab targets the Avnet Azure Sphere Guardian 100, but you should be able to leverage most of the application.
Let me know if you have questions,
Brian
Thank you for your detailed answer. It is very helpful. I used Zwave protocol and sensors. I used a USB Zwave stick. Is that possible to connect with Azure Sphere?
Mustafa
Mustafa,
I have not seen a Zwave Azure Sphere example, but that's something that's very interesting to me. I know there are some USB Click Boards that may allow your Zwave stick to work with Azure Sphere, but there would likely be some heavy lifting compared to the Pi approach. Please share your project once you have it up and running. I have lots of Zwave devices in my smart home. And let me know if you have any questions on the example application.
Brian
My python code is running on raspberry pi. The code is collecting data using Zwave sensors. Raspberry pi has not connected to the internet due to security. I want to send data to Azure using Azure Sphere. I'm not sure if this structure is correct. Do you have any suggestions?
That is exactly what the POC example application does. The Pi is running a python script that accepts commands from the Azure Sphere device and responds with the Pi IP address' to the Azure Sphere device over the UART. Instead of sending the ip address', just send your sensor data. Depending on your final design you should consider using the Avnet Azure Sphere Guardian 100 (G100). If you use the G100, then you can connect the Pi to the G100 using a standard USB cable. The USB cable will also power the G100, it's a clean deployment.
G100 Link: AES-MS-MT3620-GUARD-100 by Avnet Engineering Services Evaluation & Development Kits | Avnet
Sounds good. We are on the same page:) I have some questions about your feedback:
- What kind of commands from the Azure Sphere device did you mention?
- If I use G100, How can I send data to the G100 via USB? Also, G100 can connect to the Azure cloud and send data?
Thanks,
The Guardian 100 is an Azure Sphere based device that has Ethernet or WiFi connectivity to the internet/Azure (North bound traffic) and a USB connector to connect to your Pi (South bound traffic).
If you pull or browse the repo from GitHub you'll see all the details. The lab document talks about the Pi application starting on page 22. Look that over and review the python script and Azure Sphere application. That will answer most of your questions.
Brian
Thank you for helping. I will work on it. If I have a question, I will let you know.
Mustafa