Wiring Was Arduino Before Arduino

Hernando Barragán is the grandfather of Arduino of whom you’ve never heard. And after years now of being basically silent on the issue of attribution, he’s decided to get some of his grudges off his chest and clear the air around Wiring and Arduino. It’s a long read, and at times a little bitter, but if you’ve been following the development of the Arduino vs Arduino debacle, it’s an important piece in the puzzle.

Wiring, in case you don’t know, is where digitalWrite() and company come from. Maybe even more importantly, Wiring basically incubated the idea of building a microcontroller-based hardware controller platform that was simple enough to program that it could be used by artists. Indeed, it was intended to be the physical counterpart to Processing, a visual programming language for art. We’ve always wondered about the relationship between Wiring and Arduino, and it’s good to hear the Wiring side of the story. (We actually interviewed Barragán earlier this year, and he asked that we hold off until he published his side of things on the web.)

The short version is that Arduino was basically a fork of the Wiring software, re-branded and running on a physical platform that borrowed a lot from the Wiring boards. Whether or not this is legal or even moral is not an issue — Wiring was developed fully open-source, both software and hardware, so it was Massimo Banzi’s to copy as much as anyone else’s. But given that Arduino started off as essentially a re-branded Wiring (with code ported to a trivially different microcontroller), you’d be forgiven for thinking that somewhat more acknowledgement than “derives from Wiring” was appropriate.

screenshots_comparo
See what we mean?

The story of Arduino, from Barragán’s perspective, is actually a classic tragedy: student comes up with a really big idea, and one of his professors takes credit for it and runs with it.

Continue reading “Wiring Was Arduino Before Arduino”

Mindless Toddler Toy Becomes Teaching Tool

If you want to sell a toy for the toddler crowd, it ought to be pretty close to indestructible. A lot of toys out there are just plain nonsense game-wise and therefore waste their beefy potential. [2dom]’s wife was close to throwing out such a toy—a Little Tikes Goofy Ball. The thing literally does nothing but let you push its big buttons in. After some time passes, it pops them back out again and giggles. Game over. [2dom] rescued it from the trash and turned it into a toy that plays math games.

[2dom] removed the existing board and replaced it with an Arduino Pro Mini and a Darlington array that drives the motor that pops the buttons back out, the speaker, and a Nokia 5110 screen. Upon startup, the user chooses between addition, subtraction, and multiplication questions using the appropriate button. Questions appear in the middle of the screen and multiple choice answers in the corners.

Choose the right answer and the ball cheers and shows one of a few faces. Choose the wrong answer and it makes a buzzing sound and shows an X. There is an adaptive level system for the questions that [2dom] doesn’t show in the demonstration video after the break. For every five correct answers, you level up. His 3- and 5-year-olds love it. For more advanced teachable moments, there’s this toy-turned-enigma-machine.

Continue reading “Mindless Toddler Toy Becomes Teaching Tool”

SensorTape Unrolls New Sensor Deployment Possibilities

An embedded MEMS sensor might be lots of fun to play with on your first foray into the embedded world–why not deploy a whole network of them? Alas, the problem with communicating with a series of identical sensors becomes increasingly complicated as we start needing to handle the details of signal integrity and the communication protocols to handle all that data. Fortunately, [Artem], [Hsin-Liu], and [Joseph] at MIT Media Labs have made sensor deployment as easy as unraveling a strip of tape from your toolkit. They’ve developed SensorTape, an unrollable, deployable network of interconnected IMU and proximity sensors packaged in a familiar form factor of a roll of masking tape.

Possibly the most interesting technical challenge in a string of connected sensor nodes is picking a protocol that will deliver appreciable data rates with low latency. For that task the folks at MIT Media labs picked a combination of I²C and peer-to-peer serial. I²C accomodates the majority of transmissions from master to tape-node slave, but addresses are assigned dynamically over serial via inter-microcontroller communication. The net effect is a fast transfer rate of 100 KHz via I²C with a protocol initialization sequence that accommodates chains of various lengths–up to 128 units long! The full details behind the protocol are in their paper [PDF].

With a system as reconfigurable as SensorTape, new possibilities unfold with a solid framework for deploying sensors and aggregating the data. Have a look at their video after the break to get a sense of some of the use-cases that they’ve uncovered. Beyond their discoveries, there are certainly plenty others. What happens when we spin them up in the dryer, lay them under our car or on the ceiling? These were questions we may never have dreamed up because the tools just didn’t exist! Our props are out to SensorTape for giving us a tool to explore a world of sensor arrays without having to trip over ourselves in the implementation details.

via [CreativeApplications]

Continue reading “SensorTape Unrolls New Sensor Deployment Possibilities”

A Wooden Performance Is Fine WIth This Sequencer

You could sometimes be forgiven for thinking that making popular music has become too easy. With a laptop and suitable software almost anybody can now assemble something that had they secured the services of a canny promoter would be in with a shot at stardom. So many performances have been reduced to tightly choreographed dance acts to mask the absence of musicians or indeed musical talent, and our culture is poorer for it. It’s not that music made with modern technology or outside the performance is an indicator of lack of talent, indeed when a truly talented musician makes something with the resources of a modern technology the results are astounding. Instead it perhaps seems as though the technology is cheapened by an association with mediocrity when it should be a tool of greatness.

