Today I made an Microsoft Azure account because Leo wants all of the Capstone Projects to have Cloud features and since Azure is a cloud service, I'm going to assume my professor wants me to take the data points I'll put on the 3D BIM models and have all the data accessible through the cloud. This would actually be a great idea.
I also tried (key word: tried) to send data from a AM3302 digital temperature and humidity sensor from my Raspberry Pi to Azure to show to my professor that I can send sensor data to the cloud. But, I ran into a few potholes. For starters, the IP address of my Pi was changed last semester for a lab involving my BAS pi and I had change the IP address so I could access the internet. Next, I did not have the same sensor as in the guide I was following and my professors didn't have it either so I had improvise with the AM2320 and it did not work. Finally, I tried to follow a another guide to just read data from the AM320 with Azure and that didn't even work.
I told my professor that I would buy the same sensor that is in the guide I followed and next week I will successfully send sensor data to the cloud. Honestly, I find the Raspberry Pi to be a pain to work with which is why I'm thinking about doing the same thing but with my Arduino. After all, I much prefer working with the Arduino and it's an IOT device just like the Pi.
By the way, here are the 2 guides I was following along with a photo of my Raspberry Pi setup:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-raspberry-pi-kit-node-get-started
https://www.modmypi.com/blog/am2302-temphumidity-sensor
-Valentin
No comments:
Post a Comment