A cop in every car

posted Apr 6th 2010 7:27am by
filed under: gps hacks

[Michael] designed this display board to mimic the appearance of a police car pulling you over. It resides in the rear window of his car (facing forward) as the controller board measures the speed of the vehicle. An Arduino grabs NMEA data from a GPS module and compares it with a table of speed limits. If you are speeding, based on your current location, the reds and blues flash as if you’re getting pulled over. The thrill of getting busted for a lead foot doesn’t sound like much fun to us but to each his own.

Incidentally, [Michael] is using the EM406 GPS module, the same one as the Frustromantic Box used.



69 Responses to A cop in every car

  • unsupported says:

    Having red and blue lights in a vehicle is illegal in most, if not all states.

  • fenwick says:

    I was about to say what unsupported said. In my state, they’re illegal if they can be seen from outside of the car

  • Rufus T. Harlemberry says:

    I will be putting one of these in my daughter’s car.

  • fartface says:

    wow dumb…

    Why not just a red blinking light on the speedometer?

    Why is it so many “hacks” are more dorky than useful?

    Let’s push this one further…. if you exceed the speed limit, cut the fuel pump.

  • pod says:

    sure, but these are facing forward and small enough for you to be the only one noticing them (except at night)

  • Haku says:

    Despite the red/blue light laws it’s a neat idea, though I would have put the LEDs on the same board as the microcontroller+GPS instead of trailing two CAT5 cables to the back of the car.

  • Codewar says:

    This is a horrible idea! You’ll get pulled over trying to use this thing!

  • Digital says:

    I used to have a plethora of cathodes in red and blue in my car. Got a lot of people out of my way when I was in a hurry, but one day I got slapped with a $250.00 fine. on the other hand though, these are very small and I very much doubt that anyone outside the vehicle would confuse these. And what if you had a dvd playing on one of those portable players and it had red a blue flashing colours for whatever reason, would there be justification for pulling you over? if it’s just a brief burst I don’t think it would ever be a problem.

  • Michael says:

    Good points about the laws regarding red/blue lights. But this isn’t really visible outside the car. The LEDs point forward. During the day, the LEDs just aren’t bright enough to be seen by a car in front of me (yes I did some testing). At night my own headlights are bright enough to drown out little LEDs.
    This isn’t a really practical project — just for challenge/amusement.

  • BiOzZ says:

    its illegal in the usa to have red or blue lights inside the vehicle that is viewable in any way outside the vehicle (day or night) and you can be charged with illegal vehicle modification and in some cases felony impersonating an officer

  • JAGAK says:

    Oh man, any one else want to post on legality, cause i don’t think any of us get it yet… Now what would be real cool is to have this mounted in the rearview mirror like the ones that display temp, direction etc.

  • jamieriddles says:

    @fartface
    “Let’s push this one further…. if you exceed the speed limit, cut the fuel pump.”

    LOL
    How about a taser that shocks you for speeding?

  • Boudico says:

    Michael,
    Neat idea. Regardless of the legality issues implied. If I understand the workings correctly, you could fairly easily modify this to be completely ‘legal’ and ‘fuzzily happy’ to most people. How? Have it compare the mph against the table as you do already, but instead of flashing lights, have it log it to a file with mph/time/date/loc/etc that gets appended each time you ‘speed’. Then, mom/dad could d/l the log and see what junior/juniorette has been up to.

  • carl jones says:

    Why? Because it’s funny and creative. This blog is Hack-A-Day — not Law-A-Day.

  • Whatnot says:

    So if you boost this and install it in the fender you automatically become a fake cop when you exceed the speedlimit, handy that.

    Or more legally what he should do is make a plug for real policelight to plug into and then sell this to policeforces so they have automatic engagement if they need to speed, he can make a bundle.

  • MrDan says:

    “Having red and blue lights in a vehicle is illegal in most, if not all states.”

    “its illegal in the usa ”

    You people do know that there are other places than the USA, right?

  • JaB says:

    Everyone is somehow worried about the red and blue lights being illegal, but somehow nobody seems to point out that speeding, too, is illegal.

  • bzroom says:

    @Whatnot

    preach brother.

  • asv says:

    @unsupported

    Forgot it had to be legal to be fun!

  • Buzzkill says:

    Awesome HAD project. Creative use of the GPS module +1. If it were just the red and blue lights I would have said “meh”, but the fact that you also added the white LED’s to simulate the headlights is +1. Doing it “just because” is +1. Documentation, schematics, and posting the code, also +1.
    As far as legality, whatever. There are so many stupid laws on the books anymore, all of you whinners probably broke a dozen laws before you finished breakfast this morning and didn’t even realize it. But some of you did, and we know who you are.

  • Dave says:

    As a precursor to the fines for both speeding and use of red and blue lights, the passenger in the car will hear “Hey, watch what happens when I…”

  • LordDominoTwain says:

    For all the “it’s illegal” folks… you’re missing the point. If the lights are on, you are already breaking the law — this just adds some gravy to the deterrent.

    But, if you really want to Pavlov yourself into a model citizen, throw in bluetooth connectivity and have it *77 highway patrol with your location, speed and license plate number. As a bonus, that’s probably illegal as well.

  • BiOzZ says:

    @LordDominoTwain
    speeding = misdemeanor
    impersonating an officer – felony

    speeding – ticket
    impersonating an officer – you car is seized and you face up to a year in jail

  • Megan says:

    I think this is a dumb idea! First off, who wants to deal with the annoyance when they are going a little fast. Have we really become that pathetic that we want a speed nanny! Secondly, if you really need such a ninny device, just put a warning light on the gauge panel. And finally, any parent who would actually put this on their kids car is lame and a square. Stop trying to be such an overprotective parent. Why not instead be a better parent and raise a better kid?

  • ejonesss says:

    i am not sure how legal that is.

  • BiOzZ says:

    i think a better hack would be a police radar detector or a cop detector or a GPS based speeding camera alarm

  • VIPER! says:

    They have these integrated into normal speed limit signs at fort Rucker Al. They really freak you out until you realize that’s its a sign flashing red & blue and not a cop. Its a very effective reminder, you DO NOT want to get caught speeding on BASE.

  • LoBo says:

    This is what I see happening: You get used to having this device installed in your car and start ignoring it. A real cop tries to pull you over > High speed chase. :)

  • Michael says:

    I’m glad at least some HAD readers think my project is interesting or humorous. For all of you with the legality comments — yeah, I *get it* — it’s illegal to have the red and blue blinkenlights in the car. This wasn’t installed permanently – just for a few days. I drove around one night with my son and we had a great laugh.
    All you wannabe lawyers — sheesh, I bet you’re real fun at parties.

  • anon says:

    You can always count on Hack a Day posters to beat a dead horse.

  • Mike says:

    Hey fartface-lets do cut off peoples fuel pumps. I’m sure that will be absolutely genius on I25 during rush hour when everyone is doing 80. One guy all of a sudden slows down because his fuel pump shut off and you’ve got 3000 cars piled up in a big tangled mess behind him.

  • Mikey says:

    This sounds unsafe and possibly illegal. What is likely to happen is he will eventually ignore the leds because they will be such a common occurance that he will ignore cops trying to pull him over as well thinking they are the leds.

    Also what is likely to happen is if he is speeding and a cop is behind him, trying to pass with it’s lights on, he will not notice the difference in his peripherial vision.

  • DeadlyDad says:

    Ummm…guys? Imagine you are a state trooper, and you pull some guy over because you notice a dim, flashing blue and red glow in his back window. Once he explains that it is a simple hack to warn him that he has gone over the speed limit, would you be more inclined to arrest him, or give him a pat on the back? Personally, I like it, especially if it was made completely portable and you tossed in the back window of a buddy’s car; as soon as it went off, his first reaction would be to hit the brakes, dropping his speed and turning it off. This would probably happen fast enough that he would have already dropped back below the limit before he had a good look in his rear-view mirror…where no patrol car exists. He would most likely catch on after a couple of times, but, until then, a hidden dash cam would make for an /awesome/ YouTube video!

  • soopergooman says:

    gps speeding alarm, built in psp homebrew Mapthis/mapViewer, this will get you BUSTED BY REAL COPS. basically this is called IMPERSONATING AN OFFICER. Those lights will not only mimic being pulled over but in MOST COUNTRIES it’s totally illegal. What about the drivers in front of you. They see this and BAM they call the real ones on You.

    I say BUILDER BEWARE!!!!

  • soopergooman says:

    side note, maybe you coulda hooked this up to a computer game to mimic when PRETEND COPS are coming to get you. It’s a nice hack but maybe just an AMBER Light would just as good. You say “You and your Son had a great time with it a couple of nights” Quote: “. I drove around one night with my son and we had a great laugh.”
    Soooo You yourself have just confessed to Impersonating an Officer of the Law. Great role model your presenting yourself to be.

    We like hacks that do good not bad….

  • RBRat3 says:

    @spoopergooman

    yea and when i was 5 i wore a sheriff badge with my name on it so i suppose i was impersonating an officer. On a side note its only 8 led’s and are probley no brighter than the inglows for your red and blue temperture knob/slider indicator.

  • Birdman says:

    This guy came up with something creative to help him stay safe while driving and it seems like everyone is just putting him down with these ‘legality’ issues…

    I don’t think he deserves it!

    I mean, you all know that normal LEDs aren’t bright at all! How would someone outside the car even be able to see this?

  • Michael says:

    @soopergooman

    Wow, get a grip.
    When I was testing this out, if there were any other cars around (oncoming or behind me), I just pressed the test button to turn off the lights if they were on. I really didn’t want others to see them, even though they aren’t bright enough to fool anyone into thinking I was a police officer or something. Sheesh.

    I wasn’t “Impersonating an Officer of the Law”. I like how you capitalized the words to emphasize the gravity of my heinous crime.

    > “Great role model your presenting yourself to be.”
    Yeah, doing electronics projects with my son is soooo evil.

    Glad you’re policing the internet for us — we all feel safer. Hang in there, kid. You’re gonna make detective some day!

  • sarsface says:

    HAD–Best comedic website ever.

  • anthonydi says:

    Make the car twitter you when your speeding.

    I doubt this thing would be bright enough to get you in trouble.

  • JAGAK says:

    Wow, after an entire day of one legality post after another & people bashing the wannabe cyber police for doing so repeatedly, people are still pointing out the obvious. HAD trolls are out in force and just as dim as the LEDs in this project. Seriously its not like he is using Luxeon or Cree LEDS… I’d expect more from HAD readers. The laughs gained were undoubtedly derived from glee in seeing their project worked and not from “illegally flashing lights in their vehicle” as much of a thrill as that would be I’m sure. Get mad and bash more creative thinking and just for fun projects because you don’t have the brain power to pull it off, or… before you get a chance to retort go make something better and post it else stfu & gtfo, thx bro!

  • Life2Death says:

    Not true, if blue leds were so dim as you say they are there wouldnt be 500 posts on every computer case using them that “the blue leds are too fking bright”

  • Bill "Smith" says:

    This is a good hack. While its true that the blue lights can get you pulled over its usually the meth pipe that gets you in trouble.

  • strider_mt2k says:

    The legal nuts are…crazy.

    JAGAK – +1

  • Timmy says:

    I don’t think this device is about the lights. It looks like the builder wanted to demonstrate how easy it is to have a device put into a vehicle that could monitor speed without having to connect it to the vehicle’s speedometer, and alert authorities to the fact that it’s speeding.
    This device is likely intended as a warning to us how easy this is, and to be on the lookout for lobbyists or legislators pushing to have such a device installed in every vehicle, ostensibly to protect us from speeders, but in reality, to provide an excuse to monitor everyone’s location.

  • Pilotgeek says:

    Everybody whining about Red/Blue light legalities: All I ever hear in the comments anymore is-
    a. Not a hack
    b. Something about the legality.
    c. Something about safety.

    Since when do hackers give a crap about safety and legality? Christ dudes, live a little.

  • blackman says:

    I made something like this ages ago with a mate for his shoes, it was just 555 and a decade counter with a few diodes. It only flashed the lights to mimmic cop lights. One shoe was a racecar, the other was the cop. Indicators headlights and all :D

  • Jess says:

    Id like to see this done in a much smaller package, and with suction cups. That way I can sneak it into the back seat of a buddies car :)

  • Scott says:

    At least it doesn’t use Arduino. Oh, wait… [scratches head]

    If the technologically-challenging part of this project is making a GPS unit talk to a microcontroller, why is the photo of a few resistors and LEDs? Very disappointing.

  • pickpocket says:

    use at your own risk. something like this is illegal and can get you in serious trouble.

  • JAGAK says:

    @Life2Death

    Wow man you did some great research and offered up valuable information cause obviously all blue LEDs are of the same ridiculous brightness as the ones used in computer cases. The poster of the project said himself that they are barely visible in the day. I particularly love the “500 posts on every computer case” factoid… good job man.

    @pickpocket

    “use at your own risk. something like this is illegal and can get you in serious trouble.”

    -Said the pickpocket… lol, thanks man for yet another post on this we almost forgot.

  • Oren Beck says:

    IIRC that some JDM cars had speed warning lights and a bell as factory items. But they were not GPS integrated so were not comparable to this Hack.

    I’d consider this unit as a form of “In Cab Signal” almost evocative of Railroad ancestry but updated by GPS and creative PsyOps factor detail in the display.

    RE: Laws about visible lights on road legal vehicles were- and are always going to be of valid concerns. We used to say it simply as:

    “If you have to think about if it’s going to get you hassled- it likely will”

  • hennypenny says:

    @JAGAK

    Jokes aside, a device of this nature could potential land a hacker in hot water.

  • Anonymouse says:

    Lol, hackaday gets butthurt again because somebody did something potentially illegal or drew power from a supply in excess of 40 volts.

  • capn says:

    If the readers of hack-a-day can’t figure out how to attenuate the brightness of the LEDs used in this project, or mount their DAYGLO bright tinted HIDs in such a way that they are “impersonating police” then they deserve the felony.

    I think a (bright enough to be noticed by the driver- yet under the instrument canopy) alternating blue and red light on the tach/speedo would be quite useful-

    But I have a lead foot and run trapster when I’m driving…”spiritedly.”

  • somebody says:

    if it in my car , i would speed up thinking that an ambulance is behind me

  • somebody says:

    sorry for double post , its too bad that i can’t edit my own posts
    —–
    to make it legal , i would tint all of the the car’s windows pitch black so no one can see whats over there unless he has a infrared eye-vision

  • Jerome says:

    I wonder how many of the people that wrote this is illegal actually read the applicable law for their state or country. In my area this would be legal so long as the lights didn’t flash. I guess a lot of these HAD readers are not hackers – expand on his idea in a logical way. Make a sign that says “SPEED” or a voice warning system that says “Check Speed” or something.

    Mike, I think you did a great job man! The concept you demonstrated could be very helpful. This idea would be great for new teen drivers if it was hooked up to an audible warning telling them to check their speed.

    PS: In my area, I’m sure you could talk a judge into giving you the standard “first offense” penalty – which is a $25 fine. The colors match a police car, but your intent is clearly NOT to stop other motorists as if you were a police officer.

  • WaitAMinute says:

    for everyone saying they are illegal – you wont see these unless you are speeding, which you would get pulled over for anyways. so double incentive to not speed, 1) to stop these annoying ass lights, 2) you will get an extra fine ontop of your speeding for the blue/red lights :D

  • NxtPlz says:

    Thumbs up! I think this was sweet, just dont sell it to the Gov. haha =P

    People need to start reading posts before they open their mouths, or is keyboards? ha, anywho. Props yo!

  • NxtPlz says:

    Side note: Oh, a video demonstrating the lights working during the day and night probably would’a helped… Then we could have saw how bright, and if this was really a legality issue or not. ha ha, but like i said before… Thumbs up yo!

  • Frozenlock says:

    I love it! Could be use when I let one of my friends take my car, just to be sure he doesn’t use all the gas speeding. ^^

    Another interesting hack would be to record the visited places. Muhahahahah! *Evil power-hungry mode*

    I also like the comments…
    Instead of looking if something is good, useful, bad or mean, let’s check if it’s legal. Who needs morality anyway, when we have laws…

    Seriously, anyone who is able to build this would also be able to dim the light if necessary.

  • Dongler says:

    First Off… Fuck the Law! Go out and have some fun for christ sake.

  • Dongler says:

    Bunch of anal retentative assholes. lol

  • sasquatchking says:

    Wow..

    @Dongler: I totally agree, anal retentive is the key phrase with all these comments.

    these are the kind of people who call and report their neighbors for breaking exotic pet bylaws for having a pet snake or for letting their grass grow to 2.5 inches when the community bylaws say 2.2 inches is the maximum.

    It’s not your concern, it’s not harming anyone. The lights aren’t even visible from outside the car. Stop the mindless knee-jerk reactions already.

    Note: Don’t have red/blue LEDs, Snake, or a lawn.

  • JAGAK says:

    So… then by process of elimination you do have an exotic pet, hold one second. “Um yes I’d like to file an anonymous complaint about this guy that goes by the handle sasquatchking.” All joking aside this has been the most ridiculous post… so many wannabe ecops / elawyers out there but they are doing their thing trolling & bashing instead of making & hacking, can’t expect much more from that crowd but seriously go start your own blog / forum there seems to be enough of you.

  • John Avitable says:

    I love how everyone get’s all upset about this being potentially illegal but no one comments on the legalities of RFID spoofers and the likes or the posts detailing how to sniff ATM card information from an ATM.

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources