| FORUM

FEDEVEL
Platform forum

USE DISCOUNT CODE
EXPERT30
TO SAVE $30 USD

IOT based veehicle speed monitoring and controlling system

Vincent , 04-19-2025, 01:46 PM
Hey everyone, I’m working on an IoT-based project where I’m using the following components:

2 IR sensors (one for RPM measurement, one for obstacle detection)

L298N motor driver

30 RPM DC motor

ESP32

GPS module (NEO-6M)

Buzzer

Increment/Decrement buttons

LCD display with I2C module

My project goal is:

When the vehicle is moving at a normal speed, and it approaches a restricted zone like a school or hospital (within 500 meters), the buzzer should alert.

Once it enters the restricted zone, the vehicle’s speed should automatically reduce to a predefined limit.

After exiting the restricted zone, the speed should return to the previous level.

Additionally, if the vehicle detects an obstacle, it should stop immediately.

The motor’s real-time RPM should be displayed on the LCD.

The speed can be set using increment and decrement buttons.

We can be determined the restricted zones with the help of gps.

I want to create a prototype but i couldn't able to do that....I dont know how to code ...could anyone figure it out for me.

Also I asled chatgpt for the help it did give me a solid circuit cinnection but it couldnt figure out the code ..
QDrives , 04-19-2025, 03:27 PM
"*I dont know how to code*" -- you are not showing anything coming close to coding. It seems more that you have difficulty creating the schematic?
For speed detection of motors it is better to used a incremental encoder with quadrature output.
What is the motor used for anyway?
Mr. Nerdy , 04-20-2025, 03:59 AM
I can help you
Vincent , 04-20-2025, 06:08 AM
basically its a prototype. the motor used to measure speed of the vehicle
Mr. Nerdy , 04-20-2025, 09:39 AM
you can just use tachometer to read the speed. using motor as sensor have errors and require calibration
QDrives , 04-20-2025, 01:39 PM
Can't you use the GPS to measure the speed?
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?