Skip to content

thoughtlesslabs/tweet_pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweet Pi

Search keywords on twitter and display them on a 2.7" waveshare e-paper screen

Requirements

  • Raspberry Pi Zero W (or similar)

  • Waveshare 2.7 inch e-Paper Hat

  • Power Supply

To get started make sure you follow the guide on Waveshare to ensure you have all the required drivers. Waveshare demos all require sudo so this was built with that in mind.

You will also need Twitter API access to get a bearer token.

  1. Use the requirements.txt as sudo to pip install needed packages
  2. Create a .env file and add your Twitter API bearer token as BEARER=<your_token>
  3. Launch the program with sudo python3 tweet_pi.py from the tweet_pi folder
  4. Type in a Search Term
  5. Press Key 1 on the HAT once it has initilized to display tweet.
  6. Tweets will cycle through until the limit (or total amount of tweets found) and the restart at the beginning
  7. Press Key 2 on the HAT to clear the screen and exit.

Enjoy!

Example

20220628_204030.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages