Web application to remotely control RGB LEDs via IR signal - for Raspberry Pi - written in Go
It uses two other go packeges:
- go-rpio - to control gpio pins of Raspberri Pi (from stianeikeland - which I extended by clock and pwm modes)
- go-nec - my small package for basic encoding and transmission of NEC - Infrared transmission protocol
- RGB LED strip with 24-button IR remote controller
- for 44-button controller some tweaks in code are neccesary
- the remote itself is not actually needed - it will be replaced with pi
- Raspberry Pi A+/B+/2B/3B/ZERO
- with network connection
- with golang installed
- 940nm IR LED
- suitable resistor and jumper wires
- Run:
go get -u -v github.com/drahoslav7/ledserver cd $GOPATH/src/github.com/drahoslav7/ledserver sudo ledserver
- Open in your browser:
http://<ip of your pi>:8080/