So it was with pleasure that we noticed a fresh project on Hackaday.io this morning which provides a marriage of accessible music technology and a requirement for performance. [Ernest Warzocha] has made a wooden sequencer.

It’s true, audio sequencers are old hat, so a new one will have to work hard to enthuse a seasoned Hackaday reader who’s seen it all. What makes [Ernest’s] sequencer different is that he’s made one with a very physical interface of wooden pucks placed in circular recesses on a wooden surface. Each recess has an infra-red reflective sensor that detects the surface texture of the puck placed in it and varies the sample it plays accordingly. It’s all held together underneath by an Arduino, and MP3 samples are played by a Sparkfun MP3 shield. At a stroke, he has turned the humble sequencer from a workaday studio tool into a performance art form that you can see in the video below, and we like that.

Home made sequencers have a special place in maker culture, and as you might expect over the years we’ve featured quite a few of them. Shift registers, CMOS analogue switches or even turntables as the sequencer elements, Lego as a human interface, a sequencer made from a cash register, and a rather lovely steampunk sequencer, to name but a few. So this one joins a rich tradition, and we look forward to more in the future.

Continue reading “A Wooden Performance Is Fine WIth This Sequencer”

Mechatronic Cat Ears For The Rest Of Us

Every now and then you see a project that makes you smile. It may not be something that will deliver world peace or feed the hungry, but when it opens in your browser in the morning you go to work a bit happier for the experience.

Just such a project is [Radomir Dopieralski’s] set of wearable mechatronic cat ears. A cosplay accessory that moves as you do. Very kawaii, but fun.

You may have seen the commercially available Necomimi brainwave activated mechatronic ears. [Radomir’s] version does not share their sophistication, instead he’s using an accelerometer to detect head movement coupled to an Arduino Pro Mini driving a pari of servos which manipulate the ears. He provides the source code, and has plans for a miniaturised version using an ATtiny85 on its own PCB.

Amusing cuteness aside, there are some considerations [Radomir] has had to observe that apply to any a head-mounted wearable computer. Not least the problem of putting the Pro Mini and its battery somewhere a little more unobtrusive and weatherproof than on top of his head. He also found that the micro-servos he was using did not have enough range of movement to fully bend the ears, something he is likely to address in a future version with bigger servos. He’s yet to address a particularly thorny problem: that a pair of servos mounted on your head can be rather noisy.

We’ve covered quite a few cosplay stories over the years. This is not even our first cat ear story. More than one example of a Pip Boy, a HAL 9000 costume, and a beautifully made Wheatley puppet have made these pages, to name a few. So scroll down and enjoy [Radomir’s] video demonstration of the ears in action.

Continue reading “Mechatronic Cat Ears For The Rest Of Us”

The Internet Of Linux Things

The Linux Foundation is a non-profit organization that sponsors the work of Linus Torvalds. Supporting companies include HP, IBM, Intel, and a host of other large corporations. The foundation hosts several Linux-related projects. This month they announced Zephyr, an RTOS aimed at the Internet of Things.

The project stresses modularity, security, and the smallest possible footprint. Initial support includes:

  • Arduino 101
  • Arduino Due
  • Intel Galileo Gen 2
  • NXP FRDM-K64F Freedom

The project (hosted on its own Website) has downloads for the kernel and documentation. Unlike a “normal” Linux kernel, Zephyr builds the kernel with your code to create a monolithic image that runs in a single shared address space. The build system allows you to select what features you want and exclude those you don’t. You can also customize resource utilization of what you do include, and you define resources at compile time.

By default, there is minimal run-time error checking to keep the executable lean. However, there is an optional error-checking infrastructure you can include for debugging.

The API contains the things you expect from an RTOS like fibers (lightweight non-preemptive threads), tasks (preemptively scheduled), semaphores, mutexes, and plenty of messaging primitives. Also, there are common I/O calls for PWM, UARTs, general I/O, and more. The API is consistent across all platforms.

You can find out more about Zephyr in the video below. We’ve seen RTOS systems before, of course. There’s even some for robots. However, having a Linux-heritage RTOS that can target small boards like an Arduino Due and a Freedom board could be a real game changer for sophisticated projects that need an RTOS.

Continue reading “The Internet Of Linux Things”

A Slew Of Open-Source Synthesizers

Hackaday reader [Jan Ostman] has been making microcontroller-based DIY synthesizers for quite a while now. Recently, he’s opened up the source for a lot of them so that you can play along at home. All of these virtual-analog synths and soundmakers can be realized on an Arduino or AVR ATmega328 if you happen to have one lying around.

Extra parts like a keyboard, some pushbuttons, or some potentiometer knobs to twiddle won’t hurt if you’d like to make something more permanent or more obviously playable, like [Jan] does. On the other hand, if you’d just like to get your feet wet, I’ve tweaked his code to be more immediately plug-and-play. The code is straightforward enough that it’s a good learning platform. So let’s take a quick tour through three drum machines and a string synth, each of which you can build on a breadboard in just a few minutes.

To install on an Arduino UNO, fetch the zip file from this GitHub repository, and move each subfolder to your Arduino sketch directory. You’re ready to play along.

Continue reading “A Slew Of Open-Source Synthesizers”