Im still a beginner in programming arduino (I only had the basics in high school) and im planning to make a prototype (for my ICT course) that monitors the driver that he/she is nearing the overspeeding limit through a buzzer & LED using a GPS Module. Then, once the driver has gone over the speed limit, a text message will be sent to him/her to inform of them that they oversped.
I wanted to ask for your suggestions and help for this prototype since our instructor for the class didnt really teach the coding of arduino for this semester. These are the steps I planned so far:
Materials:
Arduino Nano or UNO (Depending on the compatibility with the GSM and GPS Module)
SIM800L EVB Module
NAVIGATION: GPS Module GY-NE06MV2
LED and Buzzer
Male to Male connectors
LED screen (optional)
I have no background knowledge on coding of GSM Module and GPS Module so I would be really grateful for any suggestion and help you can provide.
I have no background knowledge on coding of GSM Module and GPS Module so I would be really grateful for any suggestion and help you can provide.
I suggest that you look for libraries to interact with these devices and study the examples that come with them. I know very little about GSM but can recommend the TinyGPS++ library for the interaction with the GPS module
"I have no background knowledge on coding of GSM Module and GPS Module so I would be really grateful for any suggestion and help you can provide."
Use the search function in the upper right of this page to search for GPS and GSM. You will probably find previous project discussions and code using these devices.
yavinriv:
Then, once the driver has gone over the speed limit, a text message will be sent to him/her to inform of them that they oversped.
So the driver of the car will get a text message that they are speeding, I hope your not expecting the driver to read the warnings whilst they are driving.
Would not a voice alert sounding in the vehicle be a wheole lot more practical ?
And that assumes you have worked out how your project knows the speed limit for the road being driven ...................
dave-in-nj:
Overspeeding is dependant on road speed limits.
How will you know what the speed limit for the road is?
We set this for Public Utility Vehicles (in the philippines) like jeepneys and buses that only take a specific route all the time. So for those routes theres always a constant speed like around 60 kph.
srnet:
So the driver of the car will get a text message that they are speeding, I hope your not expecting the driver to read the warnings whilst they are driving.
Would not a voice alert sounding in the vehicle be a wheole lot more practical ?
And that assumes you have worked out how your project knows the speed limit for the road being driven ...................
Yeah, I also noticed that there is a fault to here. Instead of the driver being notified, will forward it instead to the local traffic and management authorities to inform them instead. Since the driver is being notified through an LED and buzzer, that should be enough to inform him. Thanks for the concern!
Paul_KD7HB:
Consider your car being driven in a circle at high speed. How would GPS know the speed?
Paul
Im hoping through the use of a GPS Module or Magnetic Reed sensor, it could provide the speed on how fast it is going. But, im not so familiar with arduino yet, if you have suggestions for measuring speed, i would appreciate it! Thanks!
I studied the usage of GPS module (neo-6m gps module) and GPRS shield (SIM900 module) and created a schematic diagram below. Im not sure if im 100% correct so please bear with me. The only problem I face now is if I can interface and use the GPS and GSM modules at the same time since they both use the serial monitor for inputing codes. And how I can trigger the buzzer and led if the gps senses that it is near 60 kph (lets say 55-59). Thanks again for your help!
The only problem I face now is if I can interface and use the GPS and GSM modules at the same time since they both use the serial monitor for inputing codes.
I assume that you mean that they both use serial interfaces so cannot share the same Tx and Rx pins
The best solution is to use an Arduino with more than one hardware UART, such as a Mega, and to separate the 2 devices onto their own UART. An alternative is to have one device connected to the single hardware UART and to use the SoftwareSerial library to provide the second UART. The problem with that is that the IDE uses the Serial interface to upload code to the Arduino on pins 0 and 1
Do not be tempted to use 2 instances of SoftwareSerial as I have yet to see a successful project that did this
Over the last year I've been developing an overspeed alert device for my own use in my vehicle. I started with GPS but shifted to a Hall Effect sensor and magnet at one of the driveshafts.
This is a very effective and helpful device.
You'll learn much about several technologies. There are challenges in store for you that you haven't imagined yet.
I would consider putting a lot more research into your project, it sounds like you have a solution looking for a problem. You could start by finding answers for the questions below. The object of this assignment is for you to learn. There is a lot of help on line for learning to program the Arduino and what it is capable of. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil