2013-12-07 18:41:06 +01:00
|
|
|
# go-rpi
|
|
|
|
|
|
|
|
Use various sensors on the RaspberryPi with Golang (like a ninja!)
|
2013-12-08 20:06:56 +01:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
[![GoDoc](http://godoc.org/github.com/kid0m4n/go-rpi?status.png)](http://godoc.org/github.com/kid0m4n/go-rpi)
|
2013-12-08 20:47:31 +01:00
|
|
|
|
|
|
|
## Protocols supported
|
|
|
|
|
2013-12-08 20:50:27 +01:00
|
|
|
### I2C
|
2013-12-08 20:47:31 +01:00
|
|
|
|
|
|
|
[Documentation](http://godoc.org/github.com/kid0m4n/go-rpi/i2c)
|
|
|
|
|
|
|
|
## Sensors supported
|
|
|
|
|
2013-12-08 20:50:27 +01:00
|
|
|
### BMP085
|
2013-12-20 21:36:06 +01:00
|
|
|
|
2013-12-08 20:47:31 +01:00
|
|
|
Barometric pressure sensor
|
|
|
|
|
2013-12-08 20:50:27 +01:00
|
|
|
[Documentation](http://godoc.org/github.com/kid0m4n/go-rpi/sensor/bmp085) [Datasheet](https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf)
|
2013-12-08 20:47:31 +01:00
|
|
|
|
2013-12-08 20:50:27 +01:00
|
|
|
### LSM303
|
2013-12-20 21:36:06 +01:00
|
|
|
|
2013-12-08 20:47:31 +01:00
|
|
|
Accelerometer and magnetometer
|
|
|
|
|
2013-12-08 20:50:27 +01:00
|
|
|
[Documentation](http://godoc.org/github.com/kid0m4n/go-rpi/sensor/lsm303) [Datasheet](https://www.sparkfun.com/datasheets/Sensors/Magneto/LSM303%20Datasheet.pdf)
|
2013-12-13 01:21:22 +01:00
|
|
|
|
|
|
|
### US020
|
|
|
|
|
|
|
|
Ultrasonic proximity sensor
|
|
|
|
|
2013-12-20 21:36:06 +01:00
|
|
|
[Documentation](http://godoc.org/github.com/kid0m4n/go-rpi/sensor/us020) [Product Page](http://www.digibay.in/sensor/object-detection-and-proximity?product_id=239)
|
|
|
|
|
|
|
|
### BH1750FVI
|
|
|
|
|
|
|
|
Luminosity sensor
|
|
|
|
|
|
|
|
[Documentation](http://godoc.org/github.com/kid0m4n/go-rpi/sensor/us020) [Datasheet](http://www.elechouse.com/elechouse/images/product/Digital%20light%20Sensor/bh1750fvi-e.pdf)
|