Federico Musto Of Arduino SRL Shows Us New Products And New Directions

Recently, we sat down with [Federico Musto], CEO of Arduino SRL, for a chat about how the Italian Arduino firm was doing, what new products and projects they’ve got in the hopper, and what they’ve been up to for the last six months or so. It was high time!

Boards

The big story from our meeting, that [Federico] actually hinted at before, is the release of the Uno WiFi. How many projects have you seen on Hackaday that are based on an Arduino Uno with an ESP8266 WiFi module plugged into it? A bazillion. The Uno and ESP8266 are like the peanut butter and jelly of the last few years’ hacker zeitgeist.

Uno WiFi

arduino-uno-wifiThe Uno WiFi, then, is the Goober Grape (not an endorsement, you consume this stuff at your own risk). Less poetically put, Arduino has soldered the ESP8266 onto the Arduino Uno for you: no fiddling around with modules and pin-headers necessary. It’s not a ground-breaking innovation, but this is the kind of smart, community-led development that we like to see. You wanted cheap and easy WiFi on your Arduino? You got it.

Indeed, since the Arduino Yun came out, a lot of hackers were using it as a simple way to get their Arduino onto a wireless network: IoT and all that. When the ESP8266 hit the scene, many thought that the Yun looked dead in the water: with the ESP chip, you could get WiFi on your Arduino for half the price. But some folks need the extra power, or would rather just program in Python. Think of all the simple IoT projects based on the Raspberry Pi, for instance.

With the addition of the Uno WiFi, both the simple IoT devices and the more demanding applications can stay within the Arduino family. Go with the Uno WiFi if you want something networked but simple that the standard AVR ATmega328 processor can handle easily. If you actually need the extra computational power and flexibility of an embedded Linux distribution in addition to the ATmega, go for the Yun. If the ATmega isn’t cutting it, or if you need more power or peripherals from the microcontroller side, the new Tian board with its ARM Cortex-M0+ will fit the bill. It’s actually a compelling range of products even if they are superficially similar.

Tian

DSCF8150Which brings us to the Tian. The Arduino Tian is a neat new board, in our opinion. It’s got an integrated MIPS processor with 2.4 and 5GHz WiFi on board, as well as being able to do Bluetooth and Bluetooth LE. It runs faster than the Yun by a bit, and it’s got 4 GB of eMMC memory on-board so you don’t have to fool around with an external SD card as you do with the Yun or fruit-pastry Linux single-board computers.

We can’t decide if the Tian (or the Yun, for that matter) is a microcontroller with a Linux computer tacked on, or a Linux computer with a microcontroller to handle GPIO. Most of the applications that we’ve seen fit in with the former. We’d like to see more development on the Linux side, à la Raspberry Pi. In that light, we’re glad to see Arduino SRL continuing work on their Ciao library to help streamline communication between the microcontroller and the Linux box.

DSCF8151One of the cool tricks that [Federico] showed with the Tian was the ability to control the Linux computer from the Cortex M0+ microcontroller. As you can see in this prototype, only a few green wires (and some hot glue) were needed to make it work. The production version of the Tian should have this functionality built in.

As a demonstration, we SSH’ed into the Linux side of the Tian and pressed a button connected to the M0+ microcontroller.

The Linux side shut down gracefully, and we later booted it back up again. This is a particularly cool trick because the Linux side, with its fast processor and WiFi, is a power hog. The M0+ and its associated circuitry, on the other hand, run on very little power and can be throttled back into sleep mode when not crunching numbers. Although the boot-up time for the Linux side means that you wouldn’t be turning it on an off every few minutes, the ability to get the combined system into a low-power state for longer periods of time vastly increases the scope of projects where the Tian would be useful. Cute hack.

The Tian has only been available for about a month now. Have any of you tried one out?

Other Boards

DSCF8149[Federico] also showed us the Lei, which is a China-only Arduino board that combines the Tian’s Linux side with the Atmel ATmega part from the Yun, and has no onboard memory. It’s a cheaper hybrid between the two boards that [Federico] said wasn’t worth getting FCC certified for the US and the rest of the world. With the Yun and the Tian being so broadly similar already, we think that he’s probably right.

What the newest revision of the Yun, the Tian, and even the Lei have in common is that the microcontroller’s USB pins have been broken out to headers so that it could more easily be used as a standalone USB device. This gives even the cheapest boards in the family three ways to connect to USB — device mode through the microcontroller, and both host mode and USB OTG mode also through the Linux side. And it also enables shields, like this GSM shield below, to connect up to the microcontroller over USB. (Although the headers weren’t populated in this photo.)

