<div dir="ltr">Bob <div><br></div><div>A bit of history.  The original idea was to produce a single board that could be used at either end of the link.  The issue with this is that the common boards had parts that were generally non-informative.</div><div>For example, the LCL temp sensor is just the temperature of the board in your radio shack.  The RMT is the temperature of the board in the mounting tube outside and is used for temperature compensation for the PMI board.  </div><div><br></div><div>For some reason the i2c addresses were moved during the final production of the board and the local temperature sensor was removed to reduce cost.  </div><div>The software can be changed as you display  above or through command line switches.  See "runmag -h"</div><div><br></div><div>I hope this makes things a bit clearer.</div><div><br></div><div>Dave Larsen KV0S</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 7, 2023 at 11:33 PM Bob Stricklin via TangerineSDR <<a href="mailto:tangerinesdr@lists.tapr.org">tangerinesdr@lists.tapr.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
I managed to get this working by forcing the proper address in the header files as shown below.  My guess is the developers had HAT pcbs and remote pcbs that had all the parts populated. The TAPR boards only have parts on the remote boards. The code is not
 dealing with this properly or I did not set some flag I was supposed to set. 
<div><br>
</div>
<div>This is what makes it function:</div>
<div><br>
</div>
<div><b>device_defs.h</b></div>
<div><br>
</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<div style="margin:0px;font-stretch:normal;line-height:normal">
<div style="color:rgb(47,180,29);margin:0px;font-stretch:normal;line-height:normal">
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">//-------------------------------------------</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// Address of the device changed N5BRG  7/7/2023</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">//-------------------------------------------</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// #define RM3100_I2C_ADDRESS              0x20</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// #define RM3100_I2C_ADDRESS_7bit         0x20</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// #define RM3100_I2C_ADDRESS_8bit         0x20 << 1 // MBED uses 8 bit address</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">#define RM3100_I2C_ADDRESS              0x23</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">#define RM3100_I2C_ADDRESS_7bit         0x23</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">#define RM3100_I2C_ADDRESS_8bit         0x23 << 1 // MBED uses 8 bit address</span></div>
</div>
<div style="color:rgb(47,180,29);margin:0px;font-stretch:normal;line-height:normal">
<br>
</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><b>MCP9808.h</b></div>
<div style="color:rgb(47,180,29);margin:0px;font-stretch:normal;line-height:normal">
<b><br>
</b></div>
<div style="color:rgb(47,180,29);margin:0px;font-stretch:normal;line-height:normal">
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// MCP9808 Bus Address.</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">//-----------------------------------</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">//#define MCP9808_LCL_I2CADDR_DEFAULT         0x18       // alt: (selected by chip hardware 0x18 - 0x1F</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">//#define MCP9808_RMT_I2CADDR_DEFAULT         0x19       // alt: (selected by chip hardware 0x18 - 0x1F</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">// Changed N5BRG  7/7/2023</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">#define MCP9808_LCL_I2CADDR_DEFAULT         0x1F       // alt: (selected by chip hardware 0x18 - 0x1F</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">#define MCP9808_RMT_I2CADDR_DEFAULT         0x1F       // alt: (selected by chip hardware 0x18 - 0x1F</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">I see the MEMORY chip is on a different i2c bus and don’t think I have this one function yet.  I figured the idea was to put calibration info in that chip.</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">I plane to look a little more into that issue and get it working before I put the remote sensor in the ground.</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Bob N5BRG</span></div>
<div><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Jul 7, 2023, at 4:29 PM, Bob Stricklin via TangerineSDR <<a href="mailto:tangerinesdr@lists.tapr.org" target="_blank">tangerinesdr@lists.tapr.org</a>> wrote:</div>
<br>
<div>
<div style="overflow-wrap: break-word;">
<div>I am trying to get the TAPR supplied magnetometer working and having some problems.</div>
<div><br>
</div>
<div>After cloning Dave's GitHub and running make I see this output:</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(64,11,217)">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ls</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">CHANGES.txt  cmdmgr.h  device_defs.h  i2c.c  i2c.o   
</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>logs</b></span><span style="font-variant-ligatures:no-common-ligatures">    main.h    MCP9808.h      README.md  runMag.c  runMag.o      
</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>runrun.sh</b></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">cmdmgr.c     cmdmgr.o 
</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>docs</b></span><span style="font-variant-ligatures:no-common-ligatures">           i2c.h  LICENSE  main.c  Makefile  metadata.json 
</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>runMag</b></span><span style="font-variant-ligatures:no-common-ligatures">     runMag.h 
</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>run-nopipe.sh</b></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(64,11,217)">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> cat runrun.sh </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">./runMag -b 1 -j -M 23 -A 10 -c 400 -U 140 -Z > /home/web/wsroot/pipein.fifo</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(64,11,217)">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> mkdir test/</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -b 1 -j -M 23 -A 10 -c 400 -U 140 -Z > ./test/pipein.fifo</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">./runMag: invalid option -- 'U'</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -b 1 -j -M 23 -A 10 -c 400 -Z > ./test/pipein.fifo</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error : I/O error reading temp sensor at address: [0x19].</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error : I/O error reading temp sensor at address: [0x18].</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error : I/O error reading temp sensor at address: [0x19].</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error : I/O error reading temp sensor at address: [0x18].</span></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -M 23 -m</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"time", "rtemp", "ltemp", "x", "y", "z", "rx", "ry", "rz", "total"</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"07 Jul 2023 21:04:38", 15.1029, -19.0455, 45.8655, 134, -169, 407</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"07 Jul 2023 21:04:38", 15.0998, -19.0481, 45.8631, 134, -169, 407</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"07 Jul 2023 21:04:39", 15.0984, -19.0519, 45.8628, 134, -169, 407</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"07 Jul 2023 21:04:40", 15.0972, -19.0479, 45.8633, 134, -169, 407</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">"07 Jul 2023 21:04:41", 15.0957, -19.0515, 45.8711, 134, -169, 407</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">^C</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -L 1f -l</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_writebuf(): write(): Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_read read value.: Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">RM3100 REVID NOT CORRECT: RM3100 REVID: 0x0 <> EXPECTED: 0x22.</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -L 0x1f -l</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_writebuf(): write(): Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_read read value.: Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">RM3100 REVID NOT CORRECT: RM3100 REVID: 0x0 <> EXPECTED: 0x22.</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> ./runMag -L 0x1F -l</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_writebuf(): write(): Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c_read read value.: Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">RM3100 REVID NOT CORRECT: RM3100 REVID: 0x0 <> EXPECTED: 0x22.</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~/rm3100-runMag
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> sudo ./runMag -L 0x1f -l</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">i2c_writebuf(): write(): Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">i2c_read read value.: Remote I/O error</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">RM3100 REVID NOT CORRECT: RM3100 REVID: 0x0 <> EXPECTED: 0x22.</span></div>
<div><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<br>
<span style="font-variant-ligatures:no-common-ligatures"></span></div>
</div>
<div><br>
</div>
<div>Raspberry Pi 3B:  (Also tried a few other Raspberry Pi units.)</div>
<div><br>
</div>
<div>used sudo raspi-config to activate I2C</div>
<div><br>
</div>
<div>Then I edited /boot/config.txt to add:</div>
<div><br>
</div>
<div>dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=28,i2c_gpio_scl=27</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> i2cdetect -l  </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c-3<span style="white-space:pre-wrap">
</span>i2c       <span style="white-space:pre-wrap"></span>3.i2c                          
<span style="white-space:pre-wrap"></span>I2C adapter</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">i2c-1<span style="white-space:pre-wrap">
</span>i2c       <span style="white-space:pre-wrap"></span>bcm2835 (i2c@7e804000)         
<span style="white-space:pre-wrap"></span>I2C adapter</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> i2cdetect -y 1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">00:          -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1f </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">20: -- -- -- 23 -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">70: -- -- -- -- -- -- -- --                         </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> i2cdetect -y 3</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">00:          -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">70: -- -- -- -- -- -- -- --                         </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> i2cdetect -y 2</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error: Could not open file `/dev/i2c-2' or `/dev/i2c/2': No such file or directory</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> i2cdetect -y 4</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Error: Could not open file `/dev/i2c-4' or `/dev/i2c/4': No such file or directory</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(47,180,29)">
<span style="font-variant-ligatures:no-common-ligatures"><b>pi@Fox-in-box-v3</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~
 $</b></span><span style="font-variant-ligatures:no-common-ligatures"> </span></div>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(47,180,29)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(47,180,29)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(47,180,29)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
