https://github.com/dubinsky/podval-iot
Raspberry Pi GPIO access
https://github.com/dubinsky/podval-iot
Last synced: 10 months ago
JSON representation
Raspberry Pi GPIO access
- Host: GitHub
- URL: https://github.com/dubinsky/podval-iot
- Owner: dubinsky
- Created: 2012-12-27T00:13:58.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-02T18:44:04.000Z (almost 13 years ago)
- Last Synced: 2025-06-22T14:41:17.041Z (12 months ago)
- Language: Scala
- Size: 346 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Raspberry Pi GPIO Acess
##Why
I want to be able to program my [Raspberry Pi](http://www.raspberrypi.org/) in Scala.
That includes:
* working with the i2c bus
* working with GPIO
* sending data to Cosm
##Credits
I used as sources of information and inspiration:
* Official Broadcom [documentation](http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf)
on BCM2835 peripherals (this is the chip inside Raspberry Pi)
* Tutorial on [RPi Low-Level Peripherals](http://elinux.org/RPi_Low-level_peripherals)
* [pi4j project](http://pi4j.com/)
* [RPi.GPIO](http://pypi.python.org/pypi/RPi.GPIO)
* Java i2c [binding](http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=3308&start=25)
by Peter Simon . This was my inspiration to use JNA. Only one call (ioctl)
turned out to be neccesary.
* Adafruit Raspberry Pi Python [Code](https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git) for
the parts from Adafruit.
* Chris Hatton's [note](http://www.chrishatton.org/archives/88) on GPIO port on the Raspberry Pi
* Ilya's [note](http://highlyscalable.wordpress.com/2012/02/02/direct-memory-access-in-java/) on Unsafe
* i2c-tools package (the source of python-smbus that Adafruit uses) as an example on how to use i2c-dev driver
* i2c_bcm2708 driver
* [jpachube](http://code.google.com/p/jpachube/source/browse/trunk/src/Pachube/Pachube.java)