Sparkfun Ships 2000 MicroViews Without Bootloaders


Everyone has a bad day right? Monday was a particularly bad day for the folks at Sparkfun. Customer support tickets started piling up, leading to the discovery that they had shipped out as many as 1,934 MicroViews without bootloaders.

MicroView is the tiny OLED enabled, Arduino based, microcontroller system which had a wildly successful Kickstarter campaign earlier this year. [Marcus Schappi], the project creator, partnered up with SparkFun to get the MicroViews manufactured and shipped out to backers. This wasn’t a decision made on a whim, Sparkfun had proven themselves by fulfilling over 11,000 Makey Makey boards to backers of that campaign.

Rather than downplay the issue, Sparkfun CEO [Nathan Seidle] has taken to the company blog to explain what happened, how it happened, and what they’re going to do to make it right for their customers. This positions them as the subject of our Fail of the Week column where we commiserate instead of criticize.

First things first, anyone who receives an affected MicroView is getting a second working unit shipped out by the beginning of November. Furthermore, the bootloaderless units can be brought to life relatively easily. [Nate] provided a hex file with the correct bootloader. Anyone with an Atmel AVR In-System Programming (ISP) programmer and a steady hand can bring their MicroView to life. Several users have already done just that. The bootloader only has to be flashed via ISP once. After that, the MicroView will communicate via USB to a host PC. Sparkfun will publish a full tutorial in a few weeks.

Click past the break to read the rest of the story.

[Read more...]

When Worlds Collide: 68008 Bootstrapped by an Arduino Uno


[Peter Bjornx] brings classic microprocessors and modern microcontrollers together with his Arduino bootstrapped 68008 computer. The Motorola 68008 is the 8-bit external bus version of the well-known 68000 (or 68k) microprocessor. A friend gave [Peter] one of these chips, so he built a simple computer around it.

