Have You Got What It Takes To Code Android Apps Using Assembly?

Do you have a rooted Android device and a computer running Linux? If so, you’re already on your way to coding for Android in Assembly. Android devices use ARM processors, and [Vikram] makes the argument that ARM provides the least-complicated Assembly platform, making it a great choice for those new to Assembly programming. We think his eight-part tutorial does a great job of introducing the language and explaining how to get the development tools up and running. You’ll need to know some basic programming concepts, but from what we saw you don’t need any prior experience with ARM or Android.

So why learn Assembly at all? We took a stab at Assembly for AVR a few months ago and really learned a lot about the hardware that we just never needed to know writing in C. It’s a great way to optimise functions that waste too much time because of quirks with higher-level language compilers. That means you don’t need to write your entire application in Assembly. You can simply use it to streamline hairy parts of your code, then include those Assembly files at compile time.

Karate Chop Is Simon Without All The Touching

[Alan Parekh] and his daughter [Alexis] just premiered their entry in the Avnet Dog Days of Summer contest. It’s a game called Karate Chop that is basically an electronic Simon Says. The video after the break shows a demonstration of the device. When switched on it’ll play a little tune and start cycling the LEDs on the front of the case. Players interact by breaking the infrared beams in the two cutouts on either side of the case. You need to keep your hand flat to do this, which is where the name comes from. There are four different game modes which are selected at the start of the game. There are two difficulty levels of a Simon Says game which shows the player a pattern in light and sound, then watches for the user to repeat that pattern back. The other mode that [Alexis] demonstrates is a reflex game which requires the player to quickly react to randomly illuminated LEDs.

The circuit is built on a breadboard hiding behind the front bezel and uses a PIC 16F1827 microcontroller to drive the game. The case itself is made from laser cut MDF and plywood. We’re not sure how much time [Alan] spent on the case, but we think it looks wonderful. If you’re planning to participate in the contest you better get rolling, the entry deadline is tomorrow.

Continue reading “Karate Chop Is Simon Without All The Touching”

Adding A Little Polish To Your Cellphone Charging Setup

Cable management can really be an eyesore, but a little creative camouflage and you can have a cellphone charging station that also serves as decoration.

[Kitesurfer] wanted to use one of the cubbyholes in his new Ikea book shelf for charging but wasn’t keen on the rat’s nest of wires that would go along with it. Also not wanting to take on the challenge of wireless charging he hit the As-Is section of the home furnishing giant and grabbed a leftover board that matched the same finish as the cabinetry. It now serves as a false-back for the charging center behind which a power strip and wall-warts hide.

This covers up the problem, but a blank white box filled with the business end of the charging wires isn’t a whole to better. As with a magic show, the trick is in redirection. [Kitesurfer] cut a hole in the false-back and added the guts of a digital picture frame. Right now he’s got it scrolling through different charging icons, but it’s easy enough to change up the slide-show if he gets tired of them. We’d love to see a subsequent hack that lets the picture frame access the photos on your phone via Bluetooth.

Amp Hour Interviews [Joe Grand]

The Amp Hour, a podcast of electronics enthusiasts and professionals alike, just did an epic interview with [Joe Grand]. Along with hosts [Chris Gammell] and [Dave Jones], the discussion runs the gamut of points of interest in the hardware hacking world. The first vignette explores the rise, run, and fall of Prototype This, an engineering-centric TV show that [Joe] did along with a group of various engineers for the Discover Channel. He politely discusses some of the goods and bads of the TV business and how that affected the team’s ability to go into great detail about the projects they were building.

From there the guys discuss the development of Hackerspaces through the years. [Joe] has some concerns about the injection of corporate sponsorships in these DIY spaces and what that may mean in the long run. He then talks about the impending release of his 3-year-long laser range-finder project (we’ve seen a project using a prototype of this sensor). The show is rounded out with discussions about hardware fab houses that [Joe] uses and has used over the years for projects like the Defcon Badges (we loved his Defcon 18 badges).

It’s a great episode so download a copy and set aside about an hour to listen to the whole show.

CheapStat: An Open-source Potentiostat

A commercial potentiostat can cost several thousand dollars, but the CheapStat is an open source project that makes it possible to build your own at a tiny fraction of that cost. It is possible to build one for less than $80, breaking down the cost barrier faced by many labs that would like to have this test hardware.

A potentiostat is used to measure electrochemical properties. To give you a few examples of what it can do, the hardware can measure arsenic levels in water, Vitamin C concentration in orange juice, Acetaminophen concentrations in over-the-counter medications, and a bunch of other less easily explained tests having to do with chemical compounds and DNA.

The device makes use of an Atmel XMEGA microcontroller and connects to a computer via USB. A Java program grabs that data from the hardware displaying test results on your choice of computer platforms. If you’re looking for all the gory details you won’t be disappointed by their journal paper.

Quadcopter Stabilization System Using Wii Motion Plus

If you’re contemplating a quadcopter build here’s a way to add stabilization hardware without breaking the bank. The BaronPilot project uses an Arduino and a Wii Motion Plus module to ensure an even keel for your flying projects. The hardware inside of the Motion Plus includes two gyroscopes, which the BaronPilot monitors for changes in your flying rig’s orientation. The project serves as a co-pilot by differentiating between movements caused by the remote control, and changes due to wind or other outside factors (like hitting the quadcopter with a stick as seen in the video after the break). It should all translate to less chance of crashing due to operator error.

You can pick up a Motion Plus for less than twenty dollars, a deal when compared to the IMU boards that we usually see in quadcopter builds which usually run more than twice that amount. It’s an I2C device which makes it easy to hook up to just about anything. This project has native support for Teensy, Arduino Nano, and Arduino clones using an ATmega328 chip. But the portability of the Arduino platform should make it easy to tweak the code for use with just about any microprocessor.

Continue reading “Quadcopter Stabilization System Using Wii Motion Plus”

ATtiny Hacks: Look Ma, No Batteries!

ATtiny Hacks Theme Banner

[Gadre] built his own ATtiny project without using any batteries. It’s an electronic Dice (or die if you’re being critical) which uses induction to charge a storage capacitor to act as the power source. The voltage generator is made from a tube of Perspex which houses a set of rare-earth magnets. At the enter of the tube [Gadre] machined a channel wich accepts about 1500 windings of 30 AWG magnet wire. When someone shakes the tube back and forth the magnet passes the wire, inducing a current.  The product is stored in a 4700 uF capacitor, which feeds a boost converter to power the rest of the circuit.

The ATtiny13V that controls the circuit is running its internal RC oscillator at 128 kHz, the lowest setting possible in order to minimize power consumption. After a good shake the user can press a button to roll the die, which is then displayed for several seconds on a group of seven LEDs. See for yourself in the video after the break.

Continue reading “ATtiny Hacks: Look Ma, No Batteries!”