RasPi Traffic Monitor

Dedicated Automobile Traffic Monitor With Raspberry Pi

[j3tstream] wanted an easier way to monitor traffic on the roads in his area. Specifically, he wanted to monitor the roads from his car while driving. That meant it needed to be easy to use, and not too distracting.

[j3tstream] figured he could use a Raspberry Pi to run the system. This would make things easy since he’d have a full Linux system at his disposal. The Pi is relatively low power, so it’s run from a car cigarette lighter adapter. [j3tstream] did have to add a custom power button to the Pi. This allows the system to boot up and shut down gracefully, preventing system files from being corrupted.

After searching eBay, [j3tstream] found an inexpensive 3.2″ TFT LCD touchscreen display that would work nicely for displaying the traffic data. The display was easy to get working with the Pi. [j3tstream] used the Raspbian linux distribution. His project page includes a link to download a Raspbian image that already includes the necessary modules to work with the LCD screen. Once the image is loaded, all that needs to be done is to calibrate the screen using built-in operating system functions.

The system still needed a data connection. To make things simple and inexpensive, [j3tstream] used a USB WiFi dongle. The Pi then connects to a WiFi hot spot built into his 4G mobile phone. To view the traffic map, [j3tstream] just connects to a website that displays traffic for his area.

The last steps were to automate as much as possible. After all, you don’t want to be fumbling with a little touch screen while driving. [j3tstream] made some edits to the LXDE autostart file. These changes automatically load a browser in full screen mode to the traffic website. Now when [j3tstream] boots up his Pi, it automatically connects to his WiFi hotspot and loads up local traffic maps.

Network Packet Sniffing With Linux

Here’s a chance to learn a little bit about network security. This article walks us through some of the core concepts of network manipulation and packet sniffing using Linux tools. [Joey Bernard] discusses the uses for packages like tcpdump, p0f, and dsniff. They are capable of recording all network traffic coming through your computer’s connection, seeking out machines installed on the network, and listening to traffic for a specific machine. This isn’t going to give you a step-by-step for cracking modern networks. It will provide some insight on what is going on with your network and you should be able to purpose these tools to check that you’ve got adequate security measures in place.

Ego Box Monitors Web Hits

[Bogdan’s] latest project is a box that displays web hits for a chosen site. He calls it the Ego Box because depending on how traffic goes it either bloats or crushes your ego. This provides similar functionality as our Troll Sniffing Rat but the biggest difference is that this is a stand-alone Ethernet device. That’s thanks to the ENC28J60 Ethernet controller chip which manages the stack and has been quite popular in DIY electronic projects. In order to monitor your hits [Bogdan] crafted a bit of code to add to the header of your index page. It increments the counter file each time the page is loaded, and the Ego Box simply monitors that file, displaying the traffic on an eight digit 7 segment display.

[via Adafruit]

Robot Follows The Rules Of The Road

[youtube=http://www.youtube.com/watch?v=Y6R0wO1o01g]

This is a fantastic high school project. [Shmendrik213] built and robot a programmed it to follow common traffic rules. The robot drives itself with a DC motor, using one servo for steering and another to pan a webcam back and forth. The netbook that comes along for the ride is running a VB.NET program that can detect an upcoming intersection, read the street sign, and react based on other cars currently at the intersection.

The hardware is running on an Altera processor using firmware programmed in VHDL. We remember building a tissue box holder for one of our high school projects. Looks like the times have changed since then.

Russian Billboard Includes A “happy Ending”

It seems someone hacked into one of LED billboards and added porn video clips to the rotation of advertisements. We caught a glimpse before YouTube yanked it. We’ve pixelated the shot above which already had some blackbox censorship from the OP but we assure you, it was hardcore porn.

The 9-by-6 meter billboard is in downtown Moscow. The AP is reporting that this caused something of a traffic jam and shocked passersby. We’ve seen porn before, but have to admit that even knowing what to expect in the video it was a bit shocking for us to see cars driving by a giant sex scene. This is certainly much more of a distraction than leaving clever messages on the side of the road.

Does anyone know what technology is used to update these billboards? We’re curious as to whether physical access to the unit is necessary for this kind of attack. Leave your insights in the comments.

[Thanks Sean]

Google Maps Adds Arterial Traffic Monitoring

google_maps

Traffic monitoring has been available on Google Maps for some time, but has been limited to highways and major roads. According to the Google LatLong blog, traffic tracking support is now available for smaller surface roads in select cities. The data is gathered through mobile phones running My Location. Anybody wishing to help out can sign up their phone and opt into My Location to participate in the anonymous data collection. Now you won’t have to gamble on whether or not your back road alternative route is congested when there’s construction on the freeway. Dash tried something similar with their two-way traffic reporting, but we’re guessing that Google’s version will have even better performance thanks to a rapidly increasing install base.

Charter Abandons Packet Monitoring Advertising Plan


Charter Communications has announced that it will no longer be attempting to target advertising based on user actions. The original strategy would have involved inspecting the contents of every packet sent or received by the customer. This usage pattern is associated with a specific IP and relevant ads are displayed on sites using NebuAd when that IP visits. NebuAd doesn’t directly share the IP, but we’ve seen in the past, even with obfuscation, a user’s search patterns alone have been known to give away their identity. The majority of all internet traffic is plaintext, but endusers have an expectation of privacy. User backlash is what eventually caused Charter to back down, but that doesn’t mean companies like NebuAd are going to be any less common.

[via EFF]
[photo: mattdork]