I’m in a bit of a bind with something I’m working on. I wanted to try creating my own implementation of measuring the distance covered by a moving vehicle along highways and roads and that assigning fares for passengers based on the distance covered by each passenger. The route used by the vehicle is never fixed so use of maps wouldn’t have helped. That meant I had to use GPS to calculate the distance.
I broke down the process to some steps but I haven’t been able to combine them to a working program.
I’m using arduino by the way. These are the steps
I’ve modified some of the code for NFC found in the arduino examples so that it can check if someone has entered or alighted
I’ve also been able to get a working code to calculate distance every 1.5seconds and add that distance to a distance total
I however am unable to combine the above codes to create the larger program
How may I proceed for my project? My background is in electrical engineering but I don’t have any coding experience - any guidance will be appreciated
Thank you
Chintan