time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

Re: [time-nuts] How to get PPS from ublox mini-PCI GPS to APU2 SoC serial port for ntpd

S.
STR .
Thu, Nov 3, 2016 4:58 PM

Hello again list and Paul,

The USB and Mini-PCIe converters I ordered from Ebay China have not shown up
yet.
It appears PC Engines may take a while to release the custom BIOS that
exposes UART3 and 4 on the APU2  :/

In the interest of getting this working without waiting on a BIOS I will try
connecting it to COM1, which is wired to the DB9 connector.
https://pcengines.ch/pdf/apu2.pdf

Before I fry a 3.3V board with 5V signals, I hoped to ask here and confirm
my ideas.

Do I cross RX and TX lines from the GPS pins to the RX/TX on the DB9/COM1
connector?
And straight connect the PPS line from the GPS to the DCD pin on the
DB9/COM1 connector?

GPS:
http://pcengines.info/forums/?page=post&id=B4D54F22-8224-4A67-9F9E-85F988A1F
888

Thanks!

Hello again list and Paul, The USB and Mini-PCIe converters I ordered from Ebay China have not shown up yet. It appears PC Engines may take a while to release the custom BIOS that exposes UART3 and 4 on the APU2 :/ In the interest of getting this working without waiting on a BIOS I will try connecting it to COM1, which is wired to the DB9 connector. https://pcengines.ch/pdf/apu2.pdf Before I fry a 3.3V board with 5V signals, I hoped to ask here and confirm my ideas. Do I cross RX and TX lines from the GPS pins to the RX/TX on the DB9/COM1 connector? And straight connect the PPS line from the GPS to the DCD pin on the DB9/COM1 connector? GPS: http://pcengines.info/forums/?page=post&id=B4D54F22-8224-4A67-9F9E-85F988A1F 888 Thanks!
SS
Scott Stobbe
Thu, Nov 3, 2016 5:26 PM

The signals on the DB9 connector are at RS232 levels, your GPS module is
likely 3V3 CMOS, you will need to make a level translator if you wish to
use a standard PC RS232 serial port.

On Thu, Nov 3, 2016 at 12:58 PM, STR . strykar@hotmail.com wrote:

Hello again list and Paul,

The USB and Mini-PCIe converters I ordered from Ebay China have not shown
up
yet.
It appears PC Engines may take a while to release the custom BIOS that
exposes UART3 and 4 on the APU2  :/

In the interest of getting this working without waiting on a BIOS I will
try
connecting it to COM1, which is wired to the DB9 connector.
https://pcengines.ch/pdf/apu2.pdf

Before I fry a 3.3V board with 5V signals, I hoped to ask here and confirm
my ideas.

Do I cross RX and TX lines from the GPS pins to the RX/TX on the DB9/COM1
connector?
And straight connect the PPS line from the GPS to the DCD pin on the
DB9/COM1 connector?

GPS:
http://pcengines.info/forums/?page=post&id=B4D54F22-8224-
4A67-9F9E-85F988A1F
888

Thanks!


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.

The signals on the DB9 connector are at RS232 levels, your GPS module is likely 3V3 CMOS, you will need to make a level translator if you wish to use a standard PC RS232 serial port. On Thu, Nov 3, 2016 at 12:58 PM, STR . <strykar@hotmail.com> wrote: > Hello again list and Paul, > > The USB and Mini-PCIe converters I ordered from Ebay China have not shown > up > yet. > It appears PC Engines may take a while to release the custom BIOS that > exposes UART3 and 4 on the APU2 :/ > > In the interest of getting this working without waiting on a BIOS I will > try > connecting it to COM1, which is wired to the DB9 connector. > https://pcengines.ch/pdf/apu2.pdf > > Before I fry a 3.3V board with 5V signals, I hoped to ask here and confirm > my ideas. > > > Do I cross RX and TX lines from the GPS pins to the RX/TX on the DB9/COM1 > connector? > And straight connect the PPS line from the GPS to the DCD pin on the > DB9/COM1 connector? > > GPS: > http://pcengines.info/forums/?page=post&id=B4D54F22-8224- > 4A67-9F9E-85F988A1F > 888 > > > > Thanks! > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/ > mailman/listinfo/time-nuts > and follow the instructions there. >
S.
STR .
Wed, Nov 9, 2016 3:23 AM

The signals on the DB9 connector are at RS232 levels, your GPS module is likely 3V3 CMOS, you will need to make a level translator if you wish to use a standard PC >RS232 serial port.

Would this do the trick? - http://www.banggood.com/8-Channel-Logic-Level-Translator-Converter-Bi-Directional-Module-p-1023173.html
I'll get some 3.3 and 5 V power supplies too.

