eternal-flame-ad/go-wiringpi — explained in plain English
Analysis updated 2026-07-19 · repo last pushed 2019-02-28
Build a door sensor that logs entries when a switch closes.
Create a custom thermostat that reads a temperature sensor and controls a heater.
Make a robot that responds to physical button presses.
Control LED brightness or motor speed using hardware PWM signals.
| eternal-flame-ad/go-wiringpi | aeneasr/github-trends | bxcodec/go-simple-flatbuffer | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | Go | Go | Go |
| Last pushed | 2019-02-28 | 2020-12-18 | 2017-06-09 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | moderate | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | pm founder | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Raspberry Pi and the WiringPi C library to be installed before Go programs can compile and run.
This project lets programmers use the Go language to talk to the physical pins on a Raspberry Pi. If you're building something where code needs to react to the real world, this gives you the bridge to make it happen. At a technical level, it wraps a popular C library called WiringPi so that Go programs can call the same functions without leaving their comfort zone. You initialize the pin system, set a pin to be an input or output, then read whether a pin is currently high or low or write a value to it. It also supports hardware PWM, which is a way to send variable power signals to control things like motor speed or LED brightness with precision. The target user is someone writing Go code on a Raspberry Pi for a hardware project. For example, you might build a door sensor that logs entries, a custom thermostat, or a robot that responds to button presses. If your prototype needs to detect a switch closure or turn on a light based on a condition in your Go program, this is the tool for that job. The project is still a work in progress. Basic pin operations and hardware PWM are done, but support for I2C and SPI (two common ways to communicate with more complex sensors and chips) and software PWM are listed as not yet implemented. That means it works well for simple digital input and output today, but if your project needs to talk to fancier peripherals, you may need to wait or look elsewhere.
A Go library that lets your code control the physical pins on a Raspberry Pi, so Go programs can read sensors and control motors, lights, and other hardware directly.
Mainly Go. The stack also includes Go, C, WiringPi.
Dormant — no commits in 2+ years (last push 2019-02-28).
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.