Raspberry Pi Foundation Looks At Counterfeit Apple Power Supplies

The Raspberry Pi foundation is in a somewhat unique position. They always test the units that get returned to them in hopes that they can improve the design. They often request that the power supply also be sent back with the RPi unit, as we know the board will not work well if the PSU can’t source enough current. And so they’ve been able to get a look at several counterfeit iPhone chargers. This is not one of the recommended ways to power the RPi, but their ability to collect failed hardware means that they have identified three different fakes on the market.

Seen here is a genuine Apple product on the left. The others are fake, with the easiest way of spotting them being the shiny chrome plug connectors. The genuine part has a matte finish on the connectors. There is also a difference in the chamfering, and even a variation on the orientation of the USB port on some of them. Unfortunately we don’t get a look inside, which is what we really wanted. But you can see in the video after the break that weighing the adapter will also give it away as a fake, showing that the components within probably vary quite a bit. This reminds us of some other fake PSUs that have been exposed.

Continue reading “Raspberry Pi Foundation Looks At Counterfeit Apple Power Supplies”

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.

PIC Programming Adapter For The Raspberry Pi

Here’s another offering when it comes to PIC programming from the Raspberry Pi. The design seeks to adapt the GPIO header so that it may be used for programming PIC microcontrollers, but this does involve a bit more than just physically connecting pins to the target chip. Most of the PIC family require a 12V programming level, and this setup makes that possible.

The sets of NPN transistors shown in the schematic fragment above are arranged in darlington pairs. They’re actually switching voltage from the 6V linear regulator built into the system using the Pi’s 3.3V pins. There’s also a 12V regulator, so you’re going to need a power supply that is capable of sourcing more than that.

We’ve seen a similar concept before but this design carries it a step further. There are several status LEDs built into the programmer, and it includes support for detecting which chip is being programmed. So far this covers just four different chips, but we’re sure that it could be adapted to fit your own needs.

[via Reddit]

Web IDE For The Raspi

For this month’s release of Adafruit’s Raspberry Pi Linux distribution, [Limor], et al. decided to build a web-based IDE for the Raspberry Pi.

The Raspberry Pi WebIDE is a web server that runs on the Raspi. By connecting to your raspi in a web browser, you’re able to create your own Python programs that are able to interact with the GPIO pins. All the code is stored in the cloud with the help of bitbucket.

The WebIDE is in its early Alpha stage right now; there are a few bugs and minor issues, but in the video after the break, [Limor] shows us it’s possible to push code to a Raspi through the Internet and view the result in a web-based serial terminal.

For fear of editorializing, we have to point out that Adafruit’s web IDE – along with other Arduino web IDEs such as Codebender and the Wifino – work on the cloud. If you’re planning a long-term project that relies on a web-based IDE, you might be in for a world of hurt if only because you can’t host a cloud on a personal server. We’d love to see a package that allows us to have the same functionality as bitbucket on a personal server. If you can find a project that does something similar, or have written your own, send it in and we’ll spread the word.

Continue reading “Web IDE For The Raspi”

Malicious Raspberry Pi Power Strip Looks A Bit Scary

What you see here is a Raspberry Pi shoehorned into a power strip. The idea is to leverage the power and low-cost of this board into a stealthy network observation device. It packs a similar punch as the Power Pwn but should cost at least $1100 less!

The fact that when you plug your Ethernet into this ‘surge protector’ it starts sniffing your traffic doesn’t really scare us. It’s the mains wiring that traverses the RPi itself that’s a bit unnerving. Call us overly-protective, but we like to see some shielding between our high-voltage and low-voltage components. But that aside, the rest of the hack is pretty solid. That item wrapped in electrical tape is a power converter for the board itself. It’s not shown here, but the NIC is patched into the surge protector’s RJ-45 connector. The one thing that might be nice to include is a WiFi nub so that you can access the strip wirelessly. This would open the door for other snooping items, like a small microphone.

Wearable Raspberry Pi Turns You Into The Borg

The Hoboken hackerspace, MakerBar, recently hosted a very special guest – [Rob Bishop] from the Raspberry Pi Foundation. Wanting to impress [Rob], [Zach] and a few others from MakerBar put together a wearable computer based on the Raspberry Pi in just a few hours.

Putting a Raspi, small Bluetooth keyboard and mouse combo, and a USB charger equipped with lithium-ion battery wasn’t that hard. The tricky part was finding a wearable display. Luckily, [Zach] had a pair of MyVu Crystal video glasses lying around and after a tricky bit of dissassembly, the folks at MakerBar had a completely wearable computer.

Apart from the RCA cable connecting the Raspi to the glasses, the project is completely wireless; with a small webcam also mounted to the display, the Pi in the Face could easily be a platform for figuring out what to do with Google Glass.

[Zach] said the entire setup could be reconstructed for about $100, a fair price for being turned in to [Locutus] of Borg

advice

Machine Offers Cheap Advice – Charges More For Something Profound

[Nick Johnson] recently wrote in, sharing a neat project he put together in his spare time.

Our readers are most likely familiar with the ubiquitous “fortune” program that ships with many *nix distros, offering cheeky comments and quotes with the press of a button. [Nick] thought it would be cool to build a fortune telling machine using the app, resulting in the handsome device you see above.

The laser-cut wooden case is home to a Raspberry Pi which does the heavy lifting, a coin acceptor, an LCD screen for displaying the device’s status, along with a SparkFun thermal printer. Upon feeding the machine some money, the user can press the “Advise Me” button, prompting the RaspPi to present a printed fortune from its vast database of sayings. [Nick] took some time to do some rough categorization of the fortune databases, enabling the machine to offer more substantial content as the user inputs more coins.

Check out the video below to see [Nick’s] fortune telling machine in action.

Continue reading “Machine Offers Cheap Advice – Charges More For Something Profound”