Openframeworks Raspberry PI GPIO interfaces, SPI (Serial Peripheral Interface), I2C (Inter Integrated Circuit), IO Pin read/write.
Example simple Button Read state:
- Raspberry pi (2/3/Zero/A/A+/B+)
- Button
Example simple Led Blink:
- Raspberry pi (2/3/Zero/A/A+/B+)
- Led
Example simple Relay on / off Light:
- Raspberry pi (2/3/Zero/A/A+/B+)
- Relay 5v
- Lamp
Example GPS UART: http://aprs.gids.nl/nmea/
- Raspberry pi (2/3/Zero/A/A+/B+)
- GPS breakout v3
Example i2c multiple byte read MPU6050:
- Raspberry pi (2/3/Zero/A/A+/B+)
- MPU6050
Example Led Matrix8x8:
- Raspberry pi (2/3/Zero/A/A+/B+)
- Led Matrix
Example Servo motor(Attention raspberry not to have pin PWM, for this we use a CLK pin, advice integrated pwm):
- Raspberry pi (2/3/Zero/A/A+/B+)
- Servo Motor
Example GPIO read/write stepper rotation:
- Raspberry PI
- Stepper Motor bipolar
- sn754410ne H-Bridge
- Button
- wiring
fritzing example: sn754410ne H-Bridge:
video: http://www.youtube.com/watch?v=lwRd5D9EuU0
Example GPIO I2C communication:
- Raspberry PI
- Arduino
- LED
- Resistor 75 ohm
- wiring
fritzing example:
video: http://www.youtube.com/watch?v=SRz750EdjfY
Example GPIO SPI add Analog pin MCP3008 potentiometer:
- Raspberry
- MCP3008
- Potentiometer
- wiring
fritzing example: MCP3008 8-Channel 10-Bit ADC
video: http://www.youtube.com/watch?v=PkDkCJyZ2go
for i2c and SPI configuration visit this page:
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-spi
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c