Hi Robert,
i have a question:
I build my myGPS Arduino with a plugable GPS-Receiver.
If i forgot to connect the Receiver, so i can see that, because the OLed have a white Background and shows no Data.
Connecting the Receiver (and a few secounds later, it receives Data) the Background turns to Black and shows the Data (Time, Date, GPS and so on).
But when i disconnect the Receiver (or make a mistake on the Receiver (drop down)) after a "success receive Data", the OLed is still Black, shows Date, GPS, only the Time stands still, so i can not see (from a distance) that there is a disconnect of the Receiver-Unit.
Can you make a "OLed turns back to a white Background" if the Receiver is disconnect, or receive no Data?
Thanks for your help.
Best Regards
Andreas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Andreas
I can look at this yes. It might be a few days though as the language translation of the ASCOM focuser driver is taking priority right now. But I will look at it.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI Robert,
this ino checks if the Receiver is connected or not, that´s fine!
(disconnect the Receiver, the Display turns to a white Background and
connect the Receiver, the Display turns to a Black Background.
But it looks so, if the Receiver is connected but don´t receive any
GPS-Signal, the Display have a "Black" background and looks like "All OK",
but there are no GPS-Data.
In the "old" Version, the Display turns only to a Black Background, when the
Receiver has a GPS-Signal, but does not recognise the disconnect.
If you have time, please have a look at the new File.
Thanks for help!
Greets
Andreas
Von: brownrb [mailto:brownrb@users.sourceforge.net]
Gesendet: Mittwoch, 15. Mai 2019 09:57
An: [arduino-gps:discussion]
Betreff: [arduino-gps:discussion] Lost GPS-Receiver Data
Hi Andreas
Please find attached to test
Regards
Robert
I am not sure thats the case
The code
else
{
// no data, possible disconnection of GPS?
if ( ((datatimer - gpstimer) > GPSINTERVALTIME) || (datatimer < gpstimer) )
{
gpstimer = datatimer;
online = 0;
}
}
waits 5s and if no gps data is receieved over a 5s interval then sets online to 0
then the following code for the oled
if ( online == 1 )
myoled.Display_Normal();
else
myoled.Display_Inverse();
// now update screens
displaylcdpage();
checks the state of online and if 0 (no gps data for 5s) then the display is reversed (white on black)
It might be the order of things though. so try attched which has a slight difference in order
I'm not sure if I'm testing it right.
The GPS-Receiver behaves differently.
According to whether the receiver is cold (no date time, etc.) or has already received data. (Date Time, or even GPS-Data).
The Display changes to white for 2 seconds every 10 seconds, or is black and has no coordinates, only date and time.
I think I have to test it differently because the receiver also provides date and time when it is in a metal can. (if he had previously received coordinates)
Thanks for your trouble so far.
I continue to test and try to document the possible results.
(GPS receiver is cold, or warm, or has no signal or is not connected)
greeting
Andreas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
my Neo-6m GPS-Modul has a LED onboard, i think the LED will flash if the Modul receive Data.
I can put the LED outside of the Case, so i can see it.
Maybe it´s the easiest way to see the status of the Modul.
My Travel-Case is ready now (have some new pic´s posted), now i can build the Stepper on the Focuser and make the Dew-Stripes.
Thanks for your great work!
Greets
Andreas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
i have a question:
I build my myGPS Arduino with a plugable GPS-Receiver.
If i forgot to connect the Receiver, so i can see that, because the OLed have a white Background and shows no Data.
Connecting the Receiver (and a few secounds later, it receives Data) the Background turns to Black and shows the Data (Time, Date, GPS and so on).
But when i disconnect the Receiver (or make a mistake on the Receiver (drop down)) after a "success receive Data", the OLed is still Black, shows Date, GPS, only the Time stands still, so i can not see (from a distance) that there is a disconnect of the Receiver-Unit.
Can you make a "OLed turns back to a white Background" if the Receiver is disconnect, or receive no Data?
Thanks for your help.
Best Regards
Andreas
Hi Andreas
I can look at this yes. It might be a few days though as the language translation of the ASCOM focuser driver is taking priority right now. But I will look at it.
Regards
Robert
Hi Robert,
no Problem, it´s a only nice to have feature, take as long as you need.
Thank for help.
Greets
Andreas
Hi Andreas
Please find attached to test
Regards
Robert
HI Robert,
this ino checks if the Receiver is connected or not, that´s fine!
(disconnect the Receiver, the Display turns to a white Background and
connect the Receiver, the Display turns to a Black Background.
But it looks so, if the Receiver is connected but don´t receive any
GPS-Signal, the Display have a "Black" background and looks like "All OK",
but there are no GPS-Data.
In the "old" Version, the Display turns only to a Black Background, when the
Receiver has a GPS-Signal, but does not recognise the disconnect.
If you have time, please have a look at the new File.
Thanks for help!
Greets
Andreas
Von: brownrb [mailto:brownrb@users.sourceforge.net]
Gesendet: Mittwoch, 15. Mai 2019 09:57
An: [arduino-gps:discussion]
Betreff: [arduino-gps:discussion] Lost GPS-Receiver Data
Hi Andreas
Please find attached to test
Regards
Robert
Attachments:
https://sourceforge.net/p/arduino-gps/discussion/general/thread/e7fa11b123/ c912/attachment/myGPS_012_OLED_NGPS_AGPS.ino (9.7 kB;
application/octet-stream)
Lost
https://sourceforge.net/p/arduino-gps/discussion/general/thread/e7fa11b123/ ?limit=25#c912 GPS-Receiver Data
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/arduino-gps/discussion/general/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
I am not sure thats the case
The code
else
{
// no data, possible disconnection of GPS?
if ( ((datatimer - gpstimer) > GPSINTERVALTIME) || (datatimer < gpstimer) )
{
gpstimer = datatimer;
online = 0;
}
}
waits 5s and if no gps data is receieved over a 5s interval then sets online to 0
then the following code for the oled
if ( online == 1 )
myoled.Display_Normal();
else
myoled.Display_Inverse();
// now update screens
displaylcdpage();
It might be the order of things though. so try attched which has a slight difference in order
Last edit: brownrb 2019-05-24
Hi Robert,
I'm not sure if I'm testing it right.
The GPS-Receiver behaves differently.
According to whether the receiver is cold (no date time, etc.) or has already received data. (Date Time, or even GPS-Data).
The Display changes to white for 2 seconds every 10 seconds, or is black and has no coordinates, only date and time.
I think I have to test it differently because the receiver also provides date and time when it is in a metal can. (if he had previously received coordinates)
Thanks for your trouble so far.
I continue to test and try to document the possible results.
(GPS receiver is cold, or warm, or has no signal or is not connected)
greeting
Andreas
Hi Andreas
It is doing my head in.
If the GPS is connected then it will be transmitting data, even without a GPS lock, every second, back to the Arduino.
regards
Robert
Hi Robert,
my Neo-6m GPS-Modul has a LED onboard, i think the LED will flash if the Modul receive Data.
I can put the LED outside of the Case, so i can see it.
Maybe it´s the easiest way to see the status of the Modul.
My Travel-Case is ready now (have some new pic´s posted), now i can build the Stepper on the Focuser and make the Dew-Stripes.
Thanks for your great work!
Greets
Andreas
Hi Andreas
Not sure about that. It will send data every second requardless of the LED state.
Hi Robert,
yes, that could be, but i dont want waste your time for my littel Problem....
Thanks!
Greets
Andreas