This isn’t one of those clean retrocomputers with every connection carefully planned out and wire wrapped. [Peter's] created a true hack – a working 68k system on a breadboard created with whatever he had on hand at the time. The real gem of this system is the ROM. [Peter] replaced an EPROM chip with an Arduino.

In the not-so-good-old-days, microprocessors (and many microcontrollers) ran from an external ROM chip. This often was a UV-erasable EPROM. Carefully compiled code was burned into the EPROM with a device programmer. If the code wasn’t perfect, the EPROM had to be pulled and placed under a UV lamp for 20 minutes or so to erase it before it was time to try again. EPROM emulators were available, but they were way too expensive for the hobbyist.

Thankfully those days are far behind us now with the advent of EEPROM and then Flash. [Peter] didn’t want to revisit the past either, so he wrote a simple Arduino sketch which allowed it to act as an EPROM emulator, including address logging via the serial port.

The design still caused [Peter] some headaches, though. His major problem was a classic 68k issue, /DTACK timing. /DTACK or Data Transfer Acknowledge is one of several bus control signals used by the 68k. When the 68k performs a read from the data bus, it waits for /DTACK before it transfers data. The Arduino was too slow to release /DTACK in this case, which caused the 68k to think every read was immediately completed. There is a much clearer explanation of the 68k bus cycles on this Big Mess O Wires page. [Peter's] solution was simple – a D flip-flop connected to the address strobe took care of the timing issues.

It took quite a bit of tinkering, but the system eventually worked. Peter was able to run the 68008 from its reset vector into a simple loop using the Arduino. It’s only fitting that the 68k program loaded by the Arduino was an LED blinker, everyone’s favorite hardware Hello World.

Thanks [Robert!]

Speedy Drinkmaker Keeps Party Guests Hydrated

the rumbot

After five weekends of work, [Alex] completed his automatic drink maker, the RumBot. What makes this automated bartender different from others is the fact that it is fast. VERY fast. It can serve drinks to five different locations in as little as 3 seconds per drink. By [Alex]‘s estimation, this could keep a party of 100 people going without anyone waiting on a drink.

The RumBot can make either of five pre-programmed drinks at varying levels of alcoholic intensity, ranging from 1 (“Virgin”) to 10. And for that extra push over the cliff, you can turn the knob to 11 (“Problem”).

Drink selection itself is handled by a simple digital I/O on an Arduino with a 1950s-styled user interface. The frame is built out of wood and uses 3D Printed plastic parts. It houses a very robust servo on a belt screw-driven stage to move the drink nozzle, and special sensors placed at either of the five drink locations detect a cup ready to be filled. Any cup placed at any of the positions will automatically be filled based on the RumBot’s settings at any particular time.

Based on the quality of the build and the increased speed of this automatic drink maker, this should be a huge hit at any party. With all the knobs turned to 11 though, it might be a good idea to have a breathalyzer on hand! All of the code and schematics for the project are available at the project site as well.

[Read more...]

TFT LCDs Hit Warp Speed with Teensy 3.1


[Paul Stoffregen], known as father of the Teensy, has leveraged the Teensy 3.1’s hardware to obtain some serious speed gains with SPI driven TFT LCDs. Low cost serial TFT LCDs have become commonplace these days. Many of us have used Adafruit’s TFT LCD library  to drive these displays on an Arduino. The Adafruit library gives us a simple API to work with these LCDs, and saves us from having to learn the intricacies of various driver chips.

[Paul] has turbocharged the library by using hardware available on Teensy 3.1’s 32 Freescale Kinetis K20 microcontroller. The first bump is raw speed. The Arduino’s ATmega328 can drive the SPI bus at 8MHz, while the Teensy’s Kinetis can ramp things up to 24MHz.

Speed isn’t everything though. [Paul] also used the Freescale’s 4 level FIFO to buffer transfers. By using a “Write first, then block until the FIFO isn’t full” algorithm, [Paul] ensured that new data always gets to the LCD as fast as possible.

Another huge bump was SPI chip select. The Kinetis can drive up to 5 SPI chip select pins from hardware. The ATmega328 doesn’t support chip selects. so they must be implemented with GPIO pins, which takes even more time.

The final result is rather impressive. Click past the break to see the ATmega based Arduno race against the Kinetis K20 powered Teensy 3.1.

Paul’s library is open source and available on Github.

[Read more...]

The Hackaday Antiduino Browser Plugin


Hackaday – and the projects featured on Hackaday – get a lot of flak in the comments section simply for mentioning an Arduino. The Arduino complainers are, of course, completely wrong; everyone here is trying to make something, not make something in the most obscure possible way.

The Arduino is a legitimate tool, but still there are those among us who despise anything ending in ~duino. This browser plugin is for them. It’s a Chrome extension that selectively replaces or removes Arduino content from Hackaday depending on the user’s preference.

There are three settings to the plugin: See No Evil replaces images of Arduinos with serious business. Hear No Evil removes all occurrences of the word ‘Arduino’ and replaces them with something of your choosing. Speak No Evil removes all posts in the Arduino Hacks category.The last option also removes the ability to comment on any post in the Arduino Hacks category, so obviously the quality of the comments here will drastically increase by tomorrow.

You can grab the plugin on the gits. It’s Chrome only, but if someone wants to port it to Firefox, we’ll gladly put up another post.

There you go, Internet. You’re free now, and the biggest problem in your life has now been solved. Go give [SickSad] a virtual pat on the back, or tell him he could have done the same thing with a 555. Either of those are pretty much the same thing at this point.

Voice Controlled RGB LED Lamp

Voice Controlled Lamp

[Saurabh] wanted a quick project to demonstrate how easy it can be to build devices that are voice controlled. His latest Instructable does just that using an Arduino and Visual Basic .Net.

[Saurabh] decided to build a voice controlled lamp. He knew he wanted it to change colors as well as be energy-efficient. It also had to be easy to control. The obvious choice was to use an RGB LED. The LED on its own wouldn’t be very interesting. He needed something to diffuse the light, like a lampshade. [Saurabh] decided to start with an empty glass jar. He filled the jar with gel wax, which provides a nice surface to diffuse the light.

The RGB LED was mounted underneath the jar’s screw-on cover. [Saurabh] soldered a 220 ohm current limiting resistor to each of the three anodes of the LED. A hole was drilled in the cap so he’d have a place to run the wires. The LED was then hooked up to an Arduino Leonardo.

The Arduino sketch has several built-in functions to set all of the colors, and also fade. [Saurabh] then wrote a control interface using Visual Basic .Net. The interface allows you to directly manipulate the lamp, but it also has built-in voice recognition functionality. This allows [Saurabh] to use his voice to change the color of the lamp, turn it off, or initiate a fading routing. You can watch a video demonstration of the voice controls below. [Read more...]

LEGO and Arduino meet Han Solo

lego blaster gif

This full-size replica blaster from Star Wars, most iconically used by Han Solo and Princess Leia, has everything. Flashing LEDs, blaster noises, LEGO, and yes, even an Arduino. Not bad for [Baron von Brunk]‘s first project to use an Arduino!

The blaster was based on electronics and LEGO that were lying around and was intended for use for Star Wars Day 2014. (May the Fourth be with you.) “Lying around” in this sense might be a bit of an understatement for [Baron von Brunk], as the design of the blaster required the use of the LEGO Digital Designer and 400 blocks, some of which are quite rare.

The electronics for the project are tied to a moving trigger mechanism (also made from LEGO). The trigger mechanism hits a momentary pushbutton which tells the Arduino to activate the LEDs and a separate 555 timer and sound recording/playback device which handles the classic blaster sounds. The whole thing is powered by a 9V battery and housed in the front of the blaster, and all of the code (and the LEGO schematics) are available on the project’s site.

This is quite an impressive replica, and the craftsmanship that went into the build shows, especially in the LEGO parts. We think Han Solo would indeed be proud! If you’re ready to go even further with Star Wars and LEGO, you might want to check out this barrel organ that plays the Star Wars theme.


Get every new post delivered to your Inbox.

Join 92,416 other followers