Ask Hackaday: Arduino In Consumer Products

Speak with those who consider themselves hardcore engineers and you might hear “Arduinos are for noobs” or some other similar nonsense. These naysayers see the platform as a simplified, overpriced, and over-hyped tool that lets you blink a few LEDs or maybe even read a sensor or two. They might say that Arduino is great for high school projects and EE wannabes tinkering in their garage, but REAL engineering is done with ARM, x86 or PICs. Guess what? There are Arduino compatible boards built around all three of those architectures. Below you can see but three examples in the DUE, Galileo, and Fubarino SD boards.

This attitude towards Arduino exists mainly out of ignorance. So let’s break down a few myths and preconceived biases that might still be lurking amongst some EEs and then talk about Arduino’s ability to move past the makers.

Arduino is NOT the Uno

When some hear “Arduino”, they think of that little blue board that you can plug a 9v battery into and start making stuff. While this is technically true, there’s a lot more to it than that.

  1. An Arduino Uno is just an AVR development board. AVRs are similar to PICs. When someones says “I used a PIC as the main processor”, does that mean they stuck the entire PIC development board into their project? Of course not. It’s the same with Arduino (in most cases), and design is done the same way as with any other microcontroller –
    • Use the development board to make, create and debug.
    • When ready, move the processor to your dedicated board.
  2. What makes an Arduino an “Arduino” and not just an AVR is the bootloader. Thus:
    • An Atmega328P is an AVR processor.
    • An Atmega328P with the Arduino bootloader is an Arduino.
  3. The bootloader allows you to program the AVR with the Arduino IDE. If you remove the bootloader from the AVR, you now have an AVR development board that can be programmed with AVR Studio using your preferred language.

There Is No Special Arduino Language

Arduino "blink" sketch should run on any Arduino compatible board.
Arduino “blink” sketch should run on any Arduino compatible board.

Yes, I know they call them sketches, which is silly. But the fact is it’s just c++. The same c++ you’d use to program your PIC. The bootloader allows the IDE to call functions, making it easy to code and giving Arduino its reputation of being easy to work with. But don’t let the “easy” fool you. They’re real c/c++ functions that get passed to a real c/c++ compiler. In fact, any c/c++ construct will work in the Arduino IDE. With that said – if there is any negative attribute to Arduino, it is the IDE. It’s simple and there is no debugger.

The strength comes in the standardization of the platform. You can adapt the Arduino standard to a board you have made and that adaptation should allow the myriad of libraries for Arduino to work with your new piece of hardware. This is a powerful benefit of the ecosystem. At the same time, this easy of getting things up and running has resulted in a lot of the negative associations discussed previously.

So there you have it. Arduino is no different from any other microcontroller, and is fully capable of being used in consumer products along side PICs, ARMs etc. To say otherwise is foolish.

What is the Virtue of Arduino in Consumer Products?

This is Ask Hackaday so you know there’s a question in the works. What is the virtue of Arduino in consumer products? Most electronics these days have a Device Firmware Upgrade (DFU) mode that allows the end user to upgrade the code, so Arduino doesn’t have a leg up there. One might argue that using Arduino means the code is Open Source and therefore ripe for community improvements but closed-source binaries can still be distributed for the platform. Yet there are many products out there that have managed to unlock the “community multiplier” that comes from releasing the code and inviting improvements.

What do you think the benefits of building consumer goods around Arduino are, what will the future look like, and how will we get there? Leave your thoughts below!

Retrotechtacular: The J-57 Afterburner Engine

The J-57 afterburner engine appeared in many airplanes of notable make, including the F-101, -102, and -103. This USAF training film shows the parts of the J-57, explains the complex process by which the engine produces thrust, and describes some maintenance and troubleshooting procedures.

The name of this game is high performance. Precision thrust requires careful rigging of the engine’s fuel control linkage through a process called trimming. Here, the engine fuel control is adjusted with regard to several different RPM readings as prescribed in the manual.

One of the worst things that can happen to a J-57 is known as overtemping. This refers to high EGT, or exhaust gas temperature. If EGT is too high, the air-fuel ratio is not ideal. Troubleshooting a case of high EGT should begin with a check of the lines and the anti-icing valve. If the lines are good and the valve is closed, the instruments should be checked for accuracy. If they’re okay, then it’s time for a pre-trimming inspection.

In addition to EGT, engine performance is judged by RPM and PP7, the turbine discharge pressure. If RPM and PP7 are within spec and the EGT is still high, the engine must be pulled. It should be inspected for leaks and hot spots, and the seals should be examined thoroughly for cracks and burns. The cause for high EGT may be just one thing, or it could be several small problems. This film encourages the user to RTFM, which we think is great advice in general.

