Using Arduino Shields With The Raspi

With hundreds of Arduino shields available for any imaginable application, it’s a shame they can’t be used with the Raspberry Pi. Breaking out the Raspi GPIO pins to Arduino-compatible headers would allow makers and tinkerers to reuse their shields with a far more capable computing platform.

The folks over at Cooking Hacks realized a Raspi to Arduino shield bridge would be an awesome device, so they made their own, complete with a software library that allows you to port your Arduino code directly to the Raspberry Pi.

There are a few limitations with the Raspberry Pi’s GPIO headers; the Raspi doesn’t have analog inputs, so the Cooking Hacks team added an 8-channel ADC. Along with analog inputs and the headers required to pop a shield on the board, there’s also a socket for an XBee module.

The software library contains most of the general Arduino functions such as digitalWrite() and digitalRead(). There Serial, Wire, and SPI libraries are also implemented, allowing any device that communicates through UART, I2C, or SPI to talk directly to the Raspberry Pi.

While the Raspi Arduino bridge doesn’t allow for PWM in the same capacity as an Arduino, you’re always welcome to whip up a servo or LED shield for this neat little adapter.

Single Sided Arduino Is A Great Introduction To PCB Etching

After you’ve taken the plunge and decided to learn how to etch your own circuit boards, you’ll quickly find even the simplest boards are still out of your grasp. This is due mostly to the two-layer nature of most PCBs, and turn making a homemade Arduino board an exercise in frustration and improving your vocabulary of four-letter words.

After looking around for an easy-to-manufacture single-sided Arduino board, [Johan] realized there weren’t many options for someone new to board etching. He created the Nanino, quite possibly the simplist Arduino compatible board that can be made in a kitchen sink.

Billing it as something between the Veroduino and the Diavolino, [Johan]’s board does away with all the complexities of true Arduinos by throwing out the USB interface and FTDI chip. A very small parts count makes the Nanino much less expensive to produce in quantity than even the official Arduino single sided board.

For an introduction to etching your own PCBs at home, we couldn’t think of a better first board. As an Arduino, you’re guaranteed to find some use for it and the ease of manufacture and low parts count makes it the perfect subject for your hackerspace’s next tutorial series.

Wrapping Up Maker Faire With [Ben Heck], Giant Arduinos, And An Apple Lisa

All good things, and apparently our coverage of Maker Faire, must come to an end. Here’s a few more things we saw in New York this last weekend that piqued our interest:

A 10x scale Arduino

[Robert Fitzsimons] of Part Fusion Electronics made a gigantic Arduino. It wasn’t quite functional, but [Robert] did manage to make a few 10:1 scale LEDs (with built-in circuit protection), 1 inch pitch headers, and a few other miscellaneous components out of foam and paint.

Since he’s from Dublin, Ireland, [Robert] didn’t want to take this giant board home with him. He graciously gave it to me in the hopes of turning it in to a proper working Arduino. I’ll do my best, [Robert].

There are hundreds of Lisas buried in a landfill in Utah.

Tekserve, an indie Apple store located in the heart of Manhattan, really knows how to put on a good show. For the entirety of their stay at Maker Faire, they had people showing off one of the first digital cameras, Apple Newtons, and an awesome collection of vintage Macs. No, your eyes do not deceive you; that’s a real Lisa there in the bunch.

Sadly, they didn’t have the boot disk to turn any of these on. Pity.

Yes, there were celebrities at Maker Faire

Well, celebrities to the Hackaday crowd, at least. [Ben Heck] showed off the electronic automatic sunglasses he built. It’s a pair of lensless glasses, a servo, light detector, and a pair of clip-on sunglasses. When [Ben] is out in daylight, the sunglasses swivel down. Inside, the amount of light received by the detector decreases and the shades rotate up.

Continue reading “Wrapping Up Maker Faire With [Ben Heck], Giant Arduinos, And An Apple Lisa”

Finally, An ARM-powered Arduino

Far removed from the legions of 3D printers featured at this year’s Maker Faire in New York was a much smaller, but far more impressive announcement: The ARM-powered Arduino DUE is going to be released later this month.

