Arduino Zero Hardware is Not Just for Beginners

 

We stopped by the Atmel booth at Maker Faire to gawk at the pre-production Arduino Zero boards they were showing off. [Bob] gave us a rundown of everything the new board offers, and it’s better than we imagined when we heard about it last week.

I may be an odd egg in that I don’t like to use an IDE when developing uC firmware. Generally I rock the text editor and a makefile for 8-bit, adding OpenOCD and GDB when working with ARM. I probably shouldn’t be surprised that there is already OpenOCD support (and by extension GDB support) for the Arduino Zero. In fact, that’s how the Arduino IDE flashes the board. This should have been obvious since the board is really just a breakout for the SAM D21 chip which is already supported.

Riffing on the thought of this being a breakout board, we think they did a pretty good job. There are two USB connectors; one let you access the board as a device or a host while the other connects the debugging hardware. If you’ve never used an On Chip Debugger before it’ll change your life so do give it a try. When you do move past the initial prototyping phase of your project you can still use the Zero as a debugging tool. There’s an unpopulated 10-pin header (not sure if the small pitch header comes with it or not) which can be used to interface with a target board. [Bob] also spent some time talking about the configurable 6-pin header which allows you to choose from a range of hardware protocols (SPI, TWI, etc.).

Unfortunately we still don’t have info on the availability timeframe or pricing information. There was one hiccup with this pre-production run (two signals were swapped on the PCB) and they need to spin another board, populate, and QA before they can green-light the final product.

Editorial Note: Atmel advertises on Hackaday but this video and post are not a product of that relationship. Hackaday doesn’t post paid content.

The Mobile Phone PixelSWaLL

mobile pixel wall

As much as we hate to admit it, smart phones have become somewhat of a disposable item in today’s society. People upgrade their phones constantly and simply chuck their old ones. Of course, there’s plenty of things you can do with slightly out of date phones… Here’s one we haven’t seen before — a wireless multi-phone display!

It’s called the PixelSWaLL, and according to the author,  his software can control up to 240 Android devices! To run this demo with just 9 phones, he’s using an old Apple Macbook running Windows 7 bootcamp, which sends the display info using an old Telmex router. Each phone or tablet runs the Android terminal application  using Eclipse ADT which renders OpenGL in real-time. The server application was made with Delphi 7 and uses the DSPack library to read video files in order to send them over UDP via Indy 10. It’s a bit of a mouthful to explain, but the resulting display array is pretty cool!

Time to start collecting phones…

[Read more...]

Don’t Just Go Sticking That Anywhere: Protect the Precious With a USB Wrapper

Oooh, look, a public charging station. Should you trust it? You might get juice jacked. Oh wait, you’ve got a USB Wrapper designed by [Scasagrande] to deny access to your datas.

This project was inspired by the USB Condom, but the problem with those is that they completely cut out the data lines and limit the charge rate to USB 2.0 (500mA). The data lines are used to communicate information about the charger’s power sourcing capabilities to the device. Many manufacturers short D+ and D- together, but Apple applies specific voltages to those lines.

[Scasagrande]‘s USB Wrapper gives you options. You can set it to Dedicated Charging Port, Sony, Open Circuit, or Apple. The super-cool part of this hack is for you Apple fanboys. The bottom slider lets you emulate any Apple charger and use any USB cube (including one you may have made) as long as you have that funny cable in your messenger bag.  The hardware is open source and available at [Scasagrande]‘s repo.

Make the jump to see [Scasagrande]‘s nicely detailed video about the project.

[Read more...]

NFC Ring Unlocks Your Phone

NFC Ring

This little ring packs the guts of an NFC keyfob, allowing [Joe] to unlock his phone with a touch of his finger.

The NFC Ring was inspired by a Kickstarter project for a similar device. [Joe] backed that project, but then decided to build his own version. He took apart an NFC keyfob and desoldered the coil used for communication and power. Next, he wrapped a new coil around a tube that was matched to his ring size. With this assembly completed, epoxy was used to cast the ring shape.

After cutting the ring to size, and quite a bit of polishing, [Joe] ended up with a geeky piece of jewelry that’s actually functional. To take care of NFC unlocking, he installed NFC LockScreenOff. It uses Xposed, so a rooted Android device is required.