Continue reading “Retrotechtacular: The J-57 Afterburner Engine”

New Part Day: The ESP8266 Killer

Around this time last year we first heard of the ESP8266 WiFi module. It’s still a great little module, providing WiFi connectivity for all those Internet of Things things at a price point of just $5. It’s an attractive price for a great module with a huge community pumping out a lot of projects for the platform.

Now there’s a new kid on the block. It’s called the EMW3165, and like the ESP it provides WiFi connectivity for a bunch of wireless projects. It’s much, much more capable with an STM32F4 ARM Coretex M4 microcontroller, a ‘self hosted’ networking library, more RAM, more Flash, and more GPIOs. How much, you’re probably asking yourself. It’s a dollar more than the ESP8266.

The datasheet for the module goes over all the gritty details. While this chip has 3.6V I/Os, there are some 5V tolerant pins – a boon for the Arduino crowd. It’s also surprisingly low power for something that connects to an 802.11n network. The real bonus here is the STM32F4 core – that’s a very, very powerful microcontroller, and if you want a 2-component WiFi webcam build, this is the part you should use. There will be a lot of interesting builds using this part. It’s also passed FCC certification. Very cool.

Hackaday Links Column Banner

Hackaday Links: July 12, 2015

Adafruit is working on a series of videos that’s basically Sesame Street for electronics. G is for Ground is out, where [Adabot] discovers pipes and lightning rods are connected to ground. Oh, the rhyming. Here’s the rest of the videos so far. We can’t wait for ‘Q is for Reactive Power’.

Think you’re good enough to build an airlock 70 cubic meters in volume that can cycle once every thirty seconds? How about building a 500 mile long steel tube with zero expansion joints across active fault lines? Can you stop a 3 ton vehicle traveling at 700 miles per hour in fifteen seconds? These are the near-impossible engineering challenges demanded of the hyperloop. The fact that no company will pay for this R&D should tell you something, but that doesn’t mean you still can’t contribute.

Calling everyone that isn’t from away. [Paul] lives near Augusta, Maine and can’t find a hackerspace. Augusta is the capital of the state, so there should be a hackerspace nearby. If you’re in the area, go leave a message on his profile.

Last week we found memristors you can buy. A few years ago, [Nyle] found them while hiking. They were crudded up shell casings, and experiments with sulfur and copper produced a memristor-like trace on a curve tracer.

Need a way to organize resistors? Use plastic bags that are the same size as trading cards.

The Arduino is too easy. It must be packaged into a format that is impossible to breadboard. It should be shaped like a banana. Open source? Don’t need that. The pins are incorrectly labelled, and will be different between manufacturing runs.

3D Printering: The Makerbot Class Action Suit

Since the 5th generation of Makerbot 3D printers were released at CES in 2014, there has been an avalanche of complaints about the smart extruder in these printers. Clogs were common, and the recommended fix was to simply replace the extruder. The smart extruder is a $175 part, and the mean time before failure is somewhere between 200 and 500 hours. With these smart extruders, you’re looking at a new extruder every dozen prints or so. Combine this with Makerbot’s abdication of open source values, and it’s easy to see why no one in the know would buy a Makerbot.

The performance of the 5th gen Makerbots is also reflected in the Stratasys stock price. The stock has tanked, from a high of $130.83 in early 2014 to a low of $31.88 a few days ago. This has investors calling for blood, and now there’s a class action suit claiming Stratasys violated securities laws. The court docs found by the folks at Adafruit allege Stratasys rushed the 5th gen Makerbots into production resulting in an avalanche of negative feedback, warranty claims, returns, and misled investors until the stock collapsed when the market was made aware of these issues.

The court documents allege Stratasys and Makerbot touted the incredible ease of use and ‘unmatched’ quality of the 5th generation of Makerbots, while former Makerbot employees confirmed known issues with the smart extruder. The 5th gen Makerbots were rushed into production without proper testing for performance and reliability and no standardized testing and validation program. In short, Makerbot itself didn’t know how bad the smart extruder was, but shipped the product anyway. This in turn hurt sales, with one sales executive leaving the company as he “did not want to sell the 5th generation printers after learning about the defect issues because he has a ‘conscience’.”

Despite this, those in charge at Makerbot and Stratasys continued to make misleading  positive claims about the reliability of their printers and how the printers were received by the market. This is the crux of the lawsuit, and something that points to an artificially inflated stock value.

