<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/1044" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2020-12-14T20:18:31+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/1044</id>

		<entry>
		<author><name><![CDATA[bensailor]]></name></author>
		<updated>2020-12-14T20:18:31+00:00</updated>

		<published>2020-12-14T20:18:31+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2374#p2374</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2374#p2374"/>
		<title type="html"><![CDATA[Re: Stereopi I2C connection]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2374#p2374"><![CDATA[
Thanks Realizator. I found the solution as I had to manually adjust the Bus address since we are using a compute module.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=358">bensailor</a> — Mon Dec 14, 2020 8:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-11-17T22:51:40+00:00</updated>

		<published>2020-11-17T22:51:40+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2358#p2358</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2358#p2358"/>
		<title type="html"><![CDATA[Re: Stereopi I2C connection]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2358#p2358"><![CDATA[
This issue is similar to this one: <a href="https://github.com/Seeed-Studio/Seeed_Python_MLX9064x/issues/7" class="postlink">https://github.com/Seeed-Studio/Seeed_P ... x/issues/7</a><br>As we have a few I2C buses initialized on the StereoPi, you might try to select the one you are planning to use in "self.bus = Bus()"<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Nov 17, 2020 10:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bensailor]]></name></author>
		<updated>2020-11-16T21:26:11+00:00</updated>

		<published>2020-11-16T21:26:11+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2356#p2356</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2356#p2356"/>
		<title type="html"><![CDATA[Stereopi I2C connection]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2356#p2356"><![CDATA[
Hello<br><br>I have brought a seeed grove MLX90640 thermal camera to add to my project. <br><br>i am having issues with  a bus error. I am not sure where the error comes from and whether it would be hardware related to gpioheader connection or software. I have used the correct GPIO pins, scl &amp; sda and run out of ideas to trouble shoot. I know this is a bit unrelated to StereoPI but I thought since I have a raspbian image I could use the GPIO pins like a normal raspberry pi. <br><br>I have followed this setup guide <a href="https://github.com/Seeed-Studio/Seeed_Python_MLX9064x" class="postlink">https://github.com/Seeed-Studio/Seeed_Python_MLX9064x</a><br><br>My i2C is enabled and seems to be working:<br><br>pi@raspberrypi:~ $ ls /dev/i2c*<br>/dev/i2c-1<br>pi@raspberrypi:~ $ i2cdetect -y -r 1<br>0 1 2 3 4 5 6 7 8 9 a b c d e f<br>00: – -- – -- – -- – -- – -- – -- –<br>10: – -- – -- – -- – -- – -- – -- – -- – --<br>20: – -- – -- – -- – -- – -- – -- – -- – --<br>30: – -- – 33 – -- – -- – -- – -- – -- – --<br>40: – -- – -- – -- – -- – -- – -- – -- – --<br>50: – -- – -- – -- – -- – -- – -- – -- – --<br>60: – -- – -- – -- – -- – -- – -- – -- – --<br>70: – -- – -- – -- – --<br><br>However when I try to run the BasicReadings.py I get the following error.<br>pi@raspberrypi:~/Seeed_Python_MLX9064x/examples $ python BasicReadings.py<br>Traceback (most recent call last):<br>File “BasicReadings.py”, line 22, in<br>main()<br>File “BasicReadings.py”, line 9, in main<br>mlx = seeed_mlx9064x.grove_mxl90640()<br>File “/home/pi/.local/lib/python3.7/site-packages/seeed_mlx9064x.py”, line 86, in init<br>super(grove_mxl90640, self).init(address)<br>File “/home/pi/.local/lib/python3.7/site-packages/seeed_mlx9064x.py”, line 27, in init<br>self.bus = Bus()<br>File “/home/pi/.local/lib/python3.7/site-packages/grove/i2c.py”, line 59, in init<br>bus = rev_to_bus[rev]<br>KeyError: 0<br><br><br>It would be helpful just to rule out if this could be caused by using a stereopi instead of raspberry pi.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=358">bensailor</a> — Mon Nov 16, 2020 9:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
