Pages: [1] 2   Go Down
Author Topic: Car reverse backing obstacle sensor with sonic ranger  (Read 8233 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is for my wife. She deserves a tech gift for putting up with all my wires and tools lately!  smiley-grin

I made a car rear obstacle sensor with audio alert. You can see how far something is behind your car when backing or parallel parking on LCD, both analog bar graph and digital readout. Plus it beeps like a Geiger Muller sensor when it comes closer and closer to an obstacle. I've tested it with a 12 ft phone cord. It's good to go on my car for a field test!

I've made two versions of the code, a nutshell version which turns on and does what I said it does, then the fully interactive version with all the menus and adjustable parameters so if you want earlier audio warnings or want it off, choose from parameter list and customize it! This hopefully helps beginners (nutshell) and advanced users (full)! Leave some feedback!

If you like the shield, you can buy it here:
http://dipmicro.com/store/JL-PHI-1

All details and codes are on my blog page:
http://liudr.wordpress.com/2011/02/12/arduino-parking-sensor/

Pic:



Videos (watch the bar graph!):





Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Update: it's warm today (by our local standard) so I got out and installed the sensor with my wife. It worked!

12FT 4-wire phone cord, about 10 pieces of wide tape and some masking tape later, the sensor is on my rear bumper sticker. I had it on my trunk first but it is angled and too high. It couldn't detect a car but a garage door was fine. So I moved it to the middle of the rear bumper cover.

Inside my car:


Between my car and some other dude's car:


The mounted sensor:


One video:


Several more videos are on my blog: http://liudr.wordpress.com/2011/02/12/arduino-parking-sensor/
I plan to back my car into a closed garage door blind-folded (hopefully in the near future) and put my trust in physics and the audio alert!
« Last Edit: February 12, 2011, 11:37:23 pm by liudr » Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I plan to back my car into a closed garage door blind-folded (hopefully in the near future) and put my trust in physics and the audio alert!

Very cool project. Hope the blind-faith test goes well.

But seriously dude, you need to work on your sensor mounting skills.  smiley-grin

I say go with either hot glue or double-sided tape.  smiley-wink

Lefty
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lefty,

Thanks! Forgot to mention I got some 3M "velcro" stickers with adhesive backing. Will plan for next weekend. Too much exams to grade. With cold weathers like in my area, you gotta be able to remove these sensors at night. I don't have a garage, although with my arduino spending I could rent 2-3 garages smiley You just have to stick to what's more important!  smiley-mr-green

Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Who's talking now lefty? smiley-lol

Front side:


Back side:


Original box:

Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Who's talking now lefty?


You talking to me, you talking to meeeeee ?  smiley-grin

Cool. Now work on that sound, it should be a nice soothing low frequency gentle gong gong gong, picking up tempo. Yours sounds worst then my wife's shrill warnings for me not to back up to close to something.  smiley-wink

Lefty

Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You mean increasing pitch as the obstacles get closer? Just several more variables I can put in my parameter menu! I have length of beep, length of silence, audio alert on/off in there already.Now I can add pitch, pitch ramp rate, and ramp pitch on/off. It's rather nice to have a parameter menu so I didn't have to re-upload if I don't like the way the pitch ramps.

BTW, that black box was made from a $1 3X5 card holder. It was black plastic sheets. I tore it down to make a face plate for my other project:


This picture was taken with a black paper face plate before I made the plastic one.

I just used a blade to cut on one side not so deep and fold at the cut. Then I spent a few minutes with my hot melt glue gun. There were also three sheets of cardboard behind the sensor to hold it in place.
« Last Edit: February 14, 2011, 09:17:28 am by liudr » Logged


Rome - Italy
Offline Offline
Full Member
***
Karma: 2
Posts: 246
Arduino UNO "Noob" User
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the shield is arduino uno compatible?

ps: you got MP  smiley-mr-green
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The shield is compatible with arduino UNO, Duemilanove, MEGA and all arduino clones that are pin compatible with all that were just mentioned.  smiley-cool smiley-grin
Logged


Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that I am going to copy this project a bit, I already have an arduino in my trunk connected to ignition, and a nice monitor in the front (for alternative clock and temperature sensors):





adding a ping or something would be interesting!
Fede
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Alright! I suggest you got get two sonic rangers. Since I've installed my sensor, I've grown an additional sense: every time I drive, I look at the rear bumper covers of the cars in front of me. I've seen cars with 2 or 4 sensors spread around the bumper evenly. I think you will want wide angular response as well but mine was narrow so it measures more or less things directly in front of it and not so much for things on its side. Having at least two will be much better than one. You can use your display to show two bars, one for distance to obstacle on each side.
Logged


Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to do some test, I have here 2 types of sonic sensor... A parallax ping and a cheaper i2c SRF02. Probably I will wait for warmer days, as here in Italy for our standars :-) it's still cold smiley-kitty I like your project a lot!
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Federico. It looks like you're already modding your car. Have you posted your project on Exhibitions yet?
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This project is now a featured project on instructables.com  smiley-cool

I just posted it last night. I guess arduino + car is a big hit! smiley-grin

http://www.instructables.com/id/Arduino-reverse-obstacle-sensor-for-cars/
Logged


Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

nice work
you might want to make the tone go continuous once you get below a certain distance (12" maybe)
or have a LED come on?
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Pages: [1] 2   Go Up
Jump to: