A SOPA we still can’t get behind

posted Jan 30th 2012 3:01pm by
filed under: arduino hacks, tool hacks

[Brad] had an extremely productive January 18th. Considering how many websites went dark to protest SOPA, we can’t blame him. While considering what he could get done if popular Internet time sinks went dark on command, [Brad] thought of the Stop Online Productivity Avoidance box. This build will redirect all traffic to sites like reddit, hacker news, and (gasp!) hack a day to a simple web page that asks the eternal question, “shouldn’t you be working right now?”

The box has two modes: in SOPA mode, the whole Internet is at [Brad]‘s fingertips. In NOPA mode, an Arduino communicates with a Python script running on the router to pull up an Internet blacklist. A simple button would be too easy to override, so there’s a ‘nuclear mode’ that shuts off these time sinks for one hour. The only way around the blacklist is to restart the router, a process that takes 15 minutes and will kill the entire Internet for the duration. Not something you’d like to do if you’re slightly bored.

All the code for the SOPA box is up on github and you can check out [Brad]‘s demo of the SOPA box after the break.

Read the rest of this entry »

Simulated dashboard for a simulated race

posted Jan 29th 2012 2:36pm by
filed under: arduino hacks, misc hacks

Simulators might have lost their cool for a lot of gamers, but [Fergo] is trying for a comeback. He built an electronic dashboard for a car racing simulator.

[Fergo] spends most of his track time on iRacing, an MMO racing simulator. Possibly due to a little bit of influence from Formula 1 steering wheels, he wanted to add to his dashboard that included Microsoft racing wheel. The dashboard includes RPM lights, a gear indicator, five general buttons, a rotary encoder, and a pit limiter, rev limiter and low fuel indicators.

The build is powered a VB.NET app that connects the iRacing API to an Arduino. To get all those buttons and LEDs talking to the Arduino, [Fergo] used an IO expander that communicates over an I2C bus. It’s a surprisingly simple design that should scale well if [Fergo] ever decides to expand his cockpit. We’re not sure if it could handle controlling a 737, but it would be more than sufficient for a Cessna 172 or Mercury capsule.

Check out [Fergo] tearing around the track with his buttonbox dashboard after the break.

Read the rest of this entry »




Sixty4Racer an 8×8 Game

posted Jan 27th 2012 6:01am by
filed under: arduino hacks, led hacks

[Pete] has a cool new tutorial creating a re-imagining of the Atari classic “River Raid” for the PIX-6T4 micro controller based game system. The PIX is a netduino on a larger board featuring 2 analog controllers, a speaker, an sd card and an 8×8 monochrome LED display. With a resolution that low, it may make the good ole VCS look like a 360, but there is still a lot to learn about making a game at this low of a level.

The tutorial [Pete] has put together covers concept, gameplay, progression goals, screen handling and a boat load of code to show how it all goes together. Though this is for a C# based system many of the basics apply to just about any system you can imagine. So if you’re looking to learn how to handle graphics in C, sprite animation, collision, or randomly putting levels together out of tile blocks then you should take a look.

Join us after the break for a quick video.

Read the rest of this entry »

Stop light converted to control office foot traffic

posted Jan 25th 2012 6:01am by
filed under: arduino hacks, misc hacks

traffic-light

When [Paul Rea] started work with his current employer, he was intrigued by a traffic light that sat unused near the entrance of the “Engineering Loft” where he was stationed. He promised himself that he would get it working one day, but several years passed before he had the chance to take a closer look at it.

He took the light home with him over Thanksgiving weekend last year, and started to dig around inside to see how things were wired up. It turns out the light was a pretty simple contraption, though he discovered it ran on mains voltage, something [Paul] didn’t really want to fiddle with. He swapped out the traffic light’s bulbs for some low-voltage models, which he could easily power with a 12v wall wart.

[Paul] then added an Arduino and PIR sensor to the light fixture in order to detect when someone was leaving the Engineering Loft, warning those who are on their way in. He says that people don’t really pay attention to the light very much, though he is pretty happy with the results.

Continue reading to see a short video of the traffic light in action.

Read the rest of this entry »

A simple, self-contained 7-segment display

posted Jan 24th 2012 6:01am by
filed under: arduino hacks, ATtiny hacks

self-contained-7-seg

