<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div class="ydp2308facfyahoo-style-wrap" style=""><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"></div>
<div style="">Jon, the CMPS12 sensor you are working with is quite similar to the Ocean-Server OS5000 I use on the R300. I use RS-232 serial communication with the compass rather than the TTL serial which is one of the option on the CMPS12. I note the higher voltages of RS232 serial communication protocol would actually fry the electronics on the <span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;"><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;">CMPS12.</span></span></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;"><span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;"><br></span></span></span></span></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><a href="https://www.sparkfun.com/products/retired/8507" class="ydp5a0b8894enhancr_card_6298404579" rel="nofollow" target="_blank">Compass Module with Tilt Compensation - OS5000-S</a><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><br></div><div id="ydpe817764aenhancr_card_6298404579" class="ydpe817764ayahoo-link-enhancr-card ydpe817764aymail-preserve-class ydpe817764aymail-preserve-style" style="font-family: Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif; font-size: 16px; max-width: 400px;" data-url="https://www.sparkfun.com/products/retired/8507" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://www.sparkfun.com/products/retired/8507" style="text-decoration:none !important;color:#000 !important" class="ydpe817764ayahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table border="0" class="ydpe817764acard-wrapper ydpe817764ayahoo-ignore-table" cellpadding="0" cellspacing="0" style="max-width:400px"><tbody><tr><td width="400"><table border="0" class="ydpe817764acard ydpe817764ayahoo-ignore-table" cellpadding="0" cellspacing="0" width="100%" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px"><tbody><tr><td class="ydpe817764acard-primary-image-cell" background="https://s.yimg.com/lo/api/res/1.2/SZZpsDuzsSPrVIfydWyomQ--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://cdn.sparkfun.com/r/92-92/assets/parts/1/1/7/6/05-5000Compass-03-L.jpg.cf.jpg" bgcolor="#000000" valign="top" height="175" style="background-color: rgb(0, 0, 0); background-size: cover; position: relative; border-radius: 2px 2px 0px 0px; min-height: 175px;"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/lo/api/res/1.2/SZZpsDuzsSPrVIfydWyomQ--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://cdn.sparkfun.com/r/92-92/assets/parts/1/1/7/6/05-5000Compass-03-L.jpg.cf.jpg"/></v:rect><![endif]--><table border="0" class="ydpe817764acard-overlay-container-table ydpe817764ayahoo-ignore-table" cellpadding="0" cellspacing="0" style="width:100%"><tbody><tr><td class="ydpe817764acard-overlay-cell" background="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png" bgcolor="transparent" valign="top" style="background-color: transparent; border-radius: 2px 2px 0px 0px; min-height: 175px;"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"/><v:textbox inset="0,0,20px,0"><![endif]--><table border="0" class="ydpe817764ayahoo-ignore-table" height="175" style="width: 100%; min-height: 175px;"><tbody><tr><td class="ydpe817764acard-richInfo2" style="text-align:left;padding:15px 0 0 15px;vertical-align:top"></td><td class="ydpe817764acard-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top"><div class="ydpe817764acard-share-container"></div></td></tr></tbody></table><!--[if gte mso 9]></v:textbox></v:rect><![endif]--></td></tr></tbody></table></td></tr><tr><td><table border="0" align="center" class="ydpe817764acard-info ydpe817764ayahoo-ignore-table" cellpadding="0" cellspacing="0" style="background:#fff;position:relative;z-index:2;width:100%;max-width:400px;border-radius:0 0 2px 2px;border-top:1px solid rgb(224, 228, 233)"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;border-radius:0 0 2px 0"><h2 class="ydpe817764acard-title" style="font-size: 14px; line-height: 19px; margin: 0px 0px 6px; font-family: Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif; color: rgb(38, 40, 42);">Compass Module with Tilt Compensation - OS5000-S</h2><p class="ydpe817764acard-description" style="font-size: 12px; line-height: 16px; margin: 0px; color: rgb(151, 155, 167);">**Replacement:** None. There is no direct replacement for this part but check out our [magneto sensors](http://w...</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><span><a href="https://ocean-server.com/wp-content/uploads/2018/08/OS5000_Compass_Manual.pdf" rel="nofollow" target="_blank">https://ocean-server.com/wp-content/uploads/2018/08/OS5000_Compass_Manual.pdf</a></span><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;"><br></div>
</div><div id="ydp8ca1069eyahoo_quoted_6929611274" class="ydp8ca1069eyahoo_quoted">
<div style="">
<div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">A couple of observations on magnetic compass usage that I found from my experience on the R300:</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">1) I machined a small enclosure out of aluminum so that the sensor can be located outside of the steel pressure hull. The sensor would not work without this.</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">2) I found that it was necessary to do a hard iron calibration to get good results. To do this I built a compass calibration skid. See picture of skid I made out of an old truck axle. To calibrate the compass I alighted the skid to magnetic north then sat the R300 on the frame. I then rotated the R300 through 360 degrees logging the boat heading from the compass skid and the magnetic compass heading from the OS5000. The calibration process for the sensor was to position the compass at the cardinal points then tell the unit when I was at these points. Without this calibration the compass was up to 25 degrees off at some headings. Also the error would vary with heading.</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">3) As you are setting up the display for Hank, have you considered delineation angle, the angle difference between true north and magnetic north? As an example, where I live in Devine Texas, the declination angle is 4.32 E while at Flathead lake, it is 13.25 E. On the R300, I have a HMI screen for compass calibration. On the screen I give the operator the ability to change the declination angle. I also allow the operator to display either magnetic heading or the true heading corrected by this delineation angle.</div><div style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size: 13px;">4) On the OS5000 compass, tilt and roll sensor I use, it's serial communication conforms to NMEA 0183 which defines the ASCII strings being sent for compass heading, roll angle, pitch angle, temperature ... On the </span></font><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;">CMPS12 I don't see this. Does the <span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;">CMPS12 send ASCII strings? </span></span></span></span></div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size: 13px;">I note on the </span></font>CMPS12 sensor data sheet as you mention that you can use either 12C or TTL serial. Which did you implement for Hank's compass? I see that almost all the RC usage of these sensors use 12C.</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;"><br></span></span></div><div style="">It is amazing to me the cost reduction that has occurred on these small IC magnetic compass sensors. When I first built the R300, 7 years ago, I paid over $500 for this sensor which is no longer being sold. This was cheap at the time with similar units going for $2K. You can now by essentially the same IC with the <span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px;">CMPS12 </span></span> for $30. So now the real cost for having one of these magnetic compasses is the machine work to make the enclosure.</div><div style=""><br></div><div style=""> Now if they could just get the hearing aid manufactures to get on this price-quality slope, it would be great! It is sad when you get old and start having all these equipment failures!</div><div style=""><br></div><div style="">Best Cliff</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">
On Monday, April 22, 2019, 7:20:11 AM CDT, Jon Wallace via Personal_Submersibles <personal_submersibles@psubs.org> wrote:
</div>
<div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div>
<div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div>
<div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div id="ydp8ca1069eyiv4998210007"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329"><span id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4969">Alan,</span></div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329"><span><br clear="none"></span></div><div dir="ltr" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329"><span id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5365">It's been a while, but I can report back now. </span>I just finished building a display for Hank using the CMPS12 sensor and it seems to be a good low cost alternative to the HMC6343. I like the fact that it has an option for TTL serial communication and the tilt-compensation seems to be quite stable. I wouldn't hesitate to purchase it and I'm going to get one for myself even though I already have the HMC6343.</div><div class="ydp8ca1069eyiv4998210007yqt7387098049" id="ydp8ca1069eyiv4998210007yqtfd84877"><div dir="ltr" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329"><br clear="none"></div><div dir="ltr" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329">Jon</div><div dir="ltr" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4329"><br clear="none"></div><div class="ydp8ca1069eyiv4998210007qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="ydp8ca1069eyiv4998210007yahoo_quoted" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4654" style="display:block;"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4653" style="font-family:times new roman, new york, times, serif;font-size:16px;"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_4652" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="ydp8ca1069eyiv4998210007y_msg_container" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5436"><div id="ydp8ca1069eyiv4998210007"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5435"><div class="ydp8ca1069eyiv4998210007yqt6848112360" id="ydp8ca1069eyiv4998210007yqt94706"><blockquote id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5440" type="cite"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5439"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5438" style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div class="ydp8ca1069eyiv4998210007yahoo_quoted" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13179" style="display:block;"> <div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13178" style="font-family:times new roman, new york, times, serif;font-size:16px;"> <div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13177" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13176"> <font id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13234" size="2" face="Arial"> </font><hr id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13233" size="1"> <b><span style="font-weight:bold;">From:</span></b> Alan via Personal_Submersibles <<a shape="rect" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5586" href="mailto:personal_submersibles@psubs.org" rel="nofollow" target="_blank">personal_submersibles@psubs.org</a>><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Personal Submersibles General Discussion <<a shape="rect" href="mailto:personal_submersibles@psubs.org" rel="nofollow" target="_blank">personal_submersibles@psubs.org</a>> <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, October 30, 2018 10:46 PM<br clear="none"> <b id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5584"><span id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1555934474803_5583" style="font-weight:bold;">Subject:</span></b> Re: [PSUBS-MAILIST] compass<br clear="none"> </div> <div class="ydp8ca1069eyiv4998210007y_msg_container" id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13592"><br clear="none"><div id="ydp8ca1069eyiv4998210007"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13591"><div></div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13599">Jon,</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13598">I have to buy a compass some time so looked it up but it's pretty expensive</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13596">at $188-. I also saw a video on it dated 2010, so it's at least 8 years old.</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13595">There are modules for less than $20- but not tilt compensated.</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13594">It does say it is "high end" but is there much difference between a cheap</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13593">& expensive compass? ( I know nothing about this).</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_13590">The thought came to mind that you could possibly cover it with resin &</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_16473">mount it outside the hull away from magnetic interference.</div><div>Alan</div><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_16474"> </div><div class="ydp8ca1069eyiv4998210007yqt3474772059" id="ydp8ca1069eyiv4998210007yqt13016"><div id="ydp8ca1069eyiv4998210007yui_3_16_0_ym19_1_1540996335305_16475"><br clear="none"></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></div><br clear="none"></div> </div> </div> </div></div></div></div></div><div class="ydp8ca1069eyqt7387098049" id="ydp8ca1069eyqtfd90643">_______________________________________________<br clear="none">Personal_Submersibles mailing list<br clear="none"><a shape="rect" href="mailto:Personal_Submersibles@psubs.org" rel="nofollow" target="_blank">Personal_Submersibles@psubs.org</a><br clear="none"><a shape="rect" href="http://www.psubs.org/mailman/listinfo.cgi/personal_submersibles" rel="nofollow" target="_blank">http://www.psubs.org/mailman/listinfo.cgi/personal_submersibles</a><br clear="none"></div></div>
</div>
</div></body></html>