Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

No change in size, 14:46, 11 August 2023
40pin I2C test
=== 40pin I2C test ===
<ol start="51" style="list-style-type: decimal;">
<li>As can be seen from the table below, the I2C available for Orange Pi 3B is I2C2, I2C3, and I2C4 a total of three groups of I2C bus</li>
|}
</ol>
<ol start="62" style="list-style-type: decimal;">
<li>After starting the Linux system, first confirm the I2C device node under/dev.</li>
|}
</ol>
<ol start="73" style="list-style-type: decimal;">
<li>Then connect a I2C device on the I2C pin of the 40PIN connector. Here is an example of the DS1307 RTC module.</li>
[[File:pi3b-img273.png]]
</ol>
<ol start="84" style="list-style-type: decimal;">
<li>Then use the '''i2cdetect -y''' command If the address of the connected I2C device can be detected, it means that the I2C can be used normally</li>
{| class="wikitable" style="width:800px;"
</div></ol>
<ol start="95" style="list-style-type: decimal;">
<li>You can then run the time of the ds '''ds1307.py''' test program in '''examples''' to read the RTC time</li>
{| class="wikitable" style="width:800px;"