circuit board

Ask Hackaday: Is Amazon Echo The Future Of Home Automation?

Unless you’ve been living under a case of 1 farad capacitors, you’ve heard of the Amazon Echo. Roughly the size of two cans of beans, the Echo packs quite a punch for such a small package. It’s powered by a Texas Instrument DM3725 processor riding on 256 megs of RAM and 4 gigs of SanDisk iNAND ultra flash memory. Qualcomm Atheros takes care of the WiFi and Bluetooth, and various TI chips take care of the audio codecs and amplifiers.

What’s unique about Echo is its amazing voice recognition. While the “brains” of the Echo exist somewhere on the Internets, the hardware for this circuitry is straight forward. Seven, yes seven microphones are positioned around the top of the device. They feed into four Texas Instrument 92dB SNR low-power stereo ADCs. The hardware and software make for a very capable voice recognition that works from anywhere in the room. For the output sound, two speakers are utilized – a woofer and a tweeter. They’re both powered via a TI 15 watts class D amplifier. Check out this full tear down for more details of the hardware.

circuit board

Now that we have a good idea of the hardware, we have to accept the bad news that this is a closed source device. While we’ve seen other hacks where people poll the to-do list through the unofficial API, it still leaves a lot to be desired. For instance, the wake word, or the word which signals the Echo to start listening to commands, is either “Alexa” or “Amazon”. There is no other way to change this, even though it should be easily doable in the software. It should be obvious that people will want to call it “Computer” or “Jarvis”. But do not fret my hacker friends, for I have good news!

It appears that Amazon sees (or had seen all along) that home automation is the future of the Echo. They now officially support Philips Hue and Belkin WeMo gadgets. The Belkin WeMo, which is no stranger to the hacker’s workbench, has a good handle on home automation already, making the ability to control things in your house with the Echo tantalizingly close. See the video below where I test it out. Now, if you’re not excited yet, you haven’t heard of the WeMo Maker, a device which they claim will let you “Control nearly any low-voltage electronics device“. While the WeMo Maker is not supported as of yet, it surely will be in the near future.

We know it sucks that all of this is closed source. But it sure is cool! So here’s the question: Is the Echo the future of home automation? Sure, it has its obvious flaws, and one would think home automation is not exactly Amazon’s most direct business model (they just want you to buy stuff). However, it works very well as a home automation core. Possibility better than anything out there right now – both closed and open source.

Do you think Amazon would ever open the door to letting the Echo run open source modules which allow the community to add control of just about any wireless devices? Do you think that doing so would crown Amazon the king of home automation in the years to come?

Continue reading “Ask Hackaday: Is Amazon Echo The Future Of Home Automation?”

Hackaday Links Column Banner

Hackaday Links: April 12, 2015

Everyone loves Top Gear, or as it’s more commonly known, The Short, The Slow, And The Ugly. Yeah, terrible shame [Clarkson] the BBC ruined it for the rest of us. Good News! A show featuring the Dacia Sandero drones will be filling the Top Gear timeslot. And on that bombshell…

More Arduino Drama! A few weeks ago, Arduino SRL (the new one) forked the Arduino IDE from Arduino LLC’s repo. The changes? The version number went up from 1.6.3 to 1.7. It’s been forked again, this time by [Mastro Gippo]. The changes? The version number went up to 2.0. We’re going to hold off until 2.1; major releases always have some bugs that take a few weeks to patch. Luckily the speed of the development cycle here means that patch should be out soon.

Need an ESP8266 connected to an Arduino. Arachnio has your back. Basically, it’s an Arduino Micro with an ESP8266 WiFi module. It also includes a Real Time Clock, a crypto module, and a solar battery charger. It’s available on Kickstarter, and we could think of a few sensor base station builds this would be useful for.

[Ben Heck] gave The Hacakday Prize a shoutout in this week’s episode. He says one of his life goals is to go to space. We’re giving that away to the project that makes the biggest difference for the world. We’re not sure how a [Bill Paxton] pinball machine fits into that category, but we also have a Best Product category for an opportunity to spend some time in a hackerspace… kind of like [Ben]’s 9 to 5 gig…

[Jim Tremblay] wrote a real time operating system for a bunch of different microcontrollers. There are a lot of examples for everything from an Arduino Mega to STM32 Discovery boards. Thanks [Alain] for the tip.

45s – the grammophone records that play at 45 RPM – are seven inches in diameter. Here’s one that’s 1.5 inches in diameter. Does it work? No one knows, because the creator can’t find a turntable to play it on.

