<div dir="ltr">  Bob,<div><br></div><div>Sorry that you are having difficulty.  </div><div><br></div><div>The final magnetometers were released quite a long time after the instructions were written, and there were some differences to what was discussed along the way.</div><div>The magnetometer module itself appears (as you notice) at address 0x23.</div><div>The remote temperature sensor appears at address 0x1F.</div><div>The chip for the LOCAL temperature sensor is not populated, so it does not appear on the bus.</div><div><br></div><div>It is possible to change the defaults listed in the code and recompile, but an easier way is just to use the command line.</div><div>For testing purposes, This command may be useful (assuming the original code): </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">./runMag <b>-M 0x23</b> </font><span style="font-family:monospace"><b>-R 0x1F </b></span><span style="font-family:monospace"><b>-r</b> </span><span style="font-family:monospace">-b 1 -j -A 60 -c 400 -Z </span></div><div><span style="font-family:monospace"><br></span></div></blockquote><font face="arial, sans-serif">The above command tells the Pi to read the PNI Magnetometer module at address 0x23, the remote temp sensor at 0x1F, and to ignore the local temp sensor. </font><br><div><br></div><div>Something like this should work for actually running the sensor and collecting data into log files for uploading:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-family:"times new roman",serif"> ~/rm3100-runMag/runMag </span>

<font face="monospace"><b>-M 0x23</b> </font><span style="font-family:monospace"><b>-R 0x1F </b></span><span style="font-family:monospace"><b>-r</b> </span><span style="font-family:monospace">-b 1 -j -A 60 -c 400 -Z</span>  <span style="font-family:"times new roman",serif"> -S <b><i><YOUR CALLSIGN></i></b> -O ~/rm3100-runMag/logs</span><br></div></blockquote><div style=""><font style="" face="arial, sans-serif"><br></font></div><font face="arial, sans-serif">For production use, I also recommend that you replace the tilde characters above (~) with the full path of the rm3100-runMag directory.  This may be more reliable in some contexts.</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">If you (or anyone) continue to have problems, please contact me directly by email and we can arrange a phone call, Zoom session, or whatever is required.</font></div><div><span style="font-family:arial,sans-serif">I am committed to helping people get these running for people and I am very happy to assist.</span><br></div><div><font face="arial, sans-serif">I will be unavailable for a couple of weeks in mid-August as I will be traveling, though.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Dave Witten, KD0EAG<br></font><div><font face="arial, sans-serif"> </font></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Jul 2023 at 23:33, <<a href="mailto:tangerinesdr-request@lists.tapr.org" target="_blank">tangerinesdr-request@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">Send TangerineSDR mailing list submissions to<br>
        <a href="mailto:tangerinesdr@lists.tapr.org" target="_blank">tangerinesdr@lists.tapr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:tangerinesdr-request@lists.tapr.org" target="_blank">tangerinesdr-request@lists.tapr.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:tangerinesdr-owner@lists.tapr.org" target="_blank">tangerinesdr-owner@lists.tapr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of TangerineSDR digest..."<br>
Today's Topics:<br>
<br>
   1. Re: Magnetometer bring up issues (Bob Stricklin)<br>
<br><br><br>---------- Forwarded message ----------<br>From: Bob Stricklin <<a href="mailto:bstrick@n5brg.com" target="_blank">bstrick@n5brg.com</a>><br>To: TAPR TangerineSDR Modular Software Defined Radio <<a href="mailto:tangerinesdr@lists.tapr.org" target="_blank">tangerinesdr@lists.tapr.org</a>><br>Cc: <br>Bcc: <br>Date: Sat, 8 Jul 2023 02:48:17 +0000<br>Subject: Re: [TangerineSDR] Magnetometer bring up issues<br>



<div>
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>
<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>

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>