problems PicoBorg Reverse
Forums:
hi,
i'm new here, so sorry if my English or my explications isn't perfect :)
i have some problems when i want to run diddysequence
i have this error message :
"No PicoBorg Reverse found, check you are attached :) "
i have already look after other subjets but donc find issues
thanks for the help
piborg
Fri, 06/30/2017 - 15:13
Permalink
No PicoBorg Reverse found
The most likely explanation is that the two 3-pin cables between the Raspberry Pi and PicoBorg Reverse are not making a good connection.
First I would double-check that these cables are connected the correct way around and that they are pushed firmly onto the connectors at both ends.
If you can then run these two commands and let us know what results are shown on the screen:
sudo i2cdetect -y 0
sudo i2cdetect -y 1
tdomenigoni
Fri, 06/30/2017 - 15:40
Permalink
done !
that's what i have on my screen :)
thanks a lot for the help
pi@raspberrypi:~ $ sudo i2cdetect -y 0
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- 1c -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- UU -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- 5c -- -- 5f
60: -- -- -- -- -- -- -- -- -- -- 6a -- -- -- -- --
70: -- -- -- -- -- -- --
piborg
Fri, 06/30/2017 - 17:12
Permalink
The board is showing up
The
44
shown is the default address for PicoBorg Reverse, so it should be working.Could you run these commands to start Python:
And then use these commands to setup the PicoBorg Reverse:
If you could copy the full output from Python it might help us figure out what is wrong.
tdomenigoni
Mon, 07/03/2017 - 08:31
Permalink
done
hi,
that's the output python result , thanks a lot
piborg
Mon, 07/03/2017 - 10:58
Permalink
Out of date code?
It looks like you might be running an old version of the PicoBorg Reverse library. We recently found a problem with the I2C code which causes this
ID 00 instead of 15
error.We have since fixed this problem, all you need to do is download the updated version of
PicoBorgRev.py
and it should start working. Follow this guide to update your code: PicoBorg Reverse library fix.tdomenigoni
Mon, 07/03/2017 - 12:55
Permalink
mistakes
i have already change all the PicoBorgRev.py file with the correct libraries ... i don't understand why the problem is always here...
is it maybe a problem with the version of raspbian ?
piborg
Mon, 07/03/2017 - 13:07
Permalink
Old script
The version of the script it is loading is definitely the old one, the new version does not automatically try the old "bus 0", the screenshot you posted did.
If you run these commands you can check:
The new version output looks like this:
The new version imports
io
andfcntl
. The old version usessmbus
instead.I would suggest re-installing the software completely:
tdomenigoni
Mon, 07/03/2017 - 14:01
Permalink
problem
i show you the result..
don't understand ..
piborg
Mon, 07/03/2017 - 14:34
Permalink
Different folders
Okay, it looks like the
~/diddyborg
directory does have the correct version.Based on the
sudo i2cdetect -y 1
results I am assuming you have other devices connected to the GPIO on your Raspberry Pi. Can you try the following:tdomenigoni
Thu, 07/06/2017 - 13:22
Permalink
done !
Hi ,
i have done what you told me 2 days before,
and that's my results..
i don't understand
piborg
Thu, 07/06/2017 - 15:52
Permalink
Very strange
This looks very strange, the code seems to be working fine from the
~/picoborgrev
directory, but not the~/diddyborg
directory.Try running these commands to copy the files from the
~/picoborgrev
directory:Be extra careful typing the commands in, Linux is very picky about upper / lower case letters and exact symbols (
~
,.
,*
for example). It may be easier to copy and paste each command into Putty to be safe.After that try the script again and see if it now works.