All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
53 views

I2C Communication between Arduino and RPi failing when Arduino is sending data

I'm trying to read some data from the Arduino slave and when I receive the data it shows some numbers but not the correct ones. I'm using node and i2c-bus module, also tried with wiringPi but got the ...
0
votes
1answer
89 views

enable software i2c on raspberry pi gpio

I am trying to interface more than one sensor with Raspberry Pi Zero W, which communicate using i2c interface. So far I am able to connect sensor to dedicated i2c and read the data. Want to know ...
0
votes
1answer
303 views

Connect multiple concurrent MCP23017 to Raspberry Pi

So I want to control multiple (12) RGB LEDs using the raspberry pi. I have 6 connected to the GPIO ports on the pi itself and want 6 connected to 2 MCP23017. I cannot seem to get them both to show up ...
1
vote
1answer
344 views

Can a GPIO pin be used instead of a I2C pin?

Can a sensor with a I2C output be used with arbitrary GPIO pins on the Raspberry Pi? For example, what about the Sht31 temperature/humidity sensor: https://www.adafruit.com/product/2857
2
votes
1answer
424 views

How to add I²C buses to raspberry

I'm actually designing a electric guitar multi-effect. To achieve this, I plan to use a raspberry pi (probably a Zero W) as a controller. My problem is that I cannot connect all effects (home-made ...
1
vote
2answers
846 views

I2C Send Start Stop Commands using Python

I'm using a PCA9585 board with an I2C interface to control LED lights. I can control each LED separately or control them all at the same time. What I would like to accomplish is to program multiple ...
5
votes
1answer
5k views

Can we use other GPIO pins as I2C

I would like to connect multiple I2C devices to my Raspberry Pi. Can I do that? What do i need to take care? Also is there any library which will output I2C on other GPIOs?
0
votes
3answers
2k views

How to disable I2C pins in Raspberry Pi 3 (jessie)

I need to use the SDA and SCL pins in the GPIO headers. How do I convert them to normal GPIO pins?
3
votes
1answer
2k views

i2cdetect on Raspberry Pi kernel 4.1.18-v7+ takes 115 seconds

I have tried on two different Pi's (2 and zero) with fresh installs and have the same problem. I have i2c enabled via device tree via raspi-config. When I run i2cdetect -y 1 without anything plugged ...
2
votes
1answer
963 views

Modified RPi.GPIO package causes “'module' object has no attribute 'RPI_REVISION'” in camera.py?

My picamera was working fine this morning. i.e the following code was working fine import time import picamera frames="/home/pi/Desktop/picamTEST.raw" camera=picamera.PiCamera() camera.resolution = (...
3
votes
1answer
183 views

Using I2c port as standart GPIO

When I try to use I2c1 SDA pin (GPIO 2 BCM number) via GpioController::OpenPin() func, it compiles OK but it throws an exception HRESULT:0x80070490 Element not found. How should I use I2c pins as any ...
0
votes
1answer
611 views

LED not lighting in circuit to blink LED and display Count on I2C 16x2 LCD

I want to blink an LED while displaying its count on I2C 16x2 LCD display. However the LED is never becoming lit nor is it glowing at all. I used https://www.adafruit.com/product/1115 which uses i2c ....
0
votes
2answers
2k views

Disable i2c in Raspberry Pi

I want to disable the i2c in raspberry pi, so that I can use it as GPIOs. I commented the lines in the /etc/modprobe.d/raspi-blacklist.conf, but not working.