Android Apps Using Processing

Processsing has come to Android. [Jer] posted a guide to setting up the software and coding your first Processing app for Android. The module which supports Google’s mobile operating system is not yet part of the stable Processing release but it works and is available to download and use. It provides support for Android version 2.1 and newer, playing nicely with the SDK to emulate your sketches during development. The Hello World app seen above uses just a few lines of code to draw a white box on an orange background. After you’ve installed and tested the tools you’ll be developing in no time.

This makes a great addition to your Android development tool bag.

[Thanks Tech B]

Hexapod Controlled By Android And IPhone

[youtube=http://www.youtube.com/watch?v=NvEBUd_EqbQ]

This video is a blatant example of having too many high-end toys but we love it anyway. [Robert Stephenson] is controlling a rather awesome-looking hexapod via a Bluetooth connection to his HTC Hero. The app allows on-screen selections to decide which portion of the robot will move as a result of accelerometer data from the handheld. The only thing we saw that was missing is a camera feed to the phone.

But this hack doesn’t stop there. The Hero can be used to host a WiFi network while still connected to the hexapod. The second half of the video shows an iPod Touch connecting via WiFi and controlling the bot. Now head on over to the laser cutter to start that hexapod build, and finish up by getting elbow-deep into some Android development.

Androidome: Monome For Android

[Ewan Hemingway] tipped us off about his new Android app, Androidome. This is the first one he’s turned out after going through our Android development tutorials. It combines an app running on his Android 2.1 device with a computer running Max/MSP 5. The two don’t needed to be tethered, they just need to be on the same wireless network. This won’t be the best solution if you’re doing live performances, as the buttons on the screen end up being quite small. But as you can see after the break, it’s a great way to get into working with the Monome interface and decide if you want to build a dedicated physical version of the tool.

Continue reading “Androidome: Monome For Android”

Driving With Android

[youtube=http://www.youtube.com/watch?v=tIx2ihZ7728]

[Elrik] converted an RC car so that it can be controlled with an Android phone. He wisely uses the accelerometer for steering with a button for forward and another for reverse. There’s even control for the headlights. The car itself has had a servo retrofit for steering but it’s the Bluetooth module that catches our eye. It’s a GP-GC021 which you can get your hands on for under $20. It has a serial UART for easy interface with a microcontroller at up to 9600 baud.

Now you can convert over that larger vehicle to use Bluetooth instead of WiFi, just don’t hurt yourself. And if you’re just starting out with writing Android apps, don’t miss our series: Android Development 101.

ZSWatch: This OSHW Smart Watch Is As DIY As It Gets

We say it often, but it’s worth repeating: this is the Golden Age of making and hacking. Between powerful free and open source software, low-cost PCB production, and high resolution 3D printers that can fit on your desk, a dedicated individual has everything they need to make their dream gadget a reality. If you ever needed a reminder of this fact, just take a look at the ZSWatch.

When creator [Jakob Krantz] says he built this MIT-licensed smart watch from scratch, he means it. He designed the 4-layer main board, measuring just 36 mm across, entirely in KiCad. He wrote every line of the firmware, and even designed the 3D printable case himself. This isn’t some wearable development kit he got off of AliExpress and modified — it’s all built from the ground up, and all made available to anyone who might want to spin up their own version.

The star of the show is the nRF52833 SoC, which is paired with a circular 1.28″ 240×240 IPS TFT display. The screen doesn’t support touch, so there’s three physical buttons on the watch for navigation. Onboard sensors include a LIS2DS12 MEMS accelerometer and a MAX30101EFD capable of measuring heartrate and blood oxygen levels, and there’s even a tiny vibration motor for haptic feedback. Everything’s powered by a 220 mAh Li-Po battery that [Jakob] says is good for about two days — afterwards you can drop the watch into its matching docking station to get charged back up.

As for the software side of things, the watch tethers to a Android application over Bluetooth for Internet access and provides the expected functions such as displaying the weather, showing notifications, and controlling music playback. Oh, and it can tell the time as well. The firmware was made with extensibility in mind, and [Jakob] has provided both a sample application and some basic documentation for would-be ZSWatch developers.

While an unquestionably impressive accomplishment in its current form, [Jakob] says he’s already started work on a second version of the watch. The new V2 hardware will implement an updated SoC, touch screen, and an improved charging/programming connector. He’s also looking to replace the 3D printed case for something CNC milled for a more professional look.

The ZSWatch actually reminds us quite a bit of the Open-SmartWatch project we covered back in 2021, in that the final result looks so polished that the average person would never even take it for being DIY. We can’t say that about all the smartwatches we’ve seen over the years, but there’s no question that the state-of-the-art is moving forward for this kind of thing in the hobbyist space.

The Amazon Dash Button: A Retrospective

The Internet of Things will revolutionize everything! Manufacturing? Dog walking? Coffee bean refilling? Car driving? Food eating? Put a sensor in it! The marketing makes it pretty clear that there’s no part of our lives which isn’t enhanced with The Internet of Things. Why? Because with a simple sensor and a symphony of corporate hand waving about machine learning an iPhone-style revolution is just around the corner! Enter: Amazon Dash, circa 2014.

The first product in the Dash family was actually a barcode scanning wand which was freely given to Amazon Fresh customers and designed to hang in the kitchen or magnet to the fridge. When the Fresh customer ran out of milk they could scan the carton as it was being thrown away to add it to their cart for reorder. I suspect these devices were fairly expensive, and somewhat too complex to be as frequently used as Amazon wanted (thus the extremely limited launch). Amazon’s goal here was to allow potential customers to order with an absolute minimum of friction so they can buy as much as possible. Remember the “Buy now with 1-Click” button?

That original Dash Wand was eventually upgraded to include a push button activated Alexa (barcode scanner and fridge magnet intact) and is generally available. But Amazon had pinned its hopes on a new beau. Mid 2015 Amazon introduced the Dash Replenishment Service along with a product to be it’s exemplar – the Dash Button. The Dash Button was to be the 1-Click button of the physical world. The barcode-scanning Wands require the user to remember the Wand was nearby, find a barcode, scan it, then remember to go to their cart and order the product. Too many steps, too many places to get off Mr. Bezos’ Wild Ride of Commerce. The Dash Buttons were simple! Press the button, get the labeled product shipped to a preconfigured address. Each button was purchased (for $5, with a $5 coupon) with a particular brand affinity, then configured online to purchase a specific product when pressed. In the marketing materials, happy families put them on washing machines to buy Tide, or in a kitchen cabinet to buy paper towels. Pretty clever, it really is a Buy now with 1-Click button for the physical world.

There were two versions of the Dash button. Both have the same user interface and work in fundamentally the same way. They have a single button (the software can recognize a few click patterns), a single RGB LED (‘natch), and a microphone (no, it didn’t listen to you, but we’ll come back to this). They also had a WiFi radio. Version two (silently released in 2016) added Bluetooth and completely changed the electrical innards, though to no user facing effect.

In February 2019, Amazon stopped selling the Dash Buttons. Continue reading “The Amazon Dash Button: A Retrospective”

Taking A Peek Inside Amazon’s Latest Dot

Like a million or so other people, [Brian Dorey] picked up a third generation Echo Dot during Amazon’s big sale a couple weeks ago. Going for less than half its normal retail price, he figured it was the perfect time to explore Amazon’s voice assistant offerings. But the low price also meant that he didn’t feel so bad tearing into the thing for our viewing pleasure.

By pretty much all accounts, the Echo Dot line has been a pretty solid performer as far as corporate subsidized home espionage devices go. They’re small, fairly cheap, and offer the baseline functionality that most people expect. While there was nothing precisely wrong with the earlier versions of the Dot, Amazon has used this latest revision of the device to give the gadget a more “premium” look and feel. They’ve also tried to squeeze a bit better audio out of the roughly hockey puck sized device. But of course, some undocumented changes managed to sneak in there as well.

For one thing, the latest version of the Dot deletes the USB port. Hackers had used the USB port on earlier versions of the hardware to try and gain access to the Android (or at least, Amazon’s flavor of Android) operating system hiding inside, so that’s an unfortunate development. On the flip side, [Brian] reports there’s some type of debug header on the bottom of the device. A similar feature allowed hackers to gain access to some of Amazon’s other voice assistants, so we’d recommend hopeful optimism until told otherwise.

The Echo Dot is powered by a quad-core Mediatek MT8516BAAA 64-bit ARM Cortex-A35 processor and the OS lives on an 8GB Samsung KMFN60012M-B214 eMMC. A pair of Texas Instruments LV320ADC3101 ADCs are used to process the incoming audio from the four microphones arranged around the edge of the PCB, and [Brian] says there appears to be a Fairchild 74LCX74 flip-flop in place to cut the audio feed when the user wants a bit of privacy.

Of course, the biggest change is on the outside. The new Dot is much larger than the previous versions, which means all the awesome enclosures we’ve seen for its predecessor will need to be reworked if they want to be compatible with Amazon’s latest and greatest.