ICP 14 - Gnkhakimova/CS5590-IoT GitHub Wiki

ICP 14

Video

https://www.youtube.com/watch?v=Ri9Zmi8Qu6E&feature=youtu.be

Sources Code

https://github.com/Gnkhakimova/CS5590-IoT/tree/master/ICPs/ICP-14/Source%20Code/ICP%2014

Introduction

Create an in class project (ICP 14). This in class project deals with several component integrating together to program a robot to speak. Not only to speak, but to get the weather in our local area and tell me whats the temperature. The component that were needed to accomplish this task were, Choregraphe which is where most of the robot program will be done in using Python. Also needed open weather map along with Choregraphe.

Objective

The objective of this in class project (ICP 14) is to get the robot to tell you the temperature in our local area. The way we did that were, we used Choregraphe program to retrieve data from our open weather map using API key. We were able to test our results in one or two way. The first way is the built in robot in Choregraphe and the second way is to use the actual robot which we connected to via WiFi.

Approach/Method

The approach our team took before we started on our in class project were to get used to Choregraphe and how we are able to send message to the built in robot and actual robot. After we tested and ran a couple of demos on the actual robot we began to get the weather data using our API key. Once we were able to get the json data file we break the json into pieces and send the temperature data to the actual robot so he can verbally tell us the temperature. We also manage to get him to laid down and stand up and tell us the weather from our local area.

Workflow

The workflow of our in class project (ICP 14) were straight forward. First, we started slow and gave simple command to the actual robot, such as, tell him to say "hello", walk forward, sit down, etc. Once we manage how to handle him, we started working on coding in the retrieving a json data. We then break the data down and send the temperature data only to him so he can verbally speak.

Circuit Diagram


Parameter

The parameter we had to include in this in class project were Choregraphe, actual robot, and open weather map to get our temperature data. We used Choregraphe to write our python code and connect to our actual robot via WiFi. We used Python to create a request to the temperature from open weather map.

Evaluation/Discussion

As a team we decided to take on the demo test first before we started on our actual in class project. The reason for this is for us to get used to and understand how to use Choregraphe, built in robot and the actual robot. Once we got the hang of the robot we started to research about getting data from open weather map and sending the data to our robot for verbal communication.

Conclusion

Conclusion for the in class project (ICP 14) we manage to fully complete the in class project. We were able to receive data from open weather map and send it to our robot. We were able to make the actual robot lay down, stand up and tell us the weather in our local area.