We’ll have to wait to see how [Joe]‘s homemade solution compares to his Kickstarter ring. Until then, you can watch a quick video of unlocking a phone with the ring after the break.

[Read more...]

A Cocktail Shaker With Android And Arduino

drinks

The most rewarding part of any project must be sitting down to see the fruits of your labors set in action for the first time and relaxing with a nice drink. [Tony DiCola] is really showing off his ability to think ahead, because his smart cocktail shaker takes care of the post-build celebration, measuring out drinks with exacting precision.

The build measures out precise amounts of any liquid with the help of a small electronic scale [Tony] picked up from Harbor Freight. Instead of trying to interface with the electronics in the scale, he instead connected a INA125 instrument amplifier to the load cell. An Arduino micro measures the weight on the load cell, and with the known densities of gin, vermouth, and Kahlua, [Tony] can get a very good idea of how much liquid is in the cocktail shaker.

The really neat part of this build is the interface: [Tony] wrote an Android app for his tablet that talks to the Arduino with an Adafruit Bluefruit Bluetooth adapter. The app receives the current weight on the load cell, displays the current amount of liquor in the cocktail shaker, and provides step-by-step instructions for making any cocktail.

It’s a handy little device to keep around the liquor cabinet, and with an absurd amount of pumps and valves could easily become the basis for a very cool cocktail bot.

[Read more...]

EmuDroid 4: Completed!

DSCN4668

[Tony Huang] is checking in with his EmuDroid 4 gaming controller. After tons of redesigns — it is now finished!

We first started following this project back in November, when it was in an early prototype stage. What he has done is crammed a 4″ Android tablet, the guts of a USB SNES controller, a USB OTG adapter and inductive charging unit into a custom designed 3D printed housing.

What we really like about this project is the level of documentation [Tony] has gone into during his many… many… many iterations of the 3D printed housing. For those of you who aren’t engineers or designers, it’s a great insight into what goes into prototyping a product before release. Now just imagine what it was like when we didn’t have 3D printers! [Read more...]

The Flaming Yinlips

furan-yinlips

No, that’s not a Playstation Vita up there, it’s a “Yinlips YDPG18A” portable game system. [Ian] found that his Yinlips was lacking in the flash memory department, so he fired up his soldering iron. The Yinlips is based on an Allwinner Sunxi series processor, and uses a standard TSOP48 footprint flash. There is some standardization in flash pin out and packages, so [Ian] picked up the largest pin compatible chips he could find – a pair of 256 gigabit (32 gigabyte) chips from Micron. Desoldering the existing flash proved to be a bit of an adventure as the flash was glued down. [Ian] also didn’t have his hot air gun handy, making things even more interesting. Careful work with a razor blade broke the glue bond.

It turns out that the soldering was the easy part. All flash chips have geometry, die count, page size, block count, sector size, etc. The geometry is similar to the geometry in a hard drive. In fact, just like in modern hard drives, a system will read some basic information before accessing the full storage array. In the case of NAND flash, the processor can access the first page of memory, and query the flash for its part number. Once the part number is known, the geometry can be determined via a lookup table. [Ian] checked the NAND table on github, so he knew going in that his flash chips were not supported. Due to the complexities of booting Allwinner processors into Linux or Android, the table and the NAND driver that uses it exist in several places. The bootloader’s axf file, U-Boot, and several flash application binaries sent from the PC based LiveSuit flash app all required modification. Most of these files were packed into a single flash image. [Ian] used imgrepacker to unpack the image, then opened the hex files. The fact that he knew what the original flash parameter tables looked like was key. He searched for an existing Micron flash table entry, and replaced the parameters with those of his new chips.

With all the files modified, [Ian] re-packed his flash image and sent it over. The Yinlips rewarded his hard work by continually resetting in a bootloop. [Ian] wasn’t going to give up though. He wired into the boot console, and discovered that a CRC check failure on one of his modified files was causing the reset. He then disassembled binary issuing the reset. Changing the return value of the CRC to always pass fixed the issue. [Ian's] now has a collagen infused Yinlips with 58GB of internal storage. Pretty good for a device that only started with 2GB.

Follow

Get every new post delivered to your Inbox.

Join 94,048 other followers