M2(ICP3) Wiki Report - aaackc/IOT GitHub Wiki
IOT
Module2 (ICP3)
## Github:
• Github.com/AnthonyYos/IoT
• github.com/aaackc
• github.com/s0720bae
• github.com/Alshaikh1abbas
Video:
https://www.youtube.com/watch?v=e_O-MjIxw3M&feature=youtu.be
Introduction:
The goal of ICP10 was using the raspberry pi post a message to twitter, and then post a message and picture to twitter. Approaches/ Methods: Followed a guide on how to setup a python script that would both interact with the camera, taking pictures, and then using both our message and picture post them onto twitter through the twython library.
Workflow:
• Install the twython library.
• Get api keys from twitter developer account.
• Connect camera to raspberry
• Change script for personal use case
Raspberry Diagram:
Parameters:
• Added api keys to existing script
• Added code to use camera
• Added code to post message and picture to twitter
Evaluation & Discussion:
ICP was very slow to start, as we've been having trouble getting the raspberry pi to work for our group. Afterwards the ICP was rather straightforward after using a guide on how to use the twython to post to twitter, and another guide on how to use the picamera.
Conclusion:
We were exposed to a use case of how a raspberry pi can be used to interact with twitter. We are able to see how the raspberry pi can be used to for many different purposes when interacting with twitter, without the direct input of the user.