Are we betting on the number of people who don’t get the joke in the second paragraph of this post? Decide in the comments.

Review: Re:load Pro

About a year ago, [Nick Johnson] over at Arachnid Labs sent a tip in about Re:load Pro, his digital constant current load design. [Nick] was running a crowdfunding campaign, which always makes me think twice about posting. However in this case, I had no qualms writing a feature here on the blog (and backing the campaign with my own cash). Re:load Pro is actually [Nick’s] third generation current load. Having purchased and used the original Re:load, I knew [Nick] was capable of fulfilling all the promises in the campaign. Turns out I was right – [Nick] and the Arachnid Labs team had a very successful crowdfunding campaign. All the kickstarter backers have been enjoying their units for months now. When it came time to stock up the Hackaday Store, the Re:load Pro was a no-brainer.

What does one need a digital constant current load for? Plenty of jobs could benefit from it! From testing batteries to verifying power supplies, to tests of many driver circuits, a digital load is a great tool to have in your arsenal.

Like many electronic devices, our first step with the Re:load Pro was to upgrade the firmware. Since the Re:load Pro is operated by a Cypress Semiconductor PSOC 4,  firmware updates are handled by the cyflash python package. For now this means heading to the command line and installing pip and cyflash. Those who aren’t familiar with a command line prompt will find a step by step guide on the firmware update page.

I should note that the Re:load Pro is powered by the USB input. I connected it up to my lab PC, which had no problem supplying the necessary power.

Calibration

The next step is calibrating the Re:load Pro. This requires an adjustable power supply capable of supplying at least 10 volts at 2amps, a decent multimeter, and of course some test leads. If you don’t have a reliable adjustable supply ask around; it should be easy to find someone who does.

The calibration is performed in three steps – first with nothing connected to the Re:load Pro. Then a power supply set to approximately 9.99 volts is connected. The voltage displayed on the Re:load Pro is tweaked with the rotary encoder to display the same value as that of the power supply. My power supply has a rather cheap internal voltmeter, so I used a multimeter in parallel with the setup. With voltage done, the Re:load Pro will draw 2 amps from the power supply. You need to adjust the current displayed on the Re:load Pro such that it matches the voltage displayed on your power supply current meter. Again, since my supply doesn’t have the most accurate meter, I used a multimeter – this time in series with the Re:load and the power supply.

Taking Measurements

reload-pro-review-thumbWith all the preliminary work done, it’s time to make some measurements! Re:load pro has a simple user interface. everything is accessed with the rotary encoder on the front panel. Turn the dial to your desired value, and press to select. In my case, I wanted to check the voltage drop of a LiPo battery under various loads. I simply hooked up the battery and dialed 350ma on the encoder. The Re:load Pro showed me that the battery was holding at 12.1 volts, and a display on the lower left side showed me how many milli amp hours I had pulled from the battery.

The Re:load Pro’s USB connector isn’t just for power. It will show up on your PC as a serial device. Just open your favorite terminal emulator, set the port to 115200 baud 8/N/1, and you’re good to go. The Re:load Pro uses a simple text based command/response protocol, all the commands are outlined on the Arachnid labs page.

Conclusion:

Re:load Pro is one of the first of new breed of open source tools. Like the closed source Rigol Oscilloscope, it replaces tools which cost several times more. [Nick] and Arachnid Labs aren’t just resting on their success though – they’ve just finished up a kickstarter for their latest open source tool. Tsunami is an open source signal generator based upon the Arduino platform. Tools enable projects, and open source tools are the best way to push the entire ecosystem forward.


Editor’s Note: We are reviving the concept of “Reviews” on Hackaday. These were pioneered long long ago by Hackaday Alum [Ian Lesnet] with his post on smart tweezers but little has been done since. We see a lot of tools, parts, raw materials, and equipment flow through our inbox. We plan to post reviews as a new Hackaday Column. These reviews are not paid placement, they are chosen by editors and writers based on our own interest. This particular example is available in the Hackaday Store and we started with it because we already have the hardware in-hand. However, we will be reviewing items we do not sell and have already put out requests for review units. If you know of something you think worthy of a review, please let us know by submitting it to the tips line. Thanks!

-Mike Szczys, Managing Editor

Hacklet 42 – Mouse Projects

Ever since [Douglas Engelbart] and his team came up with the computer mouse, hackers, makers, and engineers have been creating ways to change and improve the design. Even the original mouse was something of a hack, built form a block of wood, a button, and two encoder wheels. The wire exited toward the user’s wrist, making the device look like it had a tail. Even after all these years, folks are still working to make the perfect pointing device. This week’s Hacklet highlights some of the best mouse projects on Hackaday.io!