DSCF8145This photo also shows a cute touch in the physical design of all of the Arduino SRL boards. All of the pinouts are labelled on the side of the female headers. Although we’re sure that you diehard Arduino fans out there can tell your A0 from your A5 in your sleep, we think it’s great not to have to go running back to the datasheet to double-check.

And finally, [Federico] showed me some of the new development they’ve been making on the Industrial and the Industrial 101 demonstration board. The Industrial is essentially the same Linux side as in the Yun, just in a smaller stand-alone package. Pairing this up with the Industrial 101 board, with its ATmega32u4 gives you essentially a Yun, but with a few more pinouts. We’re not yet sure what to make of the module-style packages that we’ve seen from many firms of late — we think that they’re too fidgety for hobbyists, and easy enough to DIY for a firm that’s producing tens of thousands of units. We could easily be wrong.

Anyway, the fun part about the Industrial 101 board was showing off all of the special shields that Arduino SRL has designed to go along with them. Here’s an OLED screen and joystick combo, for instance.

Free Stuff

If you’re interested in the Uno WiFi, you should probably check out the Arduino Christmas Challenge that’s going on through January 31st. If you enter a project on GitHub and register with Arduino, you stand a decent chance of winning a free Uno WiFi in January. (For what it’s worth, Arduino LLC and Microsoft are doing something similar. We’re not picking sides, just pointing out how to get free boards.)

IDE Developments

dl38We’d seen the new(ish) Arduino Studio development environment before, but it only just now made sense to us. Sure, it’s great to have a better editor than the old Java-based one. We’ve all been whining about the lack of code completion and so forth. The new editor environment, based on Adobe’s open-source Brackets editor is a huge step forward. But we’ve got a further direction that we’d like to see Arduino SRL take this, and the fact that the new editor is written in client-side Javascript is a big help.

The Yun, the Tian, and the China-only Lei boards all feature an OpenWRT-based Linux distribution onboard as well as WiFi connectivity. They also managed to get the entire GCC compilation chain compiling natively on the MIPS cores. It shouldn’t be too much more work to get a cross-compiler for the microcontroller up and running on the Arduino’s Linux side. Once that happens, you could compile and flash code onto the microcontroller entirely from within the Yun or Tian. Add in a nice, browser-based graphical editor, and you have a recipe for a self-contained development environment.

os.jsAnd [Federico] demoed some more tricks that point obliquely toward this future of Arduino-hosted Arduino development: we connected over the public Internet to an Arduino Yun in their R&D labs in Sicily that was serving an Arduino-branded version of OS.js, an “operating system” written in Javascript that runs in the client’s browser. Coupling something like OS.js to their Javascript-based Studio, running a cross-compiler on the Arduino’s Linux side would put the last pieces together to enable you to write, debug, and flash microcontroller projects completely on the Yun or Tian, without installing anything on your laptop other than a browser. The Arduino could become its own self-contained toolchain. How neat would that be? We hope we’re right.

Foundation and Stores

After months of legal work and lining up partners, Arduino SRL recently announced the formation of the Arduino Foundation. The Foundation is a non-profit that aims to give out Arduino boards and materials to schools and communities that might not have the resources to do so themselves, and also simply to give back to the Arduino community. In fact, the Uno WiFi Christmas challenge we mentioned above is sponsored by the Foundation.

manifestinoWe’d like to see the Foundation figure out how to reward the people who wrote popular Arduino libraries. In our mind, the success of Arduino is largely due to the enthusiastic and talented pool of coders who’ve written diverse libraries that support every kind of hardware peripheral known to man. There’s a million projects out there that simply use a Dallas one-wire temperature sensor or an RFM12B radio, and every one of them owes the coders who wrote the initial libraries a big debt. It’d be neat if the Arduino Foundation could find a way to pay some of this debt back. And from talking with [Federico], paying the community back is one of their main goals.

Arduino SRL has also thought about how to connect up better with the people making hardware that goes along with their boards — the shield-makers out there. [Federico] said that they’d open up their first brick-and-mortar Arduino store in Berlin any day now. The plan is to have a section of the store dedicated to community projects, giving the people who make shields and other add-ons a place to have their wares seen and sold. It’s also a clever way for the Arduino company to connect closer with the people who are doing the most innovative work in the Arduino ecosystem, so we think it’s a win all around.

And finally, we couldn’t talk Arduino without asking about the legal situation. Although everyone’s lawyers have been busy, [Federico] told me that there’s not much news on the trademark court cases since the last time we talked.

In Italy, and presumably the rest of the world outside of the USA, it’s all over but the shouting. It looks very likely that the court will rule for Arduino SRL, because Italy and Europe has a very straightforward trademark law — the company to file first essentially gets the trademark. And that was Arduino SRL.

