This application note showcases a simple fun exercise where in a email notifier would be implemented on a BBB. This email notifier could be used to notify any data for instance weather, emails, facebook likes etc.,lets have a look in to it.
Installation Steps:
Step 1:
Installing Debian operating system with GUI and python GPIO library you can go here.
Initially we have to install the required packages.
Step 2:
Here we are installing python-pip package for installing feedparser.
Step 3:
Here we are installing feedparser.
Step 4:
After installing feedparser you will get successful message like below.
Step 5:
Open an editor with the your filename.py ,copy paste the code and change the login credentials as per your account and save it.
Screenshot of the Coding
[gist] https://gist.github.com/TenetTechnetronics/8220700 [/gist]
Make it as executable by the following command.
$ chmod a+x yourfilename.py
Circuit connection
I am connecting two led’s to P9_12 and P9_14
(I am just directly connecting it to the board :))
Step 6:
Run the python script by the following command.
$ sudo ./yourfilename.py
Step 7:
After executing a script one of your led goes ON.
Want to buy Beaglebone Black
For Queries: info@tenettech.com
Contact: 080-26722726