Author Topic: 10MHz GPSDO by "BH3SAP"  (Read 32213 times)

calin and 1 Guest are viewing this topic.

Offline G4ELJ

  • Newbie
  • Posts: 8
  • Country: england
Re: 10MHz GPSDO by "BH3SAP"
« Reply #175 on: March 12, 2025, 06:08:14 pm »
does the ublox u center sw work with ATGM336H gps moduals then?.

Yes. But you will need a TTL to USB serial converter (3.3V) for any PC etc.

The other one that works is GnssToolkit3

https://github.com/zxcwhale/GnssToolKit3-binaries/releases

Duncan
 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #176 on: March 12, 2025, 06:17:48 pm »
does the ublox u center sw work with ATGM336H gps moduals then?.

-nope u-center only works with u-blox modules...

these Chinese "wonder" GPS modules (only 32 ch.), (note though that this is a good module) - require a different SW, as you can see in the attached picture
"GNSSToolKit"

not bad, but I'll stick with u-blox
« Last Edit: March 12, 2025, 06:30:51 pm by daddygo »
 

Offline G4ELJ

  • Newbie
  • Posts: 8
  • Country: england
Re: 10MHz GPSDO by "BH3SAP"
« Reply #177 on: March 12, 2025, 08:02:43 pm »
does the ublox u center sw work with ATGM336H gps moduals then?.

-nope u-center only works with u-blox modules...

Hmm, U-center works for me with the Chinese ATGM336H GPS module.

Duncan

 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #178 on: March 12, 2025, 08:59:43 pm »
does the ublox u center sw work with ATGM336H gps moduals then?.

-nope u-center only works with u-blox modules...

Hmm, U-center works for me with the Chinese ATGM336H GPS module.