The plaintiffs for this lawsuit are limited to Stratasys stock holders, and anyone out there who only owns a 5th gen Makerbot will sadly be ignored in this lawsuit. Still, if the claims of this lawsuit are true, Stratasys and Makerbot are in for a world of hurt; this is an alleged violation of federal securities laws. demanding a jury trial. Popcorn abounds, and as always, [Zach] and [Adam] came out ahead.

Hackaday Retro Edition: Androids And Amigas

Tiny ARM boards are everywhere, and if the Raspberry Pi is any indication, they’re mostly used for emulating old consoles and computers. With only a $30 single board computer, it’s easy to emulate an SNES, Apple II, C64, or any of the other piece of classic 80s or 90s hardware.

Understandably, there will eventually be a few projects and products that hope to capitalize on this retro trend. Few of them will go through the rigamarole of actually licensing the relevant IP. The Armiga is one of these projects. It’s an emulated Amiga 500 with 1MB of RAM packaged in what looks like a 3.5″ external floppy drive.

Inside this tiny little box is a dual core ARM for Amiga emulation. For the most part, this is just a basic Android system, but the real selling point of this system is the Armiga Project software. This is a full emulator and game browser that also includes a legal (!) copy of Kickstart 1.3. The ‘upscale’ version of the Armiga also includes a floppy disk controller and drive, should you ever want to dump all those old floppies sitting around in your attic.

This isn’t the first time we’ve heard about the Armiga. It was a crowdfunding campaign a year ago that was unsuccessful for reasons we can’t comprehend. The creators of the Armiga have forged on, and now these tiny little boxes of guru meditation have started shipping. The Beta units have sold out and there’s a waiting list for more.

Hacklet 55 – Home Automation Projects

Home automation – the idea of a smart home that monitors and controls the inside environment, takes commands from occupants, and generally makes living easier. Hackers, makers, and engineers have been building their own vision of the smart home for decades. Thanks to cell phones and the revolution of the “internet of things”, home automation is now in the public eye. The hackers haven’t stopped though. They’re still building dreams, one circuit and one line of code at a time. This week’s Hacklet is dedicated to some of the best home automation projects on Hackaday.io!

jarvisWe start at the top – [IamTeknik’s] Project Jarvis has been in the top five skulled and viewed projects on Hackaday.io for as long as we’ve been keeping records. Just like the fictional Tony Stark design which inspired its name, Jarvis is based on artificial intelligence. [IamTeknik] has created a system using the BeagleBone Black running his own custom software. He’s also creating Jarvis from the ground up – even the relay modules have been designed and built by [IamTeknik]. So far Jarvis has a great 3D printed door lock unit, and a really nice wall mounted tablet. We’re watching to see what modules [IamTeknik] adds next!

 

hcs[Morrisonpiano] is no home automation noob. He’s been running his own system for two decades. HCS_IV Home Automation System is a project to update his HCS_C home automation system. For the uninitiated, the original HCS was created by [Steve Ciarcia] of Byte and Circuit Cellar fame. There have been several generations of the hardware and software since then, with plenty hackers adding their own custom features. [Morrisonpiano] is updating his system with an NXP Arm Cortex M4 CPU, three big Altera Cyclone FPGAs, and plenty of flash storage. Why use a FPGA on a home automation system? I/O of course! HCS uses a ton of I/O. There are 16 RS485 ports and 10 RS232 serial ports. Going with an FPGA makes things flexible as well. Want to add CAN bus? Just drop in some CAN HDL code and you’re golden!

 

[Sswitchteven] is giving the smart home more senses with Squirco Smart Home System – Sensor Network. Rather than just have a temperature sensor at the thermostat, or a motion detector in the front foyer, [Steven] wants a network of unobtrusive sensors to blanket the home. He’s doing this by replacing the common light switch with a smart module that has sensors for temperature, humidity, and human presence. [Steven] has spent quite a bit of time researching and experimenting microwave tomography as a means to detect humans. Going with microwaves means no obvious PIR windows.

 

bbb-haFinally, we have [Ansaf Ahmad] with BeagleBone Black Home Automation. The idea for this project came from a calculus class on optimization. [Ansaf] is putting mathematical theorems to use in the real world by monitoring usage patterns and current demands of a device. With that data, he can optimize the usage to make things greener. So far, [Ansaf] has been experimenting with a lamp. The system has a web front end which uses PHP. The GPIO pins on the board are controlled using Python and Flask. As an early project, BeagleBone Home Automation is doing great – it’s already earned [Ansaf] high grades in his computer engineering class!

If you want more smart home goodness, check out our updated home automation projects list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!