Only in the USA is the situation more complicated, both because Arduino LLC filed first, and because it’s possible that Arduino SRL will demonstrate that they were producing boards with the Arduino name on them before Arduino LLC was even incorporated. We’re not lawyers, but this case certainly looks like it could go either way to us. And the US case is not likely to be settled until the summer of 2016, though, so don’t hold your breath.

Wrapup

Maybe 2015 will be remembered as the year of the dueling Arduinos, but we’re hopeful that instead it will be remembered as a year in which a bunch of new and improved Arduino hardware got released. From Arduino LLC, we’ve seen further collaborations with Intel. Arduino SRL has stayed true to their Linux and WiFi roots, coming out with the Tian, Industrial, and the Uno WiFi and continuing work on their operating system and the microcontroller interfacing. All in all, it’s been a good year for Arduino.

We’ve already hinted at some of what we’d like to see on the Arduino scene next year. What do you want to see for 2016?

Driving WS2811 LEDs With…VGA?

We thought we’d seen it all. All the ways to drive WS2811/2812 “Neopixel” LEDs, that is. And then [Steve Hardy] comes up with a new one: hacking a computer’s VGA output to drive 500 WS2811s in a string. And it’s quite a hack. You can check out the video (it’s worth enduring the horrible wind noise) below the break.

bits[Steve]’s big realization was that he could send the digital data that the Neopixels needed by carefully selecting a resolution and clock rate for the VGA to match the timings that the WS2811 modules wanted. A resolution of 840×1000 at 28MHz produces 70 pixels per WS2811 bit, or 12 bits per line. This means two VGA lines need to be sent for the RGB triple for each LED, hence the 1000 rows.

There are some further tricks before [Steve] got around to writing a custom OpenGL shader that converts regular graphics to his strange black-and-white bit pattern to drive the LEDs, but you’re going to have to read [Steve’s] blog for all that. If you’re waiting for a full code write-up, [Steve] says that one’s pending.

We’re just stoked to see the computing power that lies within a video card used for other purposes. Once you think of the VGA output as a general-purpose high speed (analog!) output, it opens up a whole bunch of possibilities if you can write the corresponding video software. As [Steve] points out, he’s only using the red channel right now — he could trivially add another 1000 LEDs just by tweaking his video code.

Continue reading “Driving WS2811 LEDs With…VGA?”

LiteBSD Brings 4.4BSD To PIC32

A few years ago [Serge Vakulenko] started the RetroBSD project–a 16-bit port of the old 2.11BSD operating system to the Microchip PIC32 microcontroller. This was impressive, but version 2 of BSD is, to most people, old news and somewhat difficult to use compared to modern BSD and Linux operating systems.

[Serge] has been at it again, however, and now has a port of 4.4BSD–LiteBSD–running on the PIC32MZ. According to [Alexandru Voica] there is about 200K of user space memory in the basic build, and by removing some OS features, you could double or triple that figure.

Continue reading “LiteBSD Brings 4.4BSD To PIC32”

This Project Will Be Stolen Again

The Travelling Hacker Box is the physical implementation of the hackaday.io community. While most of what happens on hackaday.io happens online, sometimes the activities leak out to the real world. One such activity is a box, filled with random electronics stuff, shipped around to different members of the hackaday.io community.

hackerboxIt’s a great idea in theory. In practice, people are bastards. The first Travelling Hacker Box was stolen by a member of the hackaday.io community. After travelling 14,167 miles through Philadelphia, San Francisco, Boston, Seattle, New York, Boston again, and the middle of Texas, the first travelling Hacker Box met its fate along the Georgia border, two hours outside of Atlanta. Who is responsible? We’re not going to talk about him. He knows who he is and what he did.

All is not lost, even though hundreds of dollars in electronic doo dads are. There’s a new Travelling Hacker Box already on its way around the US. It’s slowly being filled up with goodies, and has already visited Wyoming and upstate New York, and is currently somewhere around Anchorage, AK. The latest update shows this box is filled with goodies including a mini CRT assembly from an old camcorder, stepper motor drivers, and other weird electronics paraphernalia.

The travels of the current Travelling Hacker Box
The travels of the current Travelling Hacker Box

The current plan for the Travelling Hacker Box is the same as the old box: put 25,000 miles on the odometer while taking advantage of the economics of a USPS flat-rate box. From there, it will go further afield, travelling the circumference of the Earth a second time, hitting stops in Europe, Africa, Asia, India, Australia, and South America. If you’re a subcontractor for Raytheon, part of the NY Air National Guard, or are otherwise able to receive mail in Antarctica, you are encouraged to email me.

Feel like you’re up for adding a few hundred miles to the Travelling Hacker Box? There’s no set process to get on the list; destinations are chosen by distance from the current node, trustworthiness, and distance to the next node, if planned. The best way to get on the list is to click the ‘Request to join this project’ link on the Travelling Hacker Box project. Then, hang out in the Hacker Box chatroom, and you might have a chance at receiving a magical box of random electronics.

