Displays "No Data" then a small value ie .24 the after 20 seconds appears to lock up.
NANO shows "Low memory available, stability problems may occur"
Could this be causing problem?
The question is could low memory be causing GPS to freeze-up
Seems like the code that is you are compiling is taking a lot of space compared with the space avalability in NANO. Before understanding what is the problem, as this is supposed to be an Error massage, did your code got flashed perfectly? Can you provide the log messages of the Arduino IDE?
Hi.. It seems there could be two problems
1. Your display is showing "No data" or any data near to 0 means, you have already successfully uploaded code to Arduino and your device is in static condition. So try to move the device constantly for a minimum time of 20 seconds to that your OLED would display the updated speed data.
2. Secondly, the code is occupying a lot of memory which is critical for Arduino Nano, you can see the warning with a percentage of memory occupancy in error log. But this is a warning, as you have already uploaded the code, there should be no issues.
After applying power the display shows "No Data" for approx 20 seconds then it displays random numbers for approx 10 seconds then it appears to lock up until I reset NANO then the same thing happens. I have ordered a different GPS Module to try and I will repost the results.
Thanks for replying
UPDATE:
Finally got the Speedometer project working, I retyped,
line 48 "display.print(gps.speed.mph());" and it started working I do not have an explanation if anyone has an answer would appreciate knowing why it fixed it.
Thanks for all the response
Please express a doubt to me. The RX pin is the D2 pin or the rx pin as it is in the scheme???
Adafruit_SH1106 display(OLED_RESET);
int RX = 2, TX = 3;
TinyGPSPlus GPS;
SoftwareSerial gpssoft (RX, TX);
void setup()
RX is D2???? or the NANO RX pin?
In the drawing is as being the RX of the nano.
I don't get any speed information and I've already checked my GPS and it's working
Debashis Das
PermalinkI did not understand your question, can you please clarify.
- Log in or register to post comments
Joined December 02, 2019 117Monday at 10:02 PM