After earlier advice I have installed my PiGlow on my Raspberry Pi (B+). However, for the life of me, I cannot get it working.
I have followed the instructions here: https://github.com/pimoroni/piglow (Section setting up).
I have installed WiringPi, PyGlow.py, piglow-sysmon and the piglow example from pimoroni.
I get either no response at all, or an I/O error.
Code: Select all
sudo i2cdetect -y -q 1Code: Select all
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --Code: Select all
sudo modprobe i2cdevCode: Select all
FATAL: Module i2cdev not found.Code: Select all
gpio load i2cgpio: Warning: File not present: /dev/i2c-0
Running PyGlow test.py gives me:
Code: Select all
Traceback (most recent call last):
File "test.py", line 18, in <module>
pyglow = PyGlow()
File "/home/pi/lib/python/PyGlow/PyGlow.py", line 120, in __init__
self.bus.write_byte_data(I2C_ADDR, EN_OUTPUT_ADDR, 0x01)
IOError: [Errno 5] Input/output errorCode: Select all
Traceback (most recent call last):
File "piglow-example.py", line 52, in <module>
piglow = PiGlow(1)
File "piglow-example.py", line 24, in __init__
self.write_i2c(CMD_ENABLE_OUTPUT, 0x01)
File "piglow-example.py", line 43, in write_i2c
self.bus.write_i2c_block_data(self.i2c_addr, reg_addr, value)
IOError: [Errno 5] Input/output errorAre my PiGlow or my GPIO pins broken?
Did I install it wrong (lined up all the way to the edge of the Raspberry Pi, not at the side of the USB ports)?
Do I need to change something to make it work on my B+?
Is there any more diagnostics I can do?