3D Printed Computer Case Brings Sexy Back

We know what you’re thinking – case modding is so 2004. You can forget all the silly paint jobs, windows, and lighted spinning fans that’s you’ve seen in the past. That all seems like child’s play compared to what [Complx] has created over on the overclock.net forum.

Using a mixture of 3D-printed plastic corners and a laser-cut acrylic top, bottom and sides, [Complx] was able to create a very pleasing design. He didn’t have access to a 3D printer large enough that would make the parts, though, so he decided to outsource that task. His first set of parts were printed on a Makerbot Replicator, but came out too coarse and so he set out to find a better printing method. After getting quotes of $2000 or more, he was about to call it quits when he found someone with Stratasys Fotus 250 who was willing to work with him on the price, but still provide a quality print.

The guts of the machine aren’t too shabby either. We know everyone loves a parts list so here you go:  It’s an ASUS Z97I-Plus and a i7-4790K, running a GTX 970 with a 600 Watt power supply, 8GB RAM and a couple of SSD drives.

We have to commend [Complx] on his documentation, photos and videos.  It really makes this build shine. You can watch an 3d animation of the build after the break.

Continue reading “3D Printed Computer Case Brings Sexy Back”

Hackaday Links: January 3, 2016

Cx5 is a strange material that’s a favorite of model makers and prop replicators. It’s kind of like a wax, kind of like a clay, and a little bit like a plastic. Now it’s a 3D printer filament. It looks very interesting for sculpted and highly detailed models, something the 3D printing scene hasn’t had yet.

So you want a CNC machine, right? Tormach makes a good one, and here’s what it takes to put a PCNC440 in your garage. This is an incredible amount of work and a great excuse to buy an engine hoist.

[Zemnmez] could find dozens of apps and webpages that would calculate resistor color codes for him automatically. What he couldn’t find is one that would do it in reverse – i.e. type in a resistor value and return the correct color code. He made this.

[aggaz] needed a way to connect multiple MIDI devices to his computer. The MIDI spec provides a neat piece of hardware for just this occasion – the MIDI thru box. The only thing you need to build a single MIDI thru box is an opto-isolator and a buffer. It’s easy enough to build, although the DIN5 jacks used for MIDI devices are pretty expensive nowadays. (FWIW- We get an invalid certificate error when loading this page but you should still be able to load it.)

AliExpress always has some interesting stuff on it, and [Ethan] found something very cool. They’re A8 CPUs found in the latest iPhone. Are they real? Who knows. I bought one, and you’re going to get pictures in another links post in a month or so.

The Game Boy Micro was released by Nintendo in 2005 and quickly became one of the coolest and most desired handheld consoles on the planet. You need only look at the eBay listings for the Micro as evidence of its desirability. [ModPurist] took an old DS Lite and converted it into a Game Boy Micro – same idea, larger package.

32C3: 20 Oscillators In 20 Minutes

In terms of implausible stand-up comedy, [Darsha]’s “20 Oscillators in 20 Minutes” is pretty far out there. First of all, she’s sitting down, with googly eyes on her multimeter, and five breadboards and a mess of 9V batteries laid out in front of her. “Has anybody built electronics before? Has anybody built electronics in front of this many people before? Yeah, so you’d better f**king be nice.” And she’s off!

twenty_oscillators-shot0012“Square waves are really good for your speakers.” And a few seconds later, a lub-dub beat-frequency oscillator filled the hall. And then there’s the stand-up clichés: “Anyone in the audience from Norway?!” And “Anyone know what chip I’m using here?” (The 555.) A heckler, or participant, shouts up “What are you doing?” She responds “Building this!” and shows a sketch of the basic layout.

She baits the audience — “Do you want to ask me about duty cycles?” — and tells stories: “And then one time the solder fell in my lap and burned through my crappy jeggings. Who knows what jeggings are? Whooo!!” All the while the clicking gets louder and more complicated.

Then there’s the suspense. “11 minutes left? Shit, I dunno if I’m going to make it this time!” She’s visibly panicked. A question: “How do you protect the outputs from overvoltage?” “I don’t. (pause, laughter) I use some filter caps and just, well, hope that you guys have good insurance.”

Nearing the home stretch, there’s this quasi-rhythmic ticking and pulsing slowly building up in the background. She plugs in another capacitor, and the crowd spontaneously applauds. A little bit later, she shouts “Is it loud enough?” over the din and turns it down. At the end, the timing’s getting really tight, and she calls up someone to help from the audience.

We won’t spoil it, naturally. You’ll just have to watch it run to the end. We laughed, we cried. It was better than Schroedinger’s cats.

(We’d use hex inverters.)