Update addons ofxGPIO

Hello guys,

I made some fundamental changes to ofxGPIO,
now compatible with Raspberry pi (2/3/B+/A+/Zero)

add new class:

GPIO
I2CBus
SPI
rpiPWM1
ReadRawData
GPSSerial
GETGoogleImage

add new example:

example-gps-breakout
example-mpu6050-simple
example-mpu6050
example-servo
example-apa102-ledstrip
example-led-matrix8x8
example-i2c
example-spi
example-read-write
example-simple-button
example-relay
example-simple-led 

I have also provided a small example in more for MPU6050 with “complementary filter” to have degrees in the rotation of the IMU.

the tests were performed with:

raspberry pi 3 Jessie openframeworks 0.9.3 Arm6
raspberry pi 2 Jessie openframeworks 0.9.3 Arm6
raspberry pi Zero Jessie openframeworks 0.9.3 Arm6
raspberry pi B+ Wheezy openframeworks 0.8.4 Arm7
raspberry pi A+ Wheezy openframeworks 0.8.4

(update in progress).

source:

6 Likes

Update example Relay Lamp and i2c Test Led Matrix8x8:


1 Like

APA102 SPI Led strip:

1 Like

add example-gps-breakout GPS tracking with GPS breakout v3 Adafruit:


Someone asked me where I found this LCD for raspberry.
This actually is an old hack that runs for some time, very simple.

Small Guide:

  1. screwdrivers:
  2. disassemble the laptop:
  3. behind the LCD, there are several serial numbers, usually the ID you need is at the top right:
  4. copy the serial number, and search on the internet…
    I use this reliable supplier:

http://www.ebay.it/usr/e-qstore

what you should buy is a “kit LCD Screen Driver Inverter” compatible
with your serial number.

my kit cost: US $37,85


Ciao

4 Likes

small example to HMC5883L compass i2c control.

1 Like

UDP sync compass HMC5883L Raspberry pi zero to Desktop