It’s no secret that seven-segment displays are an easy and useful way to relay data, so [Kelvyn Panici] decided to put together a minimalst, self-contained display for use around the house.

The display itself is a 16-digit model he picked up from DealExtreme for under $10. He wanted to find a microcontroller small enough to fit behind the display’s footprint, so he chose an ATtiny85 to control it. After mounting the mcu on a small piece of perfboard, he burned the Arduino bootloader and uploaded a small sketch to drive the display.

Things worked out quite well as you can see by the video below where he shows off a pre-perfboard prototype. [Kelvyn] currently does not have any immediate projects in the works that will utilize the display, though there are a plethora of possibilities. We think it would work great anywhere if it were fitted with a battery and some sort of wireless radio in order to make it completely self-contained.

Read the rest of this entry »




FLORA: a better Arduino LilyPad

posted Jan 21st 2012 7:52am by
filed under: arduino hacks, news

[Ladyada] has been working on FLORA, her wearable electronics platform, for a few months now. Even though it has just been announced the specs look much better than the previous queen of the hill, the Arduino LilyPad.

Going down the spec sheet for both the FLORA and the LilyPad, we see that FLORA has twice as much flash and SRAM as the LilyPad. The LilyPad has more options for I/O, but [Ladyada]‘s FLORA has the benefit of not using an ISP header for programming; FLORA is completely USB-compatable. FLORA is also about a quarter-inch in diameter smaller than the LilyPad, something to take into account when you’re going for a wearable project.

On top of Bluetooth, GPS, accelerometer, compass and other modules planned for FLORA ( it doesn’t look like they’re available yet, though), FLORA has USB HID support so it can operate as a USB keyboard, mouse, MIDI device, or connect to a cell phone. If you’ve ever wanted a keytar cardigan, this is the board for you.

Check out [Ladyada]‘s video demo of a LED-equipped fabric after the break.

Read the rest of this entry »

Sensor array tries to outdo the other guys

posted Jan 17th 2012 1:41pm by
filed under: arduino hacks

The team over at the Louisville Hackerspace LVL1 is not going to be outdone when it comes to collecting environmental data. They put together this Frankenstein of sensor boards that lets you collect a heap of data showing what is going on around it.

At the center-left a small Arduino clone is responsible for collecting the data. Data storage is not talked about on their write-up, but if that’s an ATmega328 chip you should be able to work out an easy way to store data on the 1k of internal EEPROM. If that’s not enough, there is an I2C bus included on the board making it easy to add a compatible EEPROM.

The sensor on the bottom left should look familiar. It’s a DHT11 temperature and humidity sensor we’ve seen popping up in projects lately. But wait, there’s also a TMP102 temperature sensor; but that’s not the end of it. A BMP085 pressure sensor also includes a third temperature sensing option. Want to see when the lights go on in the room? There’s a CdS sensor and a TSL230R Lux sensor for that. An op-amp circuit can measure the sound level in the room via one of the Arduino’s ADC pins. And finally, an RTC board is used for time stamping the data.

Obviously this is overkill, and we’re sure it’s meant as a test platform for various sensors. All of them have been mounted on the protoboard and wired up using the point-to-point soldering method.

[Jamie Zawinski] controls his drapes from the command line

posted Jan 14th 2012 9:01am by
filed under: arduino hacks

As one of the founders of Netscape and the Mozilla Project, [Jamie Zawinski] is no stranger to frustration elicited from syntax errors, terrible implementations, and things that don’t work even though they should. This familiarity of frustration is what makes [jwz]‘s command line controlled curtains so great; it’s rare to see someone so technically proficient freaking out over the lack of DHCP on an Arduino Ethernet.

[Jamie]‘s project begins as so many do – modifying an existing piece of hardware to connect to the Internet. This is easier said than done, as [Jamie] fried a USB hub, FTDI cable and an Arduino Ethernet all at the same time. Finally turned onto the seeed relay shield, [jwz] got busy writing scripts to power his curtain.

Of course, this level of automation is nothing without a good bit of integration. After [Jamie] realized his projector (a Panasonic PT-D5500U) and receiver (Denon AVR-2805) could talk to his computer, he got busy mashing them together with a Griffin PowerMate. Mashing the button on the PowerMate turns on the projector and closes the drapes. There’s also a cron job running so that [Jamie] is reminded of the glowing orange ball in the sky.




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