Adding A Display To A USB Digital Scale

arduino_scale

[Oleg] found himself in possession of a Stamps.com Model 510 5lb digital scale.  It’s a great scale, but only works as a USB HID device. In other words, it’s a digital scale without a digital display. He decided he wanted it to be more standalone, so he added a Toshiba HD44780 (compatible) display. An Arduino UNO and USB Host shield were used to make it happen. His sketch simply polls the scale and outputs the weight on the display.

In this case, he used the USB Host Shield from Circuits at Home, but a brief look shows they use the same MAX3421 controller chip as Sparkfun and other versions of the board. You might also be able to pull off the same functionality with an AVR running V-USB, though admittedly it wouldn’t be so easy.

We haven’t found a great way to add USB host mode to projects other than shields like the one [Oleg] used. If you know of a better way, share your ideas in the comments.

Of course, if this isn’t hardcore enough for you, forget using a consumer scale – make your own from scratch!

The Arduino YUN. YUN Means Cloud.

For the longest time, the creators of the Arduino have been looking at how to bring the Arduino platform into the cloud. Ethernet and WiFi shields technically work, but if you’re processing data scraped from a web page, a lowly microcontroller really isn’t the best option. Enter the Arduino YUN. At its core, it’s a regular old Arduino Leonardo. Underneath that metal plate on the board? That’s an SoC running Linux.

Basically, the Linux side of the Yun is pretty similar to a WiFi router running OpenWRT. There’s a USB port for plugging in peripherals, native WiFi support (802.11n, even!), an Ethernet connector, and enough RAM to do all the interesting stuff a small computer connected to the Internet can do.

To make all this web programming easier for Arduino neophytes, the YUN also includes a ‘bridge’ library that automates HTTP transactions between the Linux and microcontroller sides of the YUN. There’s also support for Temboo, an SDK for dozens of APIs that interact with Facebook, Dropbox, FedEx, and hundreds of other web services.

Below you can check out [Massimo] and [David] showing off their wares and going over how the YUN connects to the Internet and interacts with the microcontroller over the ‘bridge’. It’s an interesting device, and something we’ll surely check out at the World Maker Faire.

Continue reading “The Arduino YUN. YUN Means Cloud.”

NES: Nixie Entertainment System

nixieNES

[Bradley W. Lewis] is no stranger to Nixie clock builds, and he felt his latest commission was missing something. Instead of merely mounting the Nixie clock into a case resembling an NES console, he goes full tilt and makes it into an NES console emulator. After some work on the milling machine, a wooden box has room to squeeze in a few new components. [Bradley] originally planned to mount only an Arduino with an ArduNIX shield to handle the Nixie clock, but the emulator demands some space saving. Flipping the Arduino on its side freed up plenty of room and the shield still easily connects to the adjacent Nixie tube board.

A Raspberry Pi serves as the console emulator and was mounted close to the side of the case to allow access to its HDMI port. The other ports from both the Arduino and RasPi stick out of the back, including an extension to the Pi’s RCA video out and buttons to set both the hour and minutes of the clock. The two surplus NES buttons on the front of the case control power to the RasPi and provide a reset function for the Nixie clock.

If that isn’t enough Nixie to satisfy you, check out the WiFi Nixie counter.

Game Of Light

gameoflight

Hyperrealistic graphics may be the standard for gaming, but Game of Light (Warning: Loud video volume) is a welcomed detour into vivid, low-res delight. Built for a course at the University of Oslo by [Abdimaalik], [Martin], [Andre], [Eivind], and [Stian], Game of Light has a handful game options, some of which allow up to four players. The build uses eight DE-DP14211 LED dot matrix boards, each with 32×16 bi-color LEDs and a built-in HT1632C display controller to handle the multiplexing. They are mounted together to form the 64×64 resolution display.

The box was custom-made out of what we suspect is acrylic, and uses some 3D printed pieces to offset the top from the bottom and to hold components in place. SNES controllers send data to the Arduino, which also runs the games and feeds the display controllers. Buried in the mix are two fans to keep the components cool. Everything is open source, so race to Github for source code and the games.

For another LED matrix project with a lot of gaming potential, check out [Brad’s] PS2 mouse interface that lets him interactively draw in real-time.

Continue reading “Game Of Light”

123D Circuits: Autodesk’s Free Design Tool

Arduino fanatics rejoice: Autodesk and Circuits.io have jointly released a new electronics design tool with some unique features: 123D Circuits. Anyone familiar with Autodesk knows they have a bit of a habit of taking over the world, but you can relax knowing this is a (pretty much) free product that’s filed under their Free 3D tools—though we’re not quite sure what is “3D” about a circuits layout program.

123D is web-based software, and using it requires account creation on the circuits.io website. Anything you design sits on the cloud: you can collaborate with others and even embed your circuit (with functioning simulation) straight into a webpage. Unfortunately, your work is public and therefore accessible by anyone unless you fork over $12 or $25 monthly: the former only gives you 5 private circuits. Dollar signs pop up again when you hit “finish circuit;” they offer to sell you PCBs in multiples of three.

Some features of the free account, however, may tempt the Arduino veteran away from a go-to program like Fritzing. Plopping in a virtual Arduino lets you edit its code on the fly in another window, which you can then simulate. If you’re new to circuit design or want some guidance for using 123D Circuits, they have provided an extensive list of applicable Instructables. Check out their promotional video below.

Continue reading “123D Circuits: Autodesk’s Free Design Tool”

ArduGuitar, An Arduino Controllable Guitar

The ArduGuitar

Electric guitars have several switches and potentiometers for controlling volume, tone, and which pickups are enabled. Rather than fiddling with these by hand, [Bob] built the ArduGuitar. It uses an Arduino to control the parameters over Bluetooth. This allows for musicians to configure presets, then recall them as needed, providing the exact same sound every time. It’s similar to the Guitarduino, but adds wireless control.

The internals of the ArduGuitar consist of the Arduino Micro, a BlueSMiRF from Sparkfun, and resistive opto-isolators. The resistive opto-isolators allow the Arduino to adjust resistance through an electrically isolated barrier. This prevents the Arduino from interfering with the guitar’s sound.

Some of the first Vactrols were used to create a tremolo effect in guitar amplifiers. These pulsed a incandescent lamp onto a photoresistor. Fortunately, there are now integrated solutions. PerkinElmer makes these, and they have a nice application note [PDF] on audio applications.

The final part of the design is an Android app, which provides remote control over Bluetooth. The source for everything is available on Github, and the detailed build log is available here.

My First Brainf*ck

fuck

There was a time – not too long ago – that a ‘my first computer’ required the use of machine code and an understanding of binary. While an introduction to computers is now just how to put a Raspberry Pi image on an SD card, a few people are keeping the dream of memorizing opcodes alive. One such person is [Johan von Konow], creator of My First Brainfuck, an ultra small, low-cost programmable computer.

My First Brainfuck is an Arduino shield designed to have all the features of a normal computer, but without all those messy mnemonics that make assembly programming so easy. This computer is programmed in Brainfuck, a purposely obtuse programming language that, while being incredibly esoteric and difficult to program in, can be very, very rewarding.

[Johan] has a short tutorial showing how his computer works and how the Brainfuck language operates. There are only eight commands in Brainfuck, perfect for such a minimal user interface, but with enough patience, nearly anything can be written in this difficult language.

Right now there are a few examples showing how to play a scale on the on-board buzzer, displaying a Larson scanner on the LEDs, and a few more programs will be published in the future.