Instead of the 8-bit AVR microcontrollers usually found in Arduinos, the DUE is powered by an ATSAM3X8E microcontroller, itself based on the ARM Cortex-M3 platform. There are a few very neat features in the DUE, namely a USB On The Go port to allow makers and tinkerers to connect keyboards, mice, smartphones (hey, someone should port IOIO firmware to this thing), and maybe even standard desktop inkjet or laser printers.

The board looks strikingly similar to the already common Arduino Mega. That’s no mistake; the DUE is compatible with existing shields, so connecting a RAMPS board for your 3D printer should be a snap.

Here’s a PDF the Arduino and Atmel guys were handing out at their booth. A few DUE boards have already made it into the hands of important people in the Arduino community, including 3D printer guru [Josef Prusa]. Sadly, the folks at Arduino didn’t think media personalities needed a DUE before its release, so you’ll have to wait until we get our hands on one later this month for a review.

Controlling Your Webcam With An Old Guitar Hero Pedal

Hackaday reader [Tom Price] often uses Skype to communicate with family near and far, but he was getting tired of adjusting his webcam each time his kids moved out of frame. While the solution he came up with isn’t fully automated, it is hands-free, which is good enough for his purposes.

[Tom] was looking around for an electronic foot pedal of some sort when he came across a wireless 3rd party Guitar Hero peripheral that happened to fit the bill. Using an Arduino library created by [Bill Porter], he was quickly able to get the toy to communicate with an Arduino-flashed Atmega8, but things kind of fell flat when it came time to relay signals back to his computer. Using another Atmega8 along with the PS2X library, he was able to emulate the Guitar Hero controller that his foot pedal was looking for.

With the pedal portion of his project wrapped up, he focused on his webcam. [Tom] mounted the camera on a small servo, which he then wired up to the receiving end of his foot pedal rig. As you can see in the video below, he can now pan his camera across the room with a tap of his foot, rather than leaning in and manually adjusting it.

Continue reading “Controlling Your Webcam With An Old Guitar Hero Pedal”

Dry Erase Marker Opens All Hotel Room Doors

If you’re carrying around an exposed circuit board and a bunch of wires people are going to notice you. But a dry erase marker won’t turn any heads. And this one holds its own little secret. It acts as a master key for hotel room door locks.

This is really more of a repackaging hack. The exploit is already quite well-known. The Onity brand of key card locks most commonly used in hotels have a power jack on the bottom that doubles as a 1-wire communications port. The first published proof of concept used an Arduino board and a simple adapter to unlock any door in under one second. Now that hardware has been reduced in size so that it fits in the hollow shell of a dry erase marker. Even better, the felt tip has been replaced with the appropriately sized barrel jack. Check out the ultra-fast and inconspicuous use of it after the break. We think using this is no more obvious than actually having the key card.

Continue reading “Dry Erase Marker Opens All Hotel Room Doors”

Fantastic Programming Makes This Arduino Gaming Device Something Special

The hardware that went into this Arduino gaming console is just fine. But the coding that produced this game called Twisted SNAKE is beyond compare. [Rodot] has programmed several games for the hardware, which uses an Arduino, 160×168 TFT screen, a 3 axis accelerometer, and two input buttons. If you’re interested, there is a forum thread in which he talks a bit more about the hardware design. But you’re not going to want to pass up either of the two videos embedded after the break.

The first clip shows off a bouncing-ball platforming game. The accelerometer moves the ball back and forth, and the top scrolling level brings more ledges into play. This in itself is a great game. But the Twisted SNAKE game shown off in the second video makes our own ARM-based Snake game look like a 3-year-old programmed it. [Rodot] filled up all of the program memory of the ATmega328 chip to  make this happen. There’s a menu system which allows for color themes and difficulty selection. The game play itself lets the snake travel anywhere it wishes with the tail following behind in graceful curves. Wow!

Continue reading “Fantastic Programming Makes This Arduino Gaming Device Something Special”