Hmm,  :) this is an old 8.28 u-center (I'm surprised you were able to get it), try the current one(24).....  ;)

u-blox no longer supplies modules to china due to trade restrictions and because of the copying  :D


DG
« Last Edit: March 12, 2025, 09:06:55 pm by daddygo »
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #179 on: March 12, 2025, 11:40:17 pm »
is the gnss toolkit3 have anyway to change its menu to english?,mine is in chinese!.
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #180 on: March 13, 2025, 12:07:51 am »
On my unit on the menu that gives the time, it displays when first entering the menu but stays fixed ie if it reads 01.01:22 ten mins later it still reads that same time, Is that normal?.
 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #181 on: March 13, 2025, 07:39:17 am »
I have these Chinese GPS moduls on the shelf, but I don't really use them, nor the gnss toolkit3, but this git ver. may have an English menu:
https://github.com/zxcwhale/GnssToolKit3-binaries/releases

@ME "it reads 01.01:22 ten mins later it still reads that same"
I haven't tested the new FW yet, so I don't know your second question, I'll be back in the our lab in a few days... & check it
« Last Edit: March 13, 2025, 07:41:01 am by daddygo »
 
The following users thanked this post: ME

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #182 on: March 13, 2025, 09:48:37 am »
Can an led be added to this to show gps lock?.
 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #183 on: March 13, 2025, 10:03:32 am »
the LED is unnecessary in my opinion, because there is more info on the display, plus in the GPS menu

what would you use the LED for (exactly)?
« Last Edit: March 13, 2025, 10:23:20 am by daddygo »
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #184 on: March 13, 2025, 02:57:15 pm »
having an led mounted on the front would be better to see if it has gps lock at a  glance rather than faff in menus, I think most of the time mines not in lock hence the frozen time readout.,just a bp in getting pulled low when in lock would be ideal just to sink current to drive an led,can this be done in the fw?.
 

Offline G4ELJ

  • Newbie
  • Posts: 8
  • Country: england
Re: 10MHz GPSDO by "BH3SAP"
« Reply #185 on: March 13, 2025, 06:28:59 pm »
Hi,
I just released v0.1.8 : https://github.com/fredzo/gpsdo-fw/releases/tag/v0.1.8

- Added baudrate setting command for ATGM336H GPS module

Hi @fredo, I don't think that is working. Only tested with v1.9.

If I change the baud rate to say 19200 I lose the ATGM336H GPS connection. Clock stops.

Changing back to 9600 and all is fine.

Whilst at 9600baud if I use GnssToolkit and send the appropriate code to the GPS module for 19200 baud then change the GPSDO also to 19200 baud, everything is connected and working at 19200 baud.

Very repeatable up to 112500 baud providing one changes the GPS module baud rate first! 

This is what GnssToolkit says it is sending to the ATGM336H GPS module

115200 = $PCAS01,5*19
57600 = $PCAS01,4*18
38400 = $PCAS01,3*1F
19200 = $PCAS01,2*1E
9600 = $PCAS01,1*1D

Duncan

PS @me if one loses GPS lock the date menu stops showing the date. If you are not bothered with time just leave it on that menu screen.
 

Offline fredo_

  • Regular Contributor
  • *
  • Posts: 134
  • Country: fr
Re: 10MHz GPSDO by "BH3SAP"
« Reply #186 on: March 13, 2025, 07:57:51 pm »
If I change the baud rate to say 19200 I lose the ATGM336H GPS connection. Clock stops.
Did you check if the "Model" menu entry show "ATGM336H" before changing baud rate ?
The firmware will only send the commands if the model is detected to be ATGM336H, and I noticed that model detection can fail if you switch the device off and on to quickly (the GPS module has battery and will not send boot sequence with model number). If it failed, you can set it manually.
It worked OK for me, I was able to move from one speed to another without losing the connection.

@ME, on all screens you have an indicator of the GPS fix state, inferred from the PPS output of the GPS module, at the top left corner of the screen.
If a signal progress icon is shown, it means that the GPS has a fix. If it shows a blinking "!" or strikeout signal icon, it means that there is no fix.
 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #187 on: March 14, 2025, 10:50:50 am »
having an led mounted on the front would be better to see if it has gps lock at a  glance rather than faff in menus, I think most of the time mines not in lock hence the frozen time readout.,just a bp in getting pulled low when in lock would be ideal just to sink current to drive an led,can this be done in the fw?.

Hi @ME

-look in the github source code for the file gpsdo.ioc - lib/stm32
-open with CubeMX
-find a free GPIO_Out for this LED func.
-make a LED driver circuit if required for the type of LED you want to use
-ask @fredo_ to mod the FW for you or do it yourself if you know the code
-on the PIN of the BP (PA.. / PB../ PC.. /PD.. with GPIO) you get the signal for the LED, connect it to your circuit and wire it to the front plate


as the @fredo_ say, there's a lot of information on the display that's more intuitive than an LED but it's not impossible to have an LED


« Last Edit: March 14, 2025, 10:56:54 am by daddygo »
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #188 on: March 14, 2025, 01:55:16 pm »
If i knew howto mod the code to have it sink current for an led on a spare bp pin i would do it, i dont know, thats why i'm asking here ok.
 

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #189 on: March 14, 2025, 02:38:56 pm »
If i knew howto mod the code to have it sink current for an led on a spare bp pin i would do it, i dont know, thats why i'm asking here ok.

OK, well, if you really need it, send @fredo_ a message to ask him to help you with this request in question FW mod.

-as I look at the last .ioc the PA15 is empty and there is a meaningful place to exit on the BP PIN(38) as well...
unfortunately the loadable pins are not usable in this BP configuration (are in use) PC13 BP board LED (fredo PPS), PC14 & PC15 for OSC, so you need a small circuit in front of the LED
(otherwise there are only 3 open drains (only 3mA)

this can be many things, but use a single TI Schmitt-Trigger Buffer SN74LVC1G17 to give the right current to any type of LED (cca. 24mA enough for all)

In CubeMX, need to generate the STM32 HW configuration to the corresponding C code, then write a code (@fredo_) to raise (high) the PA15 in GPS lock state and the buffer will drive your LED
« Last Edit: March 14, 2025, 02:42:07 pm by daddygo »
 

Offline fredo_

  • Regular Contributor
  • *
  • Posts: 134
  • Country: fr
Re: 10MHz GPSDO by "BH3SAP"
« Reply #190 on: March 14, 2025, 05:58:55 pm »
If i knew howto mod the code to have it sink current for an led on a spare bp pin i would do it, i dont know, thats why i'm asking here ok.
That's not a very kind way to reply to @daddygo, that spent so much time helping you, with long an detailed answers, screenshots and step by step explanations.
You know that we're not paid four our contributions on this forum right ?
English is not our native language, unlike you. At least make the effort of writing kind and free of spelling mistakes phrases when you're asking for help.
 
The following users thanked this post: daddygo, ME, stspies

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #191 on: March 14, 2025, 06:14:10 pm »
If i knew howto mod the code to have it sink current for an led on a spare bp pin i would do it, i dont know, thats why i'm asking here ok.
That's not a very kind way to reply to @daddygo, that spent so much time helping you, with long an detailed answers, screenshots and step by step explanations.
You know that we're not paid four our contributions on this forum right ?
English is not our native language, unlike you. At least make the effort of writing kind and free of spelling mistakes phrases when you're asking for help.
I fully understand what you are saying, I had a brain hemorage a few years ago so like to get to the point as i find typing difficult ok, Hence my shoer questins and answers, Please dont take things the wrong way, offending folks is not meant in any way.
 
The following users thanked this post: fredo_

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #192 on: March 14, 2025, 06:27:05 pm »
If i knew howto mod the code to have it sink current for an led on a spare bp pin i would do it, i dont know, thats why i'm asking here ok.
That's not a very kind way to reply to @daddygo, that spent so much time helping you, with long an detailed answers, screenshots and step by step explanations.
You know that we're not paid four our contributions on this forum right ?
English is not our native language, unlike you. At least make the effort of writing kind and free of spelling mistakes phrases when you're asking for help.
I fully understand what you are saying, I had a brain hemorage a few years ago so like to get to the point as i find typing difficult ok, Hence my shoer questins and answers, Please dont take things the wrong way, offending folks is not meant in any way.

I'm a very patient person after 5.X + few months, I don't take it as an offence  ;)
but for the community, it's better to listen to each other and to get the emphasis right

I'm sorry you had to go through difficult things health is the most important!!!!
 
The following users thanked this post: fredo_

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #193 on: March 14, 2025, 07:02:43 pm »
Thank you all for your help and understanding, I still need a way to trigger an led tho when the gpsdo has  got lock.
 
The following users thanked this post: daddygo

Offline fredo_

  • Regular Contributor
  • *
  • Posts: 134
  • Country: fr
Re: 10MHz GPSDO by "BH3SAP"
« Reply #194 on: March 14, 2025, 07:18:13 pm »
Thank you all for your help and understanding, I still need a way to trigger an led tho when the gpsdo has  got lock.
No worries, thank you four your explanations.
I'll take a look into driving a led to show gps lock state.
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #195 on: March 14, 2025, 10:02:25 pm »
Salut+merci bien fredo.
 
The following users thanked this post: fredo_

Offline daddygo

  • Regular Contributor
  • *
  • Posts: 83
  • Country: pt
Re: 10MHz GPSDO by "BH3SAP"
« Reply #196 on: March 15, 2025, 01:00:12 pm »
Thank you all for your help and understanding, I still need a way to trigger an led tho when the gpsdo has  got lock.

Hi @ME

and I'll dev. you a ready-to-manufacture small PCB design with the necessary parts, which can be precisely matched to the interior space and the front panel dimensions
note, there is a very small space just above the rotarry for this purpose

would a 3mm LED be suitable for you?
you make the hole a bit narrower and the LED would hold the small PCB
 

Offline flash2b

  • Regular Contributor
  • *
  • Posts: 160
  • Country: nl
Re: 10MHz GPSDO by "BH3SAP"
« Reply #197 on: March 15, 2025, 03:21:49 pm »
I have successfully installed firmware v0.1.9 from fredzo/fredo_ into my BH3SAP GPSDO  :-+

First I did make a backup of the original firmware and compared this to a file shared within this topic. They were identical so that was a success. I used a WeActStudio STM32 Mini Debugger on the original BP. I was unable to read stable when the BP was still in the socket (sometimes lost connection to the target), so I pulled it out the socket carefully while I did the reprogramming. I noticed that when I tried the programming while the BP was still in the socket, the GPS module was also powered since the LED was lit.

Flashing the BP was easy and took 2 seconds to complete.

Here are some pictures:



The most satellites I got were 24 using the antenna stuck to the window of my loft.

Thank you Dankar, 2A03 and fredzo/fredo_ for all you effort and daddygo for the tips.
« Last Edit: March 15, 2025, 06:57:58 pm by flash2b »
They say attention is a shovel. It's time to dig 'em out.
 
The following users thanked this post: fredo_, daddygo, ME

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #198 on: March 16, 2025, 03:53:32 am »
Thank you all for your help and understanding, I still need a way to trigger an led tho when the gpsdo has  got lock.

Hi @ME

and I'll dev. you a ready-to-manufacture small PCB design with the necessary parts, which can be precisely matched to the interior space and the front panel dimensions
note, there is a very small space just above the rotarry for this purpose Thanks any size led is good.

would a 3mm LED be suitable for you?
you make the hole a bit narrower and the LED would hold the small PCB
 

Offline ME

  • Regular Contributor
  • *
  • Posts: 188
  • Country: gb
Re: 10MHz GPSDO by "BH3SAP"
« Reply #199 on: March 16, 2025, 03:58:09 am »
any size led is good,its the fw modding to indicate lock is needed more tho .73
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf