Open ghost opened 5 years ago
Hi, I don't really understand your question.
However, there is experimental gps support on the gps
branch.
To test, I hooked up NMEA GPS module like this one
https://www.banggood.com/GPS-Module-for-Auto-Car-DVR-Navigator-Tracking-Device-Recording-Car-Dash-Camera-p-1049257.html?p=WX0407753399201409DA
which outputs serial nmea at either 9600 bps into P3_6:rxd (look at uart.h
)
Also, take a look at gps.h
, and see that it is currently looking for $GPRMC
strings, however if you have GLONASS, you may need to modify this to $GLRMC
(I'm in USA, I have only ever seen $GP strings.)
It is clear.
This experimental program can approach by these o'clock? https://ru.aliexpress.com/item/DIY-Kit/32903754608.html If is not present, then what needs to be changed?
And I cannot find hours on the STC15W408AS microcontroller yet. Specify the reference if you know.
It may be difficult to tell from the pictures. Unfortunately even in that listing:
STCW408AS is best choice as it has 8KB flash, and hardware UART peripheral. STCW404AS might work, if you can either get code size down to <4KB or use tricks like EEPROM space (9KB) for storing large constants and look-up tables.
Probably will not work with STC15F204EA (no hardware UART peripheral) and only 4KB of code space, and 1KB EEPROM.
And at you with what microcontroller synchronization of time with the GPS receiver is used? An exit from the GPS TX or PPS receiver?
And at you with what microcontroller synchronization of time with the GPS receiver is used? An exit from the GPS TX or PPS receiver?
I don't exactly understand what you are asking.
Yes, I am parsing the NMEA output strings from GPS TX, particularly RMC
sentence.
https://www.gpsinformation.org/dale/nmea.htm#RMC
(I did look at ZDA
however, some gps receivers did not seem to provide this. RMC
seems to have what I need).
Through online the translator it is difficult to communicate. If I correctly understand, the speech in your article goes about synchronization of the electronic clock on the STC15W408AS or STC15F204EA processor with the GPS receiver. I wanted to learn from you whether it is possible to use your pilot project for the electronic clock on processor 15W404AS (it is used at me in the electronic clock) and where to connect the GPS receiver in the scheme of hours. I plan to use this receiver
I do not develop the program for microcontrollers. Did not find articles of similar to this yours in the Internet. Therefore wanted to obtain exact information on the questions interesting me.
It should be possible with STC15W404AS - this is basically same mcu as STC15W408AS. Difference is 404 has 4k code space + 9k eeprom, 408 has 8k code + 5k eeprom. Also both have hardware uart peripheral. STC15F204EA does not have hardware uart, so that along with less overall code space, would be difficult (but not impossible) to support GPS decoding.
On either STC15W404AS or STC15W408AS, both support hardware remapping of the UART1 to P3_6:rxd, P3_7:txd.
So to support any serial/uart gps module you need to know a few things to adjust firmware to support it.
$GPRMC...
or $GLRMC...
or othersПривет! Снова я к Вам, но с конкретной просьбой. Вы можете изменить прошивку для STC15W404AS, чтобы функциональность была такая:
Hi! Synchronization of time with the GPS receiver conclusion of consecutive data of NMEA. Prompt what GPS receiver to use and where to connect on the scheme of hours?