Skip to content

Automated remote control of a Lego model railway, based on Raspberry Pi Zero W.

Notifications You must be signed in to change notification settings

ulzha/pi-train-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-train-controller

Automated remote control of a LEGO model railway, based on Raspberry Pi Zero W.

Documentation of the protocol used by the LEGO Power Functions infrared remote control can be found here.

Following the awesome advice in Brian Schwind's blog, I disregarded lirc and went for the pigpio library, which worked like a charm. Install it and configure pigpiod to run on boot:

pi@raspberrypi:~ $ sudo apt install python3-pigpio
pi@raspberrypi:~ $ sudo systemctl enable pigpiod
pi@raspberrypi:~ $ sudo systemctl start pigpiod

Hardware used:

About

Automated remote control of a Lego model railway, based on Raspberry Pi Zero W.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages