Getting VCC Check Connection error frequently. What could be the reason ? Module is powered via 2 meter long shielded 0.25sq mm 4 core silver coated cable of LAPP.
The code works good but there is a mistake while parsing the data coming from module. The code errors me like 100km. but when i parse the data with a oline tool it is preciesly true location. if I solve the problem will share it here
is there any chance see the location directly on the google map and to store all these coordinates as a logger for upto 2 dats by any server as open source?
Hi! I`ve already made the UartRingBuffer worked and now I've tried to do this but when I debug to see if im receiving data, _rx_buffer is not giving any value. Tried to send string data via Hercules software and I'm receiving it, but not with GPS module. I also tried to connect GPS to U-Center and there I can see NMEA data from my module. I don't know what happen with my program. Everything configured at 115200 Baudios, GPS+UART. Thanks in advance!
@@ControllersTech I owned another ublox GPS that is 115200 by default, i can try to change all at 9600baudios but i doesn’t make sense as i can send and receive data throught Hercules software at the same baudios. If u know a possible solution, i will be grateful if u share it with me.
@@ControllersTech I have been trying to use the uart2 to print the values on a terminal, but i get garbage values except for N and E directions. I have verified the baud rates and the pin setup, but can't seem to figure out why it transmits garbage values. Any advice on what could be going wrong?
When I build witht the Ringbuffer I get a bunch of errors in the ring buffer c file saying "No member named SR did you mean ISR?' and 'No member named DR did you mean RDR'. Are these typos in the your file or an error in my setup? Im using an STM32L0 board
They are not the typos, it's just that you did not watched the video properly. At 0:59 I have mentioned that you should only do this if you got the ring buffer to work.
@@ControllersTech My bad. I have now watched that video and got the ring buffer to work but when I use it in this project to read GPS data, I get errors saying multiple definitions of huart, timeout, rxbuffer, txbuffer etc
This code seems to change only the decimal point position without calculation when deriving latitude and longitude. In latitude and longitude, except for the first two numbers, shouldn't it be added after dividing by 60?
Latitudes and longitudes have 2 formats. Deg Min Sec and Decimal Degree. I have used the later. You are free to change the code to extract data in the former format. The code extracts the lats and longs in the float, so it shouldn't be hard
@@ControllersTech Thank you for answer. I'm trying to change it to the format I want. Is it correct that the code you shared shows only two values, Deg Min?
The LCD have less space, so I used only 2 dp. That data is not in the deg min format, but rather in the decimal degrees. Check this link en.wikipedia.org/wiki/Decimal_degrees#:~:text=Decimal%20degrees%20(DD)%20is%20a,as%20OpenStreetMap%2C%20and%20GPS%20devices.
@@ControllersTech I succeeded in changing it to the format I needed. Your project has been of great help to me. There is a little margin of error, but it seems that this is not a problem with the code part, so I got a satisfactory result
Hey! I'm trying your method but i can't get any value, my head and tail is always zero. I checked my module with usb2ttl converter and realterm and it worked. Can you help me? Please.
@@ControllersTech I've already used your ring buffer method on different sensor but this time i couldn't handle it. I got some values for 2 or 3 times but now they gone again, i can't see any reason.
It wasn't working. The reason could be that the data was coming very slow and by the time we process the data, the next chunk gets lost. If you can use the official software by neo 6m to change the baud to 115200, there might be the chance that it will work with idle line also
Why will they be in the ringbuffer git ? Ringbuffer is a separate topic and is being used here. Download the project from the link in the description(from the website). The files can be found inside the project folder
@@ControllersTech I found the files, and now understand the miscommunication everyone has. In your video you show the git of the ringbuffer. In your link it is nowhere stated that there is a download link at the bottom. so everyone including me sees the link for the ringbuffer in your tutorial and figures the nmea files must be included in there. so for future reference maybe say the download link is at the bottom of the page. Anyway, Thank you for the help and all your amazing video's!
I have a problem when it builds at 7:14 minutes.. there is an error GPS\GPS.axf: Error: L6200E: Symbol huart1 multiply defined (by main.o and uartringbuffer.o). because on UartRingbuffer.c it has been declared UART_HandleTypeDef huart1; #define uart &huart1 and how to fix it? thank you
1:00 minute in , "Unless you have made this work I'm not sure why you're here" me "well I'm just bored at 1 am watching tech stuff."
I love Controller tech
I would love to see video about GPS module with TouchGFX project😊😊😊
It won't be any different. I have already covered how to send uart data to lcd in touchgfx.
I was waiting for this video ❤️
Can you make a video about rfid rc522 module?? Thanks so much for all your tutorial !!!
I would like to see it with state machine and non-blocking code :)
for the non blocking part, it can work. Since the functions already have a timeout features embedded inside them. You can try freeRTOS
i can't find where is the "NMEA.h" and "NMEA.c" inside the src folder, can you help me ?
src ve inc ye bak dosyalar orda
Getting VCC Check Connection error frequently. What could be the reason ? Module is powered via 2 meter long shielded 0.25sq mm 4 core silver coated cable of LAPP.
It was great video, how can I switch between satellites(GPS, GLONASS, BeiDou, ...)?
Very Nice!
Is there a commercial product that has exactly the same characteristics?
The code works good but there is a mistake while parsing the data coming from module. The code errors me like 100km. but when i parse the data with a oline tool it is preciesly true location. if I solve the problem will share it here
is there any chance see the location directly on the google map and to store all these coordinates as a logger for upto 2 dats by any server as open source?
I got no values in my variables, what could it be? I´ve checked the connections and the sensor multiple times, everything seems to be fine. Thanks
can you make video about send location to Ubidots dashboard. Plsss!!!
i download code and there are 2 erroe can y solve them ?
can i apply this code ( these library) for other GPS modules? like BN 280, or GPS M10 series?
If they output the data via the uart and in NMEA format, then yes.
It is not runing. _HAL_UART_ENABLE_IT(uart, UART_IT_ERR) is error. Could you tell me? I don't find this Funcition in HAL
Hi! I`ve already made the UartRingBuffer worked and now I've tried to do this but when I debug to see if im receiving data, _rx_buffer is not giving any value. Tried to send string data via Hercules software and I'm receiving it, but not with GPS module. I also tried to connect GPS to U-Center and there I can see NMEA data from my module. I don't know what happen with my program. Everything configured at 115200 Baudios, GPS+UART. Thanks in advance!
Doesn't neo6M is configured at 9600 by default ?
@@ControllersTech I owned another ublox GPS that is 115200 by default, i can try to change all at 9600baudios but i doesn’t make sense as i can send and receive data throught Hercules software at the same baudios. If u know a possible solution, i will be grateful if u share it with me.
Hello..can make one Video RFID 3tm32 interfacing ..thanks
Perfect thanks alot
Great video! I have a question, can I get miliseconds using this module?
You can get upto 20d 9' 12.1234"
hello please may i know which NMEA library you used ?
The link to download the project is in the description.
Can you share both the Src and Inc files of NMEA and Ring buffer?
link to download the project is in the description.
Yeah but there is no NMEA.c and .h files. Only UartRingBuffer files are there
Link to the website, not the github.
@@ControllersTech Oh thank you very much I got it... 👍
There is Logger data and can it transfer to gpx file?
a question from which part do you get NMEA.h and NMEA.c
I wrote them.
me puedes enviar el código del NMEA.h y NMEA.c .Porfavor@@ControllersTech
You can download the code from the website. The link is in the description.
Excelent!
How can we use UART_Transmit to get the gga and rmc strings displayed on a terminal like Tera Term?
instead of using LCD, just send the data over uart.
@@ControllersTech I have been trying to use the uart2 to print the values on a terminal, but i get garbage values except for N and E directions. I have verified the baud rates and the pin setup, but can't seem to figure out why it transmits garbage values. Any advice on what could be going wrong?
Did you try connecting the gps to the computer directly, using some usb to uart ?
Did you try LCD ? Is it working fine with it ?
Hello @ControllersTech, the NMEA.c file is not in Src file nor in Inc file, you can check. Can you please upload it.
Just got it. Right now . GUYS we have to download the file from the website he have mentioned in the description.
@@user-yb3fc6sz6s Where this file NMEA.c ?
When I build witht the Ringbuffer I get a bunch of errors in the ring buffer c file saying "No member named SR did you mean ISR?' and 'No member named DR did you mean RDR'. Are these typos in the your file or an error in my setup? Im using an STM32L0 board
They are not the typos, it's just that you did not watched the video properly. At 0:59 I have mentioned that you should only do this if you got the ring buffer to work.
@@ControllersTech My bad. I have now watched that video and got the ring buffer to work but when I use it in this project to read GPS data, I get errors saying multiple definitions of huart, timeout, rxbuffer, txbuffer etc
This code seems to change only the decimal point position without calculation when deriving latitude and longitude.
In latitude and longitude, except for the first two numbers, shouldn't it be added after dividing by 60?
Latitudes and longitudes have 2 formats. Deg Min Sec and Decimal Degree.
I have used the later. You are free to change the code to extract data in the former format. The code extracts the lats and longs in the float, so it shouldn't be hard
@@ControllersTech
Thank you for answer.
I'm trying to change it to the format I want.
Is it correct that the code you shared shows only two values, Deg Min?
The LCD have less space, so I used only 2 dp. That data is not in the deg min format, but rather in the decimal degrees. Check this link en.wikipedia.org/wiki/Decimal_degrees#:~:text=Decimal%20degrees%20(DD)%20is%20a,as%20OpenStreetMap%2C%20and%20GPS%20devices.
@@ControllersTech I succeeded in changing it to the format I needed.
Your project has been of great help to me.
There is a little margin of error, but it seems that this is not a problem with the code part, so I got a satisfactory result
Can u plz share the code for conversion?@@dpOoO
Hey! I'm trying your method but i can't get any value, my head and tail is always zero. I checked my module with usb2ttl converter and realterm and it worked. Can you help me? Please.
As mentioned in the video, try this only if you got the ring buffer working first
@@ControllersTech I've already used your ring buffer method on different sensor but this time i couldn't handle it. I got some values for 2 or 3 times but now they gone again, i can't see any reason.
I solved the issue, thanks for help and thanks for the codes they working fine.
I tried this with NEO BLOX 7M and STM32H7, but the value of gpsData is always 0. There is no error when debugging the code. Any idea why? Thank you
You need to first make the uart ring buffer work, as mentioned in the video. If that works properly, then proceed for this video
great , where is NMEA.c and .h ?
Inside src and inc folders. Download the project from the link in the description.
would it work with the UART DMA with IDLE Line Detection?
It wasn't working. The reason could be that the data was coming very slow and by the time we process the data, the next chunk gets lost.
If you can use the official software by neo 6m to change the baud to 115200, there might be the chance that it will work with idle line also
Thanks I have seen the data is received via DMA but I haven’t tried to process it. I’m using RTOS too. I hope to get some luck.
@@ControllersTech baud rate of module can be change by sending it's specific AT command
can you tell me how to download nme.c and nme.h?
I'm sorry but I can't find the NMEA files in the src or inc folder of the ringbuffer git. Are you sure they are in there?
Why will they be in the ringbuffer git ?
Ringbuffer is a separate topic and is being used here. Download the project from the link in the description(from the website). The files can be found inside the project folder
@@ControllersTech I found the files, and now understand the miscommunication everyone has. In your video you show the git of the ringbuffer. In your link it is nowhere stated that there is a download link at the bottom. so everyone including me sees the link for the ringbuffer in your tutorial and figures the nmea files must be included in there. so for future reference maybe say the download link is at the bottom of the page. Anyway, Thank you for the help and all your amazing video's!
hi,what is nmer format?
where can i get the NMEA library?
Description
Hi Controllers Tech, I'm not being able to find the NMEA files, any help ? :)
They are inside the src and inc directories
@@ControllersTech Thank you
There is no such file
@@kleameta8723 did you find the file? I don't see it anywhere
Of course the files are there. I don't understand how you can't find the. Just look in the src and inc folders where i kept then in the video.
i can't find where is the "NMEA.h" and "NMEA.c"
inside the src folder
@@ControllersTech no están en esos archivos
how to dowload nmea.c file and nmea.h file
Link is in the description
Vro coordinate haridwar ka aa raha hai
If you look with 2 decimal places then yes.
For accuracy, you need to see 5 dp
@@ControllersTech How can I change to 5dp?
Hi ,i want to get more information ,do you have mail ?
Admin@controllerstech.com
I have a problem when it builds at 7:14 minutes..
there is an error
GPS\GPS.axf: Error: L6200E: Symbol huart1 multiply defined (by main.o and uartringbuffer.o).
because on UartRingbuffer.c it has been declared
UART_HandleTypeDef huart1;
#define uart &huart1
and how to fix it?
thank you
UART_HandleTypeDef must be extern.
how you fixed the problem??