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.”

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”

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.

Custom Car Keypad Entry

jeepKeyless

[EdsJunk] loves the outdoors and using his Jeep Wrangler to get him there, but hiding a key just to go for a swim makes him nervous. After a friend showed him how convenient it was to have keypad entry to his vehicle, [EdsJunk] decided it was time he built his own.

The build uses a spare waterproof keypad attached to an Arduino Micro. [EdsJunk] simplified things by cannibalizing his extra keyless entry keyfob; if the ‘duino receives the right code from the keypad, it presses the unlock button on the keyfob to grant access. [EdsJunk] admits that the Wrangler’s soft top is easy enough to get into, but explains that the goal of this project is to keep the alarm activated, which would presumably go off if someone tried to break in through the soft top. You can watch a video demo of the keypad access below. This is another great addition to the multitude of hacks he’s performed on one vehicle.

We do, however, hope that there’s some kind of lockout built into the code to prevent brute forcing: it should be easy enough to activate the car’s panic button after a set number of failed attempts. Car hacks are popular this summer: check out the Real Car Remote Control if you missed it.

Continue reading “Custom Car Keypad Entry”