[TangerineSDR] TangerineSDR Digest, Vol 14, Issue 26 - new magnetometer code

Julius Madey hillfox at fairpoint.net
Tue May 19 10:28:48 EDT 2020


Dave,
Very nice set of options.
I tried changing the cycle count to 400, but the gain correction didn't 
change to follow that. I can use the raw data and apply the correct gain 
value, however the processed values are only accurate at the default 
cycle count of 200.

Only other features I can think of at this point are:
(1) perhaps limiting cycle count choices to 200, 300, 400  with 
appropriate gain correction for each
(2) displaying 2 decimal points of resolution on the processed values 
which provides 10's of nanoTeslas resolution ... more or less on the 
order of the hoped for resolution of this magnetometer
(3) setting the NOS register for 'on board' averaging

Regards,
Jules - K2KGJ

On 5/18/2020 10:38 PM, tangerinesdr-request at lists.tapr.org wrote:
> Send TangerineSDR mailing list submissions to
> 	tangerinesdr at lists.tapr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
> or, via email, send a message with subject or body 'help' to
> 	tangerinesdr-request at lists.tapr.org
>
> You can reach the person managing the list at
> 	tangerinesdr-owner at lists.tapr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TangerineSDR digest..."
>
>
> Today's Topics:
>
>     1. Re: TangerineSDR Digest, Vol 14, Issue 25 (Julius Madey)
>     2. Re: TangerineSDR Digest, Vol 14, Issue 25 (Julius Madey)
>     3. Notes from PSWS / TangerineSDR call 05-18-2020 (Tom McDermott)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 18 May 2020 13:53:53 -0400
> From: Julius Madey <hillfox at fairpoint.net>
> To: tangerinesdr at lists.tapr.org
> Subject: Re: [TangerineSDR] TangerineSDR Digest, Vol 14, Issue 25
> Message-ID: <8a171afc-fb2a-1806-17ff-20f957918533 at fairpoint.net>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Thanks Dave, will try it today and report re my previous results.
> Jules? K2KGJ
>
> On 5/18/2020 12:00 PM, tangerinesdr-request at lists.tapr.org wrote:
>> Send TangerineSDR mailing list submissions to
>> 	tangerinesdr at lists.tapr.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>> or, via email, send a message with subject or body 'help' to
>> 	tangerinesdr-request at lists.tapr.org
>>
>> You can reach the person managing the list at
>> 	tangerinesdr-owner at lists.tapr.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of TangerineSDR digest..."
>>
>>
>> Today's Topics:
>>
>>      1. Magnetometer testing software (David Witten)
>>      2. Re: Magnetometer testing software (Tom McDermott)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 17 May 2020 14:26:57 -0500
>> From: David Witten <wittend at wwrinc.com>
>> To: tangerinesdr at lists.tapr.org
>> Subject: [TangerineSDR] Magnetometer testing software
>> Message-ID:
>> 	<CABJ3BVPAfRQs5xzD72CdzXxQJ+xHa8jc2QYR=niYcZ-U5jvsCA at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> To all and any:
>>
>> I have opened up a github repo for the improved magnetometer testing
>> softwareat:
>>
>> https://github.com/wittend/rm3100-runMag
>>
>> *Improved* does not mean that it *works*, and certainly any results remain
>> unverified.  There are probably many egregious errors.  But it is better
>> than anything that I have provided in the past (I think).  The
>> documentation is rudimentary or worse, but I'm working on it.
>>
>> The old repo for the 'simplei2c' program has been withdrawn.  May it RIP.
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200517/3b7afd3d/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 17 May 2020 21:11:50 -0700
>> From: Tom McDermott <tom.n5eg at gmail.com>
>> To: TAPR TangerineSDR Modular Software Defined Radio
>> 	<tangerinesdr at lists.tapr.org>
>> Cc: David Witten <wittend at wwrinc.com>
>> Subject: Re: [TangerineSDR] Magnetometer testing software
>> Message-ID:
>> 	<CACO3nRSFrR3qx5f5n8qczV2xqTzyX_2HVoEwJHy604u0_zi7MQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Dave,  thanks for putting this up on github !
>> It clones and builds with no problems.
>>
>> -- Tom, N5EG
>>
>>
>>
>>
>> On Sun, May 17, 2020 at 12:27 PM David Witten via TangerineSDR <
>> tangerinesdr at lists.tapr.org> wrote:
>>
>>> To all and any:
>>>
>>> I have opened up a github repo for the improved magnetometer testing
>>> softwareat:
>>>
>>> https://github.com/wittend/rm3100-runMag
>>>
>>> *Improved* does not mean that it *works*, and certainly any results
>>> remain unverified.  There are probably many egregious errors.  But it is
>>> better than anything that I have provided in the past (I think).  The
>>> documentation is rudimentary or worse, but I'm working on it.
>>>
>>> The old repo for the 'simplei2c' program has been withdrawn.  May it RIP.
>>>
>>>
>>>
>>> --
>>> TangerineSDR mailing list
>>> TangerineSDR at lists.tapr.org
>>> http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200517/e0301107/attachment-0001.html>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> TangerineSDR mailing list
>> TangerineSDR at lists.tapr.org
>> http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>>
>>
>> ------------------------------
>>
>> End of TangerineSDR Digest, Vol 14, Issue 25
>> ********************************************
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200518/1e2c64a9/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 18 May 2020 20:37:07 -0400
> From: Julius Madey <hillfox at fairpoint.net>
> To: tangerinesdr at lists.tapr.org
> Subject: Re: [TangerineSDR] TangerineSDR Digest, Vol 14, Issue 25
> Message-ID: <d97afc2c-94b4-dd9b-2cc8-9a6b29cfcc4d at fairpoint.net>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Dave,
> After correcting a minor issue in the function 'read temp' in main.c
> where you inadvertently left out the comment // before the word 'works',
> it compiled nicely and runs fine.
>
> I note that the gain corrected readout is in integer microteslas. When I
> patched your original code to include gain, I also used microteslas with
> 3 decimal places to the right; with a cycle count of 200 (gain 75) it's
> actually closer to 2 decimal places (+/- 10nT) but the three places is
> handy for noise level evaluation for higher cycle counts and averaging.
>
> Could, of course, work directly with the raw values but I find it easier
> to think of the noise / resolution issue in terms of nanoTeslas directly.
>
> Your gain corrected values match the expected field levels in my
> location from geomag models and are identical to the readings I obtained
> with my patches to your original test code.
>
> Thanks for all the effort !
>
> Jules -K2KGJ
>
>
> On 5/18/2020 12:00 PM, tangerinesdr-request at lists.tapr.org wrote:
>> Send TangerineSDR mailing list submissions to
>> 	tangerinesdr at lists.tapr.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>> or, via email, send a message with subject or body 'help' to
>> 	tangerinesdr-request at lists.tapr.org
>>
>> You can reach the person managing the list at
>> 	tangerinesdr-owner at lists.tapr.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of TangerineSDR digest..."
>>
>>
>> Today's Topics:
>>
>>      1. Magnetometer testing software (David Witten)
>>      2. Re: Magnetometer testing software (Tom McDermott)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 17 May 2020 14:26:57 -0500
>> From: David Witten <wittend at wwrinc.com>
>> To: tangerinesdr at lists.tapr.org
>> Subject: [TangerineSDR] Magnetometer testing software
>> Message-ID:
>> 	<CABJ3BVPAfRQs5xzD72CdzXxQJ+xHa8jc2QYR=niYcZ-U5jvsCA at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> To all and any:
>>
>> I have opened up a github repo for the improved magnetometer testing
>> softwareat:
>>
>> https://github.com/wittend/rm3100-runMag
>>
>> *Improved* does not mean that it *works*, and certainly any results remain
>> unverified.  There are probably many egregious errors.  But it is better
>> than anything that I have provided in the past (I think).  The
>> documentation is rudimentary or worse, but I'm working on it.
>>
>> The old repo for the 'simplei2c' program has been withdrawn.  May it RIP.
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200517/3b7afd3d/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 17 May 2020 21:11:50 -0700
>> From: Tom McDermott <tom.n5eg at gmail.com>
>> To: TAPR TangerineSDR Modular Software Defined Radio
>> 	<tangerinesdr at lists.tapr.org>
>> Cc: David Witten <wittend at wwrinc.com>
>> Subject: Re: [TangerineSDR] Magnetometer testing software
>> Message-ID:
>> 	<CACO3nRSFrR3qx5f5n8qczV2xqTzyX_2HVoEwJHy604u0_zi7MQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Dave,  thanks for putting this up on github !
>> It clones and builds with no problems.
>>
>> -- Tom, N5EG
>>
>>
>>
>>
>> On Sun, May 17, 2020 at 12:27 PM David Witten via TangerineSDR <
>> tangerinesdr at lists.tapr.org> wrote:
>>
>>> To all and any:
>>>
>>> I have opened up a github repo for the improved magnetometer testing
>>> softwareat:
>>>
>>> https://github.com/wittend/rm3100-runMag
>>>
>>> *Improved* does not mean that it *works*, and certainly any results
>>> remain unverified.  There are probably many egregious errors.  But it is
>>> better than anything that I have provided in the past (I think).  The
>>> documentation is rudimentary or worse, but I'm working on it.
>>>
>>> The old repo for the 'simplei2c' program has been withdrawn.  May it RIP.
>>>
>>>
>>>
>>> --
>>> TangerineSDR mailing list
>>> TangerineSDR at lists.tapr.org
>>> http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200517/e0301107/attachment-0001.html>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> TangerineSDR mailing list
>> TangerineSDR at lists.tapr.org
>> http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>>
>>
>> ------------------------------
>>
>> End of TangerineSDR Digest, Vol 14, Issue 25
>> ********************************************
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200518/4b80ca05/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 18 May 2020 19:37:08 -0700
> From: Tom McDermott <tom.n5eg at gmail.com>
> To: TAPR TangerineSDR Modular Software Defined Radio
> 	<tangerinesdr at lists.tapr.org>
> Subject: [TangerineSDR] Notes from PSWS / TangerineSDR call 05-18-2020
> Message-ID:
> 	<CACO3nRTPuZ=GvW5jOpUqM5k5gCCz3u3KNp4OwD0JKEAkZ6Rx1g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Notes from PSWS / TangerineSDR call of 05-18-2020
>
> 1. Elizabeth mentioned that University of Houston is looking at
> TangerineSDR for their balloon experiment ground station, rather than the
> balloon itself. This is due to size and weight limitations.
>
> 2. Discussion on I2C addressing for the magnetometer, both hardware and
> software. Different single board computers use different bus interfaces to
> talk to the external I2C pins. Changing the I2C bus speed (away from
> default) to 100 kb/s currently looks like it may need editing the device
> tree (differently) for each SBC type.
>
> 3. Scotty asked if the HF receiver could be extended to VLF frequencies
> without degrading the HF performance. The VLF requirements (NF,
> sensitivity, dynamic range, frequency range, etc.) are not known.  At this
> point it seems best to first characterize the performance of the receiver
> we have designed at not only HF but also VLF, then see if the VLF
> performance is adequate. If not then either design modifications (if
> possible while maintaining the HF specs) or a different receiver could be
> done.
>
> -- Tom, N5EG
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200518/3d23e95a/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> TangerineSDR mailing list
> TangerineSDR at lists.tapr.org
> http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
>
>
> ------------------------------
>
> End of TangerineSDR Digest, Vol 14, Issue 26
> ********************************************
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20200519/3a54e1fb/attachment-0001.html>


More information about the TangerineSDR mailing list