https://github.com/lukasdrsman/uno-yt-livechat
Youtube livechat for Arduino Uno with LCD I2C display
https://github.com/lukasdrsman/uno-yt-livechat
arduino arduino-uno lcd lcd16x2 live-streaming livechat platformio python python3 youtube youtube-livestream
Last synced: about 2 months ago
JSON representation
Youtube livechat for Arduino Uno with LCD I2C display
- Host: GitHub
- URL: https://github.com/lukasdrsman/uno-yt-livechat
- Owner: LukasDrsman
- License: unlicense
- Created: 2020-05-15T20:30:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T14:30:18.000Z (almost 6 years ago)
- Last Synced: 2025-01-28T19:45:35.994Z (over 1 year ago)
- Topics: arduino, arduino-uno, lcd, lcd16x2, live-streaming, livechat, platformio, python, python3, youtube, youtube-livestream
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uno-yt-livechat
## Installation
#### Requirements:
* arduino UNO
* python3 with pip
* pytchat
* pyserial
* unidecode
* platformio
#### Install dependencies:
```sh
pip install pytchat pyserial unidecode --user
sudo pip install platformio
```
#### Clone:
```sh
git clone https://github.com/LukasDrsman/uno-yt-livechat.git
cd uno-yt-livechat
```
#### Configure:
##### uno/lib/config/config.h
* address - i2c address
* width - display width in characters per line
* lines - number of lines of display
```c
extern char address = 0x27;
extern int width = 16;
extern int lines = 2;
```
##### config-example.py
* yt_chat_id - livestream id ( /watch?v=*this string* )
* port - port to arduino uno
* linux: /dev/ttyACM*n*
* windows: COM*n*
* chr_delay - length of time before new character appears on screen
* chat_delay - length of time between messages
```python
yt_chat_id = "7NOSDKb0HlU"
port = "/dev/ttyACM0"
chr_delay = 0.15
chat_delay = 2
```
#### Upload and install:
```sh
mv config-example.py config.py
./upload
sudo ./install
```
## Usage
#### Connect display to uno:

#### Run:
```sh
yt-livechat
```