<p><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">The&nbsp;</span><span class="bbc_bold" style="box-sizing: border-box; font-weight: bold; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">$PMTK</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">&nbsp;commands are for the MTK chip, not the ublox NEO chip.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">All ublox NEO configuration commands start with&nbsp;</span><span class="bbc_bold" style="box-sizing: border-box; font-weight: bold; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">$PUBX</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">&nbsp;(NMEA text commands). &nbsp;There are additional configuration options you can set with UBX binary commands. &nbsp;See the example program ubloxRate.ino for the exact character sequences and code samples. &nbsp;Of course, feel free to ask more specific questions!</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">I always recommend setting the configuration during&nbsp;</span><span class="bbc_tt" style="box-sizing: border-box; font-family: &quot;dejavu sans mono&quot;, monaco, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; color: #222222; font-size: 14.6994px; background-color: #f5f5f5;">setup</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">, because that lets anyone else use your program without having to use u-center in the exact same way you used it for your hardware. &nbsp;And if the GPS module ever loses battery backup power, the sketch will still work.&nbsp; You can send a command the makes it "permanent", but you should still send these commands during&nbsp;</span><span class="bbc_tt" style="box-sizing: border-box; font-family: &quot;dejavu sans mono&quot;, monaco, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; color: #222222; font-size: 14.6994px; background-color: #f5f5f5;">setup</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">, as if it were a brand-new, unconfigured GPS module.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">The ubloxRate example allows you to enter commands from the Serial Monitor window. &nbsp;See the comment block at the top of the INO file for the list. &nbsp;For example, sending "r5" will set the NEO update rate to 5Hz.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">Regarding the serial ports for BT and GPS: Is it possible you could use&nbsp;</span><span class="bbc_tt" style="box-sizing: border-box; font-family: &quot;dejavu sans mono&quot;, monaco, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; color: #222222; font-size: 14.6994px; background-color: #f5f5f5;">Serial</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">&nbsp;for the GPS and&nbsp;</span><span class="bbc_tt" style="box-sizing: border-box; font-family: &quot;dejavu sans mono&quot;, monaco, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; color: #222222; font-size: 14.6994px; background-color: #f5f5f5;">AltSoftSerial</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">&nbsp;for the BT? &nbsp;That would be most reliable, but you would have to disconnect the GPS TX from the Arduino RX pin 0 to upload new sketches over USB (full description&nbsp;</span><a href="https://github.com/SlashDevin/NeoGPS/blob/master/extras/doc/Installing.md#2-choose-a-serial-port" class="bbc_link" target="_blank" style="box-sizing: border-box; color: #00787c; text-decoration-line: none; line-height: inherit; background: none rgb(245, 245, 245); border-bottom: 1px solid rgb(168, 182, 207); font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px;">here</a><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">). &nbsp;The Arduino TX pin 1 can remain connected to the GPS RX pin.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">Arduino pin 0 &lt;-- GPS TX (Serial, disconnect to upload new sketch)</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">Arduino pin 1 --&gt; GPS RX (Serial,level shift required)</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">Arduino pin 8 &lt;-- BT TX (AltSoftSerial)</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">Arduino pin 9 --&gt; BT RX (AltSoftSerial)</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">You could still print debug messages to&nbsp;</span><span class="bbc_tt" style="box-sizing: border-box; font-family: &quot;dejavu sans mono&quot;, monaco, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; color: #222222; font-size: 14.6994px; background-color: #f5f5f5;">Serial</span><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">, and they would show up on the Serial Monitor window. &nbsp;As long as your debug messages don't start with a '$', the GPS would ignore them. &nbsp;You would also see the configuration commands on the Serial Monitor window.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">I should also ask if you are performing the 5V to 3.3V level shifting for the RX and TX connections (read&nbsp;</span><a href="https://github.com/SlashDevin/NeoGPS/blob/master/extras/doc/Installing.md#3-connect-the-gps-device" class="bbc_link" target="_blank" style="box-sizing: border-box; color: #00787c; text-decoration-line: none; line-height: inherit; background: none rgb(245, 245, 245); border-bottom: 1px solid rgb(168, 182, 207); font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px;">this</a><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">). &nbsp;Sometimes the GPS TX to Arduino RX works, but you can damage the GPS device if you connect the GPS RX to the Arduino TX with just a wire.</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /></p>
<div class="quoteheader" style="box-sizing: border-box; margin: 0px; padding: 6px 4px; direction: ltr; font-size: 0.8em; border: 1px solid rgb(223, 223, 223); background: rgb(255, 255, 255); color: #111111; font-stretch: normal; font-family: &quot;TyponineSans Regular 18&quot;;">Quote</div>
<blockquote class="bbc_standard_quote" style="box-sizing: border-box; margin: 0px 0px 1.25em; padding: 10px; direction: ltr; border: 1px solid rgb(223, 223, 223); line-height: 1.4em; font-size: 0.83em; overflow: auto; background-color: #ffffff; font-style: italic; font-family: &quot;TyponineSans Regular 18&quot;;">Am I correct that I'd change "AltSoftSerial gpsPort" to something like "AltSoftSerial serialforbluetooth" &amp; send serial data via "serialforbluetooth.print( fix.satellites );"?</blockquote>
<div class="quotefooter" style="box-sizing: border-box; margin: 0px; padding: 0px; direction: ltr; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">&nbsp;</div>
<p><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">I assume that you are connecting two listeners (GPS &amp; BT) to the same Arduino transmit pin 9.&nbsp; You cannot connect two transmitters to the same Arduino receive pin 8.&nbsp; If that's what you're asking, I would suggest something like this:</span><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /></p>
<div class="codeheader" style="box-sizing: border-box; margin: 0px; padding: 6px 4px; direction: ltr; font-size: 0.8em; border: 1px solid rgb(223, 223, 223); background: rgb(255, 255, 255); color: #111111; font-stretch: normal; font-family: &quot;TyponineSans Regular 18&quot;;">Code:&nbsp;<a class="codeoperation" style="box-sizing: border-box; color: #00787c; line-height: inherit; background: none;">[Select]</a></div>
<p>
   <code class="bbc_code" style="box-sizing: border-box; display: block; font-family: &quot;DejaVu Sans Mono&quot;, Monaco, Consolas, monospace; font-size: 0.9em; background: rgb(255, 255, 255); border: 1px solid rgb(223, 223, 223); padding: 3px 12px; overflow: auto; white-space: nowrap; resize: vertical; height: 200px; color: #222222; max-height: none;">AltSoftSerial gpsAndBT; // pins 8 (RX) and 9 (TX)<br style="box-sizing: border-box;" />#define gpsPort gpsAndBT&nbsp; &nbsp; // just an alias for the one AltSoftSerial<br style="box-sizing: border-box;" />#define btPort gpsAndBT&nbsp; &nbsp; // another alias for the same variable<br style="box-sizing: border-box;" /><br style="box-sizing: border-box;" />void setup()<br style="box-sizing: border-box;" />{<br style="box-sizing: border-box;" />&nbsp; gpsPort.begin( 9600 );<br style="box-sizing: border-box;" /><br style="box-sizing: border-box;" />&nbsp; gps.send_P( &amp;gpsPort, F("$PUBX, baud rate command") ); // also goes to BT port.&nbsp; Is that OK?<br style="box-sizing: border-box;" />&nbsp; gps.flush();<br style="box-sizing: border-box;" />&nbsp; delay( 200 );<br style="box-sizing: border-box;" />&nbsp; gpsPort.begin( 38400 ); // BT must run at this rate, too.<br style="box-sizing: border-box;" /><br style="box-sizing: border-box;" />&nbsp; btPort.println( F("AT BT config commands?") );<br style="box-sizing: border-box;" />}<br style="box-sizing: border-box;" /><br style="box-sizing: border-box;" />void loop()<br style="box-sizing: border-box;" />{<br style="box-sizing: border-box;" />&nbsp; if (gps.available( gpsPort )) { // reads from AltSoftSerial RX pin<br style="box-sizing: border-box;" />&nbsp; &nbsp; fix = gps.read();<br style="box-sizing: border-box;" />&nbsp; &nbsp; if (fix.valid.satellites)<br style="box-sizing: border-box;" />&nbsp; &nbsp; &nbsp; btPort.println( fix.satellites );<br style="box-sizing: border-box;" />&nbsp; }<br style="box-sizing: border-box;" />}<br style="box-sizing: border-box;" /></code>
   <br style="box-sizing: border-box; color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;" /><span style="color: #222222; font-family: &quot;TyponineSans Regular 18&quot;; font-size: 14.6994px; background-color: #f5f5f5;">As noted above, the BT would forward the GPS configuration commands, too.&nbsp; If you are writing the app that listens to the BT, you could watch for the $PUBX header and ignore the rest of the line.</span></p>