mouseballzWe start with [s_sudhar] and ORB – A 3D gaming mouse. Orb uses accelerometers and gyros to track its location in 3D space. The popular MPU-6050 chip provides all the sensors to create an Inertial Measurement Unit (IMU). The controller is an Arduino Micro, which provides the USB interface to a PC with the help of Arduino’s MouseKeyboard library. Two micro switches handle button duties. The original Orb was built up in a cardboard box. [S_sudhar] created a more advanced version housed in a 3D printed sphere with two buttons. The translucent joint between the two halves of the sphere is just begging for some RGB LEDs. We can already see them flashing red when you’re getting shot in Team Fortress 2!

mouse-wheelAnyone who has used X-Windows with a three button mouse knows how maddening the modern clickable center scroll wheel can be. You can’t click the wheel without it rolling, and causing all sorts of mayhem. There are plenty of software solutions and window manager mods to work around this, but [mclien] wanted a real three button mouse with a side scroll wheel. He didn’t want just any mouse though – it had to be a Silicon Graphics International (SGI) 3 button unit. His project 3-buttonmouse with seperate wheel used a dremel, drill press, and glue to transplant the electronics of a 3 button scrolling mouse into the classic SGI plastics. The final wheel placement did work – but it didn’t quite fit [mclien’s] hand. It did fit one of his friends hands perfectly though. So well in fact that the friend borrowed [mclien’s] creation. Neither the mouse nor the friend have been seen since!

jimmy[Jay-t] decided that mice are for more than pointing, so he built Jimmy the mouse bot. Jimmy is a robot built from an old Commodore Amiga two button mouse. His brain is a Parallax Propeller processor. Two outrigger mounted gear motors help Jimmy drive around. Jimmy has plenty of sensors, including infrared object detectors, switches, and a GPS module from Adafruit. Jimmy may be the world’s first homing mousebot. [Jay-t] does all his interactive testing with Tachyon Forth on the Prop. The great thing about having an 8 core processor is that there is plenty of room for expansion. Even with all these sensors, Jimmy is still only using 3 cores!

 

clovis

Finally we at [Clovis Fritzen] and the Wireless Batteryless Mouse. This is our favorite type of project – the kind that has just been uploaded. [Clovis] plans to use a movement based system to charge up a supercapacitor – eliminating the need for batteries or wires. He’s also hoping to use an accelerometer to detect the mouse’s position rather than a power-hungry optical system. The details are still sparse, because he’s just started the project! These are exactly the type of projects that get us thinking. How will [Clovis] translate movement to energy? Will it be weights, like a self-winding watch? Maybe pizeo elements in the buttons. Will people mind having to jiggle their mouse to get it working once that capacitor is discharged? One thing we’re sure of, [Clovis] has a proven track record of implementing projects like his weather station. Get in there and help with your own ideas, or simply follow along with us and see how this one turns out.

Not satisfied? Want more mousy goodness? Check out our freshly minted mouse and pointer projects list!

That’s about all the time we have for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io! 

We Have A Problem: Mass Versus Local Production

Hackaday, we have a problem. We’re trying to engineer a brighter future; a task that calls for a huge mental leap. This week, instead of discussing a concrete problem, let’s gather around the digital campfire to gnaw on a thought exercise. In thinking abstractly I hope we’ll trigger a slew of ideas you can use as your entry in the 2015 Hackaday Prize in which you can win a Trip to Space or hundreds of other prizes.

Shipping Mass Produced vs. Producing Locally

This morning I was reading an interesting story about an email server that couldn’t deliver message to any ISP physically located more than 500 miles away. In that case it turns out that the limiting factor was misconfiguration and the speed of light. But it got me thinking about things we transport in bulk versus things being transported individually. I often think about the transport of finished goods and compare where we are now to the fabrication visions [Neal Stephenson] talked about in his novel The Diamond Age. In that picture of the future, it is common building blocks of matter that are delivered to every home and business and not finished goods. Interesting.

What kind of resources are consumed in local production versus centralized mass production? Is there merit in using technology to change the way we’ve always done some things? Certainly there will not be one answer for everything so let’s talk about a few examples that might be done differently.

Scenario #1: You send a greeting card with your hand-written message to your mother for her Birthday.

