The concept of a “Social Medial Ticker” is very similar to that of a desk clock. Like a clock, this keeps you up to date to a live count of your social media accounts may it be like or subscribers etc.
This may not be very important to the average Joe, but as the job title of “Influencer” starts becoming more of a profession than just a hobby you might just find yourself looking at the ticker more than the clock.
Hardware Setup- Connect all the LED matrix Modules in a daisy-chain configuration
- Attach the SeeedStudio Sensor Mezzanine on the 96Boards CE Dev Board.
- Connect the Sensor Mezzanine to the first LED Matrix Module as follow:
- Connect the OLED Module as follow:
- I used ICSP to program the SeeedStudio Mezzanine. You can follow this guide.
This guide assumes that Debian OS is running on a Dragonboard410c on all 4 nodes. How ever the instructions hold true for other 96Boards CE Boards running Debian.
This project is compatible with other Linux based OS, but they might have to be tweaked accordingly.Install Dependencies
$ sudo apt install python-setuptools python-dev python-pip
$ sudo pip install wheel tweepy requests serial
Add tokensFor Twitter:
- Create a developer account at: https://developer.twitter.com/en/apply/user
- Get access token: https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html
- Set <twconsumer_key> in
ticker.py
with your Twitter Consumer Key. - Set <twconsumer_secret> in
ticker.py
with your Twitter Consumer Secret Key. - Set <twaccess_token> in
ticker.py
with your Twitter access token. - Set <twaccess_token_secret> in
ticker.py
with your Twitter access token secret key.
For YouTube
- Follow Google's official guide to generate API key.
- Set in
ticker.py
with your YouTube API Key.
Flash the Sensors Mezzanine with ticker.ino
Test Run
You can run it simply as
$ python ticker.py
Deploy
From Shell
$ python ticker.py &
Video
Comments