Hello, I m mechanical engineering senior student and have a graduation project. My project is smart sprrd bump. The bump will raise if the vehicle speed exceed 50 km/h. 2 sensors will be located on the road with a distant from each other. when the vehicle pass the first sensor, timer stars and when vehicle pass second sensor, timer stop counting. x/t (distance divided by time) will be equal to the velocity. Distance will be known. I dont know how to code arduino. Arduino supposed to calculate velocity and if velocity is higher than 50 km/h , solenoid valve will be activated.
Thank you in advance
The math is simple.
distance divided by time
you statement "Arduino supposed to calculate velocity and if velocity is higher than 50 km/h"
is incorrect.
the Arduino will calculate all speeds all the time.
you can have it alarm at any point you want.
here in the US, we have about 10 tiny speed bumps in a row, they make a lot of noise in the car, but do not bump the car so hard as to shake up your coffee.
the first sensor would start the count
the second would end the count
the distance is a fixed value
distance / time
do you have any arduino now ?
you could put in two switches and press one, then the other and see the time.
the programming is easy for this project, so get one and start to do some of the examples.
you will quickly see how to get things like this done.
burcucasia:
Hello, I m mechanical engineering senior student and have a graduation project.I dont know how to code arduino.
Arduino is C/C++. By now you must know at least 1 programming language (FORTRAN?) pretty well, how hard to learn the basics of C? Or maybe you already know C or C++? You know at least calculus II, C is a LOT simpler.
At the top of the forum screen is a banner with words in all caps. Click on RESOURCES and first just explore where the links go and bookmark pages with good info or links. That is all Arduino main site, it is the online manual with the answers most newbs ask every day because their time is worth less than being spoon fed at someone elses convenience. Yours is not, you gotta feed yourself if you don't want to procrastinate and lose. So there's links and you can find most anything on the web, right Senior?
I imagine someone quickly trying to cross the street before the approaching car and your bump ejecting just in time to trip them... Sometimes "dumb" solutions are better than the "smart" ones.
Do you have a sensor selected yet?
If this was a real live application there are serious liability issues and other design and safety concerns - for example
- a cyclist is riding their bicycle and a car going to fast causes the barrier to jump up a foot or three in front of the cyclist and the bump dumps them on the pavement
Also the design for fast deployment and retraction would be interesting
50 km h-1 seems to be rather a high threshold to activate a rising speed bump. How far do you expect to project offenders?
Perhaps you aught to reverse your thinking and have the bump normally raised, (as a deterrent), and 'reward' slow drivers by lowering the bump.
Love the reward bump idea.
Have the bump itself be a spring pulled up bar with a durable cover similar to rubber in a tire.
By default car driving over will compress the spring causing little interference.
When high speed is detected, lock in a manner so the bar stays rigid.
As bonus, use up/down movement of the bar to generate electricity to make it self powered?
Raise the spikes and ready the cannon.
The emergency services people may have something to say about your speed bump!
Paul
man, how big go you guys think a bump would be ? couple inches at most. makes a car bounce, but bicycles can go over it.
I have to +1 on the idea of a hinged bump and a lock when the car is going over speed.
In these parts they have sensors and cameras and of course signs around construction sites and intersections. Go too fast and join the line of 1000's a day who get a ticket in the mail. If you can't send a bill maybe have a website wall of shame?
Lots of fixed speed bumps in many streets that emergency services deal with just fine.
In The Netherlands police used to announce speed checks on motorways - they did that for quite some time, don't know why they stopped. Reason: "we're not interested in writing tickets, we're interested in having drivers obey the speed limit".
For low speed streets, a speed bump is a very efficient way of keeping those speeds low and improving road safety.
wvmarle:
For low speed streets, a speed bump is a very efficient way of keeping those speeds low and improving road safety.
Ali I have ever see is people flooring it in between, no use what-so-ever.
Really?
- without speedbumps they'd floor it all the way reaching much greater speeds
- at the speedbump for sure the speed is lower, or they'd not have to floor it afterwards
So there's definitely a use.
That people (drivers seem indeed to be worst of all, apparently not realising they're in control a murder weapon) can't behave themselves... that's what gave rise to speedbumps to begin with.
But anyway, we're digressing.
wvmarle:
That people (drivers seem indeed to be worst of all, apparently not realising they're in control a murder weapon) can't behave themselves... that's what gave rise to speedbumps to begin with..
Note that always "others" are wrong. Pedestrians hate drivers because drivers because drivers are going too fast. Drivers hate pedestrians for crossing the street anywhere, suddenly jumping just in front of their car. Both hate people on a bicycle.