What’s New, ESP-32? Testing the Arduino Library

In case you missed it, the big news is that a minimal Arduino core is up and working on the ESP32. There’s still lots left to do, but the core functionality — GPIO, UART, SPI, I2C, and WiFi — are all up and ready to be tested out. Installing the library is as easy as checking out the code from GitHub into your Arduino install, so that’s exactly what I did.

I then spent a couple days playing around with it. It’s a work in progress, but it’s getting to the point of being useful, and the codebase itself contains some hidden gems. Come on along and take a sneak peek.

Continue reading “What’s New, ESP-32? Testing the Arduino Library”

Dual-boot Your Arduino

There was a time, not so long ago, when all the cool kids were dual-booting their computers: one side running Linux for hacking and another running Windows for gaming. We know, we were there. But why the heck would you ever want to dual-boot an Arduino? We’re still scratching our heads about the application, but we know a cool hack when we see one; [Vinod] soldered the tiny surface-mount EEPROM on top of the already small AVR chip! (Check the video below.)

aAside from tiny-soldering skills, [Vinod] wrote his own custom bootloader for the AVR-based Arduino. With just enough memory to back up the AVR’s flash, the bootloader can shuffle the existing program out to the EEPROM while flashing the new program in. For more details, read the source.

While you might think that writing a bootloader is deep juju (it can be), [Vinod]’s simple bootloader application is written in C, using a style that should be familiar to anyone who has done work with an Arduino. It could certainly be optimized for size, but probably not for readability (and tweakability).

Why would you ever want to dual boot an Arduino? Maybe to be able to run testing and stable code on the same device? You could do the same thing over WiFi with an ESP8266. But maybe you don’t have WiFi available? Whatever, we like the hack and ‘because you can’ is a good enough excuse for us. If you do have a use in mind, post up in the comments!

Continue reading “Dual-boot Your Arduino”

SNES EPROM Programmer with Arduino

Most video game manufacturers aren’t too keen on homebrew games, or people trying to get more utility out of a video game system than it was designed to have. While some effort is made to keep people from slapping a modchip on an Xbox or from running an emulator for a Playstation, it’s almost completely impossible to stop some of the hardware hacking that is common on older cartridge-based games. The only limit is usually the cost of an EPROM programmer, but [Robson] has that covered now with his Arduino-based SNES EPROM programmer.

Normally this type of hack involves finding any cartridge for the SNES at the lowest possible value, burning an EPROM with the game that you really want, and then swapping the new programmed memory with the one in the worthless cartridge. Even though most programmers are pricey, it’s actually not that difficult to write bits to this type of memory. [Robson] runs us through all of the steps to get an Arduino set up to program these types of memory, and then puts it all together into a Super Nintendo where it looks exactly like the real thing.

If you don’t have an SNES lying around, it’s possible to perform a similar end-around on a Sega Genesis as well. And, if you’re more youthful than those of us that grew up in the 16-bit era, there’s a pretty decent homebrew community that has sprung up around the Nintendo DS and 3DS, too.

Thanks to [Rafael] for the tip!

Newsflash: A Bunch of Arduinos is Not an Autonomous Car

Nobody’s perfect. Sometimes you’re up late at night writing a blog post and you stumble upon an incredible story. You write it up, and it ends up being, well, incredible. IEEE Spectrum took the bait on this video (embedded below) where [Keran McKenzie] claims to have built a self-driving car for under $1,000 AUS with Arduinos.

The video is actually pretty funny, and we don’t think it’s intended to be a mass-media hoax as much as a YouTube joke. After letting the car “take over” for a few seconds, it swerves and [Keran] pretends to have hit something. (He’s using his knees people!) There are lots of takes with him under the car, and pointing at a single wire that supposedly makes the whole thing work. Yeah, right.

Continue reading “Newsflash: A Bunch of Arduinos is Not an Autonomous Car”

Arduino Vs. Arduino: Arduino Won

For the last two years, Arduino LLC (the arduino.cc, Massimo one) and Arduino SRL (the arduino.org, Musto one) have been locked in battle over the ownership of the Arduino trademark. That fight is finally over. Announced at the New York Maker Faire today, “Arduino” will now go to Arduino Holding, the single point of distribution for new products, and a non-profit Arduino Foundation, responsible for the community and Arduino IDE.

Since early 2015, Arduino — not the Arduino community, but the organization known as Arduino — has been split in half. Arduino LLC sued Arduino SRL for trademark infringement. The case began when Arduino SRL, formerly Smart Projects SRL and manufacturers of the Arduino boards with a tiny map of Italy on the silk screen, began selling under the Arduino name. Arduino LLC, on the other hand, wanted to internationalize the brand and license production to other manufacturers.

While Arduino and Arduino have been tied up in court for the last few years, from the outside this has look like nothing else but petty bickering. Arduino SRL forked the Arduino IDE and bumped up the version number. Later, an update from SRL was pushed out to Amazon buyers telling them Arduino.org was the real Arduino. Resellers were in a tizzy, and for a time Maker Faires had two gigantic Arduino booths. No one knew what was going on.

All of this is now behind us. The open source hardware community’s greatest source of drama is now over.

I spoke with Massimo after the announcement, and although the groundwork is laid out, the specifics aren’t ready to be disclosed yet. There’s still a lot to work out, like what to do with the Arduino.org Github repo, which TLD will be used (we’re rooting for .org), support for the multitude of slightly different products released from both camps over the years, and finer points that aren’t publicly visible. In a few months, probably before the end of the year, we’ll get all the answers to this. Now, though, the Arduino wars are over. Arduino is dead, long live Arduino.

Line Follower with No Arduino

There’s hardly a day that passes without an Arduino project that spurs the usual salvo of comments. Half the commenters will complain that the project didn’t need an Arduino. The other half will insist that the project would be better served with a much larger computer ranging from an ARM CPU to a Cray.

[Will Moore] has been interested in BEAM robotics — robots with analog hardware instead of microcontollers. His latest project is a sophisticated line follower. You’ve probably seen “bang-bang” line followers that just use a photocell to turn the robot one way or the other. [Will’s] uses a hardware PID (proportional integral derivative) controller. You can see a video of the result below.

Continue reading “Line Follower with No Arduino”

The Arduino Sleeps with the Fishes

[Eric Dirgahayu] wanted to explore underwater with some sensors and cameras. First, he needed a platform to carry them. That led to his Arduino-controlled swimming fish. The fish is made from PVC and some waterproof servos. From the video (see below) it isn’t clear how much control the fish has, but it does swim with an undulating motion like a real fish.

Continue reading “The Arduino Sleeps with the Fishes”