Data Scraping And Visualization With Python

arduino_dial

[Greg] built himself a small indicator dial with his laser cutter, and wanted to use it for visualizing server performance and load information. Before he started using it for server monitoring however, he thought he should test out his data parsing skills on a simpler data set.

Pachube has a wealth of information that can be freely used for whatever project you might have in mind, so [Greg] started looking around for something interesting to track. Eventually he located the data feed for a tanker ship and wired his dial to display the ship’s speed. He uses a Python script to interface with the Pachube API, which is fed to his Netduino board. A servo motor then changes the position of the dial based on the feed’s data. Since large tankers don’t change speed often, the experiment was a bit of a letdown. He searched for a bit and tuned into another feed that tracked wind speed in New Zealand, getting much better results.

His future plans include hooking it directly to his network and eventually using it to monitor his servers…at least once the novelty of tracking random data feeds wears off.

All of his code is available on GitHub, and he is happy to make a gauge for anyone who is interested, though he doesn’t currently list a price.

Motion Controlled Reddit Vote Sign.


A little while back I attended the largest east coast gathering of folks from the ever popular social news site, Reddit.com. Those of you familiar with Reddit already know that it is all about link aggregation. Users post links to interesting websites and material, and can then vote up or vote down content based on interest or relevance. Through the magical site algorithms original and interesting content is, as implied, aggregated up to the front page.  The whimsical nature of this big DC event lead many people to furnish signs of all types based on the culture of the site, internet memes, etc… The signs that really caught my attention were based primarily on the stylistic site layout, blowing up mail icons and other Reddit specific graphics.

The concept of using site graphics gave me the idea of being able to personally vote up or down other peoples’ signs. It was far too easy to just make a cardboard arrow, and I don’t have a color printer. I happened to have a shelved coffee table project involving orange and blue LEDs. Same colors as the arrows! Sweet. To make this project work I would have to work entirely from my project pile, there simply was no time to order anything from the internet. I managed to crank out a functional up/down voting sign in 3 days leading up to the gathering (and the morning of), here is what I did:

Continue reading “Motion Controlled Reddit Vote Sign.”

can_bus_hacking

Enhance Your Key Fob Via CAN Bus Hacking

[Igor] drives a 4th generation Volkswagen Golf, and decided he wanted to play around with the CAN bus for a bit. Knowing that the comfort bus is the most accessible and the safest to toy with, he started poking around to see what he could see (Google translation).

He pulled the trim off one of the rear doors and hooked into the comfort bus with an Arudino and a CAN interface module. He sniffed the bus’ traffic for a bit, then decided he would add some functionality to the car that it was sorely lacking. The car’s windows can all be rolled down by turning the key in any lock for more than a few seconds, however this cannot be done remotely. The functionality can be added via 3rd party modules or through manipulating the car’s programming with some prepackaged software, but [Igor] wanted to give it a go himself.

He programmed the Arduino to listen for longer than normal button presses coming from the remote. Once it detects that he is trying to roll the windows up or down, the Arduino issues the proper window control commands to the bus, and his wish is the car’s command.

It’s a pretty simple process, but then again he has just gotten started. We look forward to seeing what else [Igor] is able to pull off in the future.  In the meantime, continue reading to see a quick video of his handiwork.

If you are interested in seeing what you might be able to do with your own car, check out this CAN  bus sniffer we featured a while back.

Continue reading “Enhance Your Key Fob Via CAN Bus Hacking”

Can Crusher Keeps Track Of Your Recycling Efforts

arduino_can_crusher

Instructables user [MRHint] was inspired by his friends’ recycling efforts, and decided to start recycling as well. The one thing he noticed was that they typically had no idea how many cans they had stored up, nor how much their bags of cans weigh. He figured that he could somewhat automate the crushing process while keeping an accurate can count using a handful of electronics and some elbow grease.

He started by designing a can crushing rig that would use an old windshield wiper motor he had sitting around the house. The motor is connected to a pulley, which drives a set of threaded rods connected to his movable crushing panel. When the motor is started, the panel is drawn against a stationary board, crushing the can.[MRHint] also had an unused Arduino hanging around, so he used it to control the crusher as well as keep track of how many times the crusher had been run.

From what we hear the whole setup works pretty well, but as with any project he sees plenty of room for improvement. Future changes may include a more powerful motor and a chain/sprocket setup in place of the belt and pulley he currently uses. Do you have any other suggestions for [MRHint]? Let us know in the comments.

Portal Turret Plushie Is Cute And Harmless

turret_plushie

As many of you are probably aware, Portal 2 was released last week, and gamers have been going crazy over it. Over the years, people have constructed replicas of their favorite in-game items and “characters”, including portal guns, companion cubes, and turrets.

After playing Portal 2 for a bit, [Jonathan] wanted a turret of his own quite badly. Rather than construct it from hard plastics and resins however, he decided he wanted to construct a cuddly turret that talked.

With the assistance of his friend [Leigh Nunan], he is now the proud owner of a plushie turret. It’s a bit smaller than you might expect, but it is packed full of turret personality. The plushie plays audio from the game, can sense motion near its face, detect if it has been tipped over, and also knows when it has been picked up. [Jonathan] added all of these features by stuffing an Arduino inside the turret, along with a wave shield for playing sounds. Proximity and motion sensing are provided via a trio of different sensors, enabling the turret to behave in the same way its in-game brethren do (minus the machine guns).

It really is a neat little toy, one we would no doubt be glad to have around. Keep reading to see a short video of his plushie turret in action.

Continue reading “Portal Turret Plushie Is Cute And Harmless”

Mini LED Message Board Built From Retro Displays

personal_electronic_retro_telegram

[Iain] is getting to the point in his life where he finds himself waxing nostalgic about various different technologies from his youth. One item he has always been fond of is first generation 7 segment consumer LED displays, like those found in old calculators.

He was excited to find one of these displays at the bottom of a box full of electronics odds and ends he received from a friend. After identifying the display and tracking down a data sheet online, he decided that he wanted to build some sort of little gadget out of it.

His first inclination was to build a tiny text scrolling gadget from the display, and thus his “Personal Electronic Retro Telegram” (P.E.R.T) was born. With Arduino in hand, he prototyped the circuit on a breadboard, then sent away to have some PCBs built. Once he received the boards, alll of his prototyping components were swapped out with SMD versions, including a TQFP ATMega168 chip in place of the full-sized Arduino board.

The final result is a nice melding old and new technology which he decided to give to his girlfriend as a gift. Continue reading to see a quick video of the P.E.R.T in action.

Continue reading “Mini LED Message Board Built From Retro Displays”

Nerf Mind Bullets

[Chris] thinks that using your brain to control your trigger finger is a passé way of operating a toy firearm. Instead, he’s using his mind to fire foam bullets at whatever he thinks needs to pretend-die. To read his will, he’s chosen the Neurosky MindWave, a device that we just looked at for servo control. That hack shows how to patch into the USB dongle that comes with the device, but [Chris] opted to use a BlueSMiRF module from Sparkfun to connect the headset to an Arduino via Bluetooth.

The rest of the hack involves modifying the gun for automatic firing. It’s a Nerf Stampede, which takes six D-cells to power the electrical firing system. [Chris] didn’t want to carry that weight around in the body of the weapon itself so he installed a port for external power and added a firing mechanism at the same time. It uses relays to complete the circuit normally operated by the trigger. Now logic-level signals have no problem dispensing justice from the brightly-colored device.

[via Make]