Results:</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
Looks like the magnetic sensors may be responding but the temp sensor is not responding to reads. The temp sensor does show up as a valid i2c address though.</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
I noticed the memory chip on local and on remote is not responding with address A0 and this device in on the same i2c bus it seems. According to the data sheet</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
without the jumper installed on WP it should be working in read mode. I put the jumper on and still do not see the device with i2cdetect -y 1. If this is not being used for</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
anything else I would prefer to put the jumper on WP and allow it to be used in the ground after being buried. With WP pulled high the chip is still pulling 1 - 2 ma anyway.</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
I would appreciate any comments on what else should be done to get this working so I can put the unit in the ground and get providing data.</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
Bob N5BRG</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<br>
</div>
<div><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
</div>
-- <br>
TangerineSDR mailing list<br>
<a href="mailto:TangerineSDR@lists.tapr.org" target="_blank">TangerineSDR@lists.tapr.org</a><br>
<a href="http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org" target="_blank">http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

-- <br>
TangerineSDR mailing list<br>
<a href="mailto:TangerineSDR@lists.tapr.org" target="_blank">TangerineSDR@lists.tapr.org</a><br>
<a href="http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org" rel="noreferrer" target="_blank">http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">KV0S - Dave Larsen<br>Columbia, MO, USA</div>