Java Car Horn Java Car Horn
home Student Projects no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products

This essay is about a suggested student project in Java programming. This essay gives a rough overview of how it might work. It does not describe an actual complete program. I have no source, object, specifications, file layouts or anything else useful to implementing this project. Everything I have to say to help you with this project is written below. I am not prepared to help you implement it; I have too many other projects of my own.

I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.

You have my full permission to implement this project any way you please.

This is a hardware interface project to create a high end automobile horn.

The Need

Imagine you are driving your new ultra quiet electric sports car and come upon a cyclist. You want to be sure he knows you are present. You honk your horn. Because his ears are not enclosed inside a vehicle, your horn sounds extremely loud to him. You see him jump in alarm, then recover and give you the finger. You would have preferred something more subtle, perhaps just some noise like a noisy automobile engine.

Imagine the driver ahead of you has a shaved head and tattoos all over the exposed parts of his body, and he goes into reverse and is about to hit you. You don’t want to honk least he get out of his car, rip your car door off in his bare hands and beat you to a pulp. So you play some rap music, that sounds like a boom box. If he does not notice, you play a sound like a Mac truck horn to really get his attention with maximum decibels.

The Net Effect

You can use your automobile car horn to play a variety of sounds, at a variety of volumes, for a variety of durations. These might be your voice, recordings, telephone ring tones, electronic sounds, music, antique car horns, truck horns, ice cream truck music, celebrities (e.g. Dustin Hoffmann saying “I’m driving here!” in his Ratzo Rizzo voice), pick up lines, commands, obscenities, political slogans, insults etc.

How It Works

You need some sort of input device: You need a tiny Java-powered computer with the ability to play sound files and some amplified loud speakers mounted under the hood.

Futures

This is mainly a prototype. Car manufacturers on seeing how this works might invent a simpler, cheaper non-programmable version, perhaps that uses a conventional car horn, but with variable volume. Or they might build the function in using one of the computers already built-in to the automobile.
CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.18] The information on this page is for non-military use only.
You are visitor number 2,175. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/project/carhorn.html J:\mindprod\project\carhorn.html