Skip to content

NBprojekt/poe-hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoE Hat

Configuration of waveshare poe head

Preview

Install python and python tooling

apt-get update && apt-get install python3.6 python3-pip

Installation library

pip3 install RPi.GPIO smbus

Enable i2c module

Add the following modules to /etc/modules:

  • i2c-bcm2708
  • i2c-dev

Pull repo into

git clone https://github.com/NBprojekt/poe-head.git /usr/share/poe-hat

Add script to startup

Open crontab crontab -e and add the following line @reboot /usr/bin/python3 /usr/share/poe-hat/src/main.py &