>The signals on the DB9 connector are at RS232 levels, your GPS module is likely 3V3 CMOS, you will need to make a level translator if you wish to use a standard PC >RS232 serial port. Would this do the trick? - http://www.banggood.com/8-Channel-Logic-Level-Translator-Converter-Bi-Directional-Module-p-1023173.html I'll get some 3.3 and 5 V power supplies too.
GE
Gary E. Miller
Wed, Nov 9, 2016 3:42 AM

Yo STR!

On Wed, 9 Nov 2016 03:23:59 +0000
"STR ." strykar@hotmail.com wrote:

The signals on the DB9 connector are at RS232 levels, your GPS
module is likely 3V3 CMOS, you will need to make a level translator
if you wish to use a standard PC >RS232 serial port.

Would this do the trick? -
http://www.banggood.com/8-Channel-Logic-Level-Translator-Converter-Bi-Directional-Module-p-1023173.html
I'll get some 3.3 and 5 V power supplies too.

Marginal.  Remember RS-232 is +/- 12V.  Your part only gets you to 5V.

Some RS-232 ports will work with 5V, some not, and others will be flakey.

You want something like this:

https://www.sparkfun.com/products/8780

RGDS
GARY

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588

Yo STR! On Wed, 9 Nov 2016 03:23:59 +0000 "STR ." <strykar@hotmail.com> wrote: > >The signals on the DB9 connector are at RS232 levels, your GPS > >module is likely 3V3 CMOS, you will need to make a level translator > >if you wish to use a standard PC >RS232 serial port. > > Would this do the trick? - > http://www.banggood.com/8-Channel-Logic-Level-Translator-Converter-Bi-Directional-Module-p-1023173.html > I'll get some 3.3 and 5 V power supplies too. Marginal. Remember RS-232 is +/- 12V. Your part only gets you to 5V. Some RS-232 ports will work with 5V, some not, and others will be flakey. You want something like this: https://www.sparkfun.com/products/8780 RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 gem@rellim.com Tel:+1 541 382 8588
CA
Chris Albertson
Wed, Nov 9, 2016 6:40 AM

The MAX3223 chip does exactly what you need.  It converts 3.3 volt serial
to RS232 levels.

You can buy just the chip and add a few passives to a perf board and make
what you need or buy a little PCB with the parts already soldered down like
this
http://www.ebay.com/itm/RS232-To-TTL-Converter-Module-Serial-Module-DB9-Connector...
http://www.ebay.com/itm/RS232-To-TTL-Converter-Module-Serial-Module-DB9-Connector-3-3V-5-5V-Arduino-/172283748577?hash=item281ce960e1:g:Zq0AAOSwx2dYCwXH

It is actually cheaper to buy the little PCB then to buy the parts to make
one

On Tue, Nov 8, 2016 at 7:23 PM, STR . strykar@hotmail.com wrote:

The signals on the DB9 connector are at RS232 levels, your GPS module is

likely 3V3 CMOS, you will need to make a level translator if you wish to
use a standard PC >RS232 serial port.

Would this do the trick? - http://www.banggood.com/8-Channel-Logic-Level-
Translator-Converter-Bi-Directional-Module-p-1023173.html
I'll get some 3.3 and 5 V power supplies too.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.

--

Chris Albertson
Redondo Beach, California

The MAX3223 chip does exactly what you need. It converts 3.3 volt serial to RS232 levels. You can buy just the chip and add a few passives to a perf board and make what you need or buy a little PCB with the parts already soldered down like this http://www.ebay.com/itm/RS232-To-TTL-Converter-Module-Serial-Module-DB9-Connector... <http://www.ebay.com/itm/RS232-To-TTL-Converter-Module-Serial-Module-DB9-Connector-3-3V-5-5V-Arduino-/172283748577?hash=item281ce960e1:g:Zq0AAOSwx2dYCwXH> It is actually cheaper to buy the little PCB then to buy the parts to make one On Tue, Nov 8, 2016 at 7:23 PM, STR . <strykar@hotmail.com> wrote: > >The signals on the DB9 connector are at RS232 levels, your GPS module is > likely 3V3 CMOS, you will need to make a level translator if you wish to > use a standard PC >RS232 serial port. > > Would this do the trick? - http://www.banggood.com/8-Channel-Logic-Level- > Translator-Converter-Bi-Directional-Module-p-1023173.html > I'll get some 3.3 and 5 V power supplies too. > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/ > mailman/listinfo/time-nuts > and follow the instructions there. > -- Chris Albertson Redondo Beach, California