handwritten-message-cardThe way things work right now, you go to the store and pick out a card. You write a personal message inside, lick, stamp, and send it through the mail. The thing is, this card is probably already in a store down the street from your mother. What if you could digitize your handwritten message and have it printed on the card and delivered from a local repository? Take it a step further, assuming that these cards are bulk-printed in one central location and distributed widely, does it save any resources to decentralize the production of the cards and make production local so that the finished goods are not being transported more than 500 miles? And for those skeptics saying that you can’t add a check or cash to the card when done this way… yes you can!

Scenario #2: The meal is finished and just as you close the door to the dishwasher you hear a horrible crack as the plastic latch that holds the door closed breaks.

Recycled household appliancesStandard practice is that the part be ordered from a parts supplier (either by you or by a serviceman). These suppliers keep a stock of common parts which are well documented in a huge library of service manuals for the myriad of home appliances out there. But when you get right down to it, it’s just a little plastic bauble. Let’s assume all of these are made in a single factory in huge production runs that supply both the manufacturer and the legacy parts houses. What if instead of this you could have these parts 3D printed by a business within 500 miles of where they are needed. There are industrial-grade 3D printing techniques that produce parts strong enough to act as a replacement. Where do you come down on resource saving between the two methods?

Scenario #∞: It’s your turn to come up with an example.

We want to hear your ideas on local production versus centralized mass production. Don’t be afraid to share half-baked ideas. The entire point of We Have a Problem is to spark civil debate on issue which could lead to world-changing solutions. Help us start the idea mill and jump on to see where it takes us. Don’t forget to carry the inspiration you find into your entry for the Hackaday Prize.


The 2015 Hackaday Prize is sponsored by:

drawing of quadcopter in space

Ask Hackaday: Quadcopter In Near Space?

Your mission, should you choose to accept it, is to send a quadcopter to near space and return it safely to the Earth. Getting it there is not that difficult. In fact, you can get pretty much anything you want to near space with a high altitude weather balloon. Getting it back on the ground in one piece is a whole other ballgame.

Why does someone need to do this? Well, it appears the ESA’s StarTiger team is taking a card out of NASA’s book and wants to use a Sky Crane to soft land a rover on Mars. But instead of using rockets to hold the crane steady in the Martian sky, they want to use…you guessed it, a quadcopter. They’re calling it the Dropter.

quadcopter on mars

At first glance, there seems to be a lot wrong with this approach. The atmosphere on Mars is about 100 times less dense than the Earth’s atmosphere at sea level. How do props operate in these conditions? Testing would need to be done of course, and the Earth’s upper atmosphere is the perfect place to carry out such testing. At 100,000 feet, the density of the stratosphere is about the same as that of the Martian surface atmosphere. AND 100,000 feet is prime high altitude balloon territory.  Not to mention the gravity on Mars is about 38% of Earth’s gravity, meaning a 5.5 pound model on Earth could accurately represent a 15 pound model on Mars.

With all of these facts taken into consideration, one can conclude that realistic testing of a scale model Martian quadcopter is within the grasp of the hacker community. We’ve seen some work on high altitude drones before, but never a quadcopter.

Now it’s your turn to do something no one has ever done before. Think you got what it takes to pull such a project off? Let us know what your approach to the challenge would be in the comments.

Continue reading “Ask Hackaday: Quadcopter In Near Space?”

Retrotechtacular: The Bessemer Converter

Here’s a rose-colored look into the steelworks at Workington, Cumbria in northern England. At the time of filming in 1974, this plant had been manufacturing steel nonstop for 102 years using the Bessemer process. [Sir Henry Bessemer]’s method for turning pig iron into steel was a great boon to industry because it made production faster and more cost-effective.

hot ingotsMore importantly, [Bessemer]’s process resulted in steel that was ten times stronger than that made with the crucible-steel method. Basically, oxygen is blown through molten iron to burn out the impurities. The silicon and manganese burn first, adding more heat on top of what the oxygen brings. As the temperature rises to 1600°C, the converter gently rocks back and forth. From its mouth come showers of sparks and a flame that burns with an “eye-searing intensity”. Once the blow stage is complete, the steel is poured into ingot molds. The average ingot weighs four tons, although the largest mold holds six tons. The ingots are kept warm until they are made into rail.

The foreman explains that Workington Works would soon be switching over to a more modern process. As it was, Workington ran a pair of Bessemer converters on a 40-minute schedule, ensuring constant steel production from ore to rail. Between 1872 and 1974, these converters created an estimated 25 million metric tons of steel.

Continue reading “Retrotechtacular: The Bessemer Converter”