Posts with «arduino hacks» label

Enhanced Coffee Brewer Knows How Much of a Caffeine Addict You Are

Who should chip in the most to restock the community coffee supply at work is a common point of contention at some offices. This RFID infused coffee brewer called Juraduino by [Oliver Krohn] solves the issue at his workplace once and for all by logging how much is being consumed by each person and how often; quite the diplomatic hack.

[Oliver] donated his old Jura Coffee maker to his office with some added hardware cleverly hidden underneath the faceplate of the machine. An Arduino mounted within runs the show, powered through mini USB from the logic unit of the coffee maker itself. Once a co-worker swipes their RFID card over the front of the machine, a real-time clock module stamps when the coffee was requested, and then logs the amount selected by that person on a mini SD card. The data stored is sent via an additional bluetooth module to a custom app [Oliver] created with MIT App Inventor for his phone which displays the information. These details can then be exported in the form of an email addressed to everyone in the office at the end of the week, announcing definitively who can be counted on to restock the bulk of the community supplies.

Though there isn’t a link available with further documentation, [Oliver] mentions in the ‘details’ portion of his video that he’d be happy to share that information with anyone who contacts him regarding the project. You can see the Jura at work below:


Filed under: Arduino Hacks

Solving Arduino’s stk500_getsync() error

[psgarcha] took a year-old Arduino Uno on an international trip and upon returning found something was wrong. Every time he would try to upload, he would get the dreaded avrdude error, ‘stk500_getsync(): not in sync resp=0×00′. The Rx light would blink a few times during the attempted upload, but the tx light did not. Somehow, something was terribly wrong with the ‘duino, and [psgarcha] dug deep to figure out why.

To test the quality of the Arduino’s serial connection, [psgarcha] performed a loopback test; basically a wire plugged into the Tx and Rx pins of the Arduino. Sending a short message through the serial port showed the problem wasn’t the USB cable, the ATmega16u2 on the ‘duino, or any traces on the board. This would require more thought.

The main reason for the error would then be no communication between the computer and the ‘duino, the wrong COM port selected, the wrong board selected in the Arduino text editor, or timing errors or a corrupt bootloader. The first three errors were now out of the question, leaving timing errors and a corrupt bootloader. Troubleshooting then moved on to ordering a new programmer, and still this didn’t work with the broken Uno.

Frustrated with one of the greatest failures to become an Arduino tinkerer, [psgarcha] took a good, long look at the Uno board. He glanced over to an Arduino Mega board. Something looked different. On the Uno, the resonator had blown off. Problem found, at least.

Replacing the blown part with a hilariously large can crystal oscillator, [psgarcha] was back in business. This isn’t how you would fix 99% of getsync() errors, and it’s difficult imagining a situation where a this part would randomly blow, but if you’re ever looking at a nearly intractable problem, you need to start looking at what really shouldn’t fail.

Awesome rework, though.

 


Filed under: Arduino Hacks, repair hacks

A Modern Woodworking Workbench

This is a post about workbenches, but not the benches you’re probably thinking about. Workbenches meant for electronics development are simple matters – just about any flat surface, a few shelves for equipment, and an anti-static mat will be fine for every conceivable use.  Workbenches for woodworking are a separate matter entirely. There’s actually quite a bit of history behind the development of the woodworking workbench, but the basic idea is a thick laminated wood top, integrated vices, holes in the work surface for bench dogs, and ergonomics that allow for comfortable use of hand tools. The basic design of these benches hasn’t changed much in several hundred years, and [Dirk] thought the design was ready for a modern update.

Yes. This one moves on its own. It’s a robotic woodworking workbench that lifts the workpiece and table up to a comfortable position. The lifting mechanism is a quartet of Acme threaded rods all powered by an Arduino-controlled stepper motor linked together with sprockets and chain. There’s a remote control to raise and lower the bench, and a few batteries tucked behind the mechanics to allow for off-grid operation.

A bench must be sturdy, and this one has clamps on the frame of to clamp the ‘elevator car’ securely to the bench. Leveling casters make this bench mobile, giving [Dirk] the ability to move it around the shop, or from site to site. An integrate face vise and a twin-screw end vise securely hold the workpiece to the table, and a linseed oil finish make scratches and gouges easily repairable.

The majority of the frame is constructed out of birch plywood cut on a CNC, so if you have a Shopbot or other large router available to you at the local hackerspace, building this bench for yourself is a much simpler matter than the mortise and tenon joinery of a more traditional woodworking workbench. If you end up building this bench, be sure to pick up the casters [Dirk] used; this thing weighs 800 pounds. Massive, heavy, and an excellent bench that can be passed down to your grandkids. Video below.


Filed under: Arduino Hacks, tool hacks

Programmable Lithium Charger Shield for Arduino

Surely you need yet another way to charge your lithium batteries—perhaps you can sate your desperation with this programmable multi (or single) cell lithium charger shield for the Arduino<! Okay, so you’re not><em>hurting</em> for another method of juicing up your batteries. If you’re a regular around these parts of the interwebs, you’ll recall the <a href="http://hackaday.com/2014/09/21/a-li-ion-battery-charging-guide/">lithium charging guide</a> and that <a href="http://hackaday.com/2014/09/05/an-obsessively-thorough-battery-and-more-showdown/">rather incredible, near-encyclopedic rundown of both batteries and chargers</a>, which likely kept your charging needs under control.</p> <p>That said, this shield by Electro-Labs might be the perfect transition for the die-hard-’duino fanatic looking to migrate to tougher projects. The build features an LCD and four-button interface to fiddle with settings, and is based around an LT1510 constant current/constant voltage charger IC. You can find the schematic, bill of materials, code, and PCB design on the Electro-Labs webpage, as well as a brief rundown explaining how the circuit works. Still want to add on the design? Throw in <a href="http://hackaday.com/2014/07/16/finally-an-easy-to-make-holder-for-lithium-ion-batteries/">one of these Li-ion holders</a> for quick battery swapping action.</p> <p>[via <a href="http://embedded-lab.com/blog/?p=9644">Embedded Lab</a>]</p><br />Filed under: <a href="http://hackaday.com/category/arduino-hacks/">Arduino Hacks</a>, <a href="http://hackaday.com/category/microcontrollers/">Microcontrollers</a> <a><img src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/138748/" /></a> <img src="http://pixel.wp.com/b.gif?host=hackaday.com&blog=4779443&post=138748&subd=hackadaycom&ref=&feed=1" />

Battery Shield Mounts Underneath The Arduino

So, what do you do when your Arduino project needs to operate in a remote area or as a portable device? There are LiPo battery shields available, and although they may work well, recharging requires access to a USB port. You can also go the 9v battery route plugged into the on-board regulator of the Arduino but the low mAh rating of a 9v won’t allow your project to stay running for very long. [AI] needed a quick-change battery option for his Arduino project and came up with what he is calling the AA Undershield.

As the name implies, AA sized batteries are used in the project, two of them actually. Yes, two AA batteries at 1.5v each would equal only 3 volts when connected in series. The Arduino needs 5v so [AI] decided to use a MAX756 DC-to-DC step-up regulator to maintain a steady stream of 5v. This article has some nice graphs showing the difference in performance between a 9v battery being stepped down to 5v verses two AA’s being bumped up to 5v.

The ‘under’ in Undershield comes from this shield being mounted underneath the Arduino, unlike every other shield on the planet. Doing so allows use of a standard 0.100″-spaced prototype PCB and is an easy DIY solution to that odd-sized space between the Arduino’s Digital 7 and 8 pins. The Arduino mounts to the Undershield via its normal mounting holes with the help of some aluminum stand offs.

[AI] did a great job documenting his build with schematics and lots of photos so that anyone that is interested in making one for themselves can do so with extreme ease.


Filed under: Arduino Hacks

The Tale of Two Wearable Game Boys

We’re well past the time when Halloween costume submissions stop hitting the tip line, but like ever year we’re expecting a few to trickle in until at least Thanksgiving. Remember, kids: documentation is the worst part of any project.

[Troy] sent us a link to his wearable Game Boy costume. It’s exactly what you think it is: an old-school brick Game Boy that [Troy] wore around to a few parties last weekend. This one has a twist, though. There’s a laptop in there, making this Game Boy playable.

The build started off as a large cardboard box [Troy] covered with a scaled-up image of everyone’s favorite use of AA batteries. The D-pad and buttons were printed out at a local hackerspace, secured to a piece of plywood, and connected to an Arduino Due. The screen, in all its green and black glory, was taken from an old netbook. It was a widescreen display, but with a bezel around the display the only way to tell it’s not original is from the backlight.

Loaded up with Pokemon Blue, the large-scale Game Boy works like it should, enthralling guests at wherever [Troy] ended up last Friday. It also looks like a rather quick build, and something we could easily put together when we remember it next October 30th.

[Troy] wasn’t the only person with this idea. A few hours before he sent in a link to his wearable Game Boy costume, [Shawn] sent in his completely unrelated but extremely similar project. It’s a wearable brick Game Boy, a bit bigger, playing Tetris instead of Pokemon.

[Shawn]‘s build uses a cardboard box overlaid with a printout of a scaled-up Game Boy. Again, a laptop serves as the emulator and screen, input is handled by a ‘duino clone, and the buttons are slightly similar, but made out of cardboard.

Both are brilliant builds, adding a huge Game Boy to next year’s list of possible Halloween costume ideas. Videos of both below.


Filed under: Arduino Hacks, Holiday Hacks, nintendo gameboy hacks

Bluetooth-Enabled Danger Sign for Lab

[A Raymond] had some free time at work, and decided to spend it on creating a wireless warning sign. According to his blog profile, he is a PhD student in Applied Physics. His lab utilizes a high-powered laser system. His job is to use said system, but only after it’s brought online by faculty scientists. The status of the laser system is changed by a manual switchbox that controls the warning signs wired around the lab entrances. Unfortunately, if you were in the upstairs office, you only knew this after running downstairs to check. [A Raymond's] admitted laziness finally got the better of him – he wanted a sign that displayed the laser’s status from the comfort of the office. He had an old sign he could use, but he wanted a way for it to communicate with the switchbox downstairs. After some thought, he decided Bluetooth was the way to go, using a pair of BlueSMiRF Bluetooth modules from Sparkfun and Arduino Uno R3’s.

He constructed a metal box that intercepted the cable from the main switchbox, mounting one BlueSMiRF and Uno into it. Upon learning that the switchbox sends 12V AC signals over three individual status wires, he half-wave rectified the wires and divided their voltages so that the Uno wouldn’t fry. Instead, it determined which status wire that had active voltage. and sent a “g(reen)”, “y(ellow)”, or “r(ed)” signal continuously via Bluetooth. On the receiving end, [A Raymond] gutted the sign and mounted the other BlueSMiRF and Uno into it along with some green, yellow, and red LEDs. The LEDs light up in response to the corresponding Bluetooth signal.

The result is a warning sign that is always up-to-date with the switchbox’s status. We’ve covered projects using Bluetooth before, from plush birds to cameras- [A Raymond's] wireless sign is in good company. He notes that it’s “missing” a high pitched whining noise when the “Danger” lights are on. If he decides to add an accompanying (annoying) sound, he couldn’t go wrong with something like this. Regardless, we’re sure [A Raymond] is happy that he no longer has to go back and forth between floors before he can use the laser.


Filed under: Arduino Hacks, wireless hacks

Walkman-esque Human Interface Device

Cheap keyboards never come with extra buttons, and for [Pengu MC] this was simply unacceptable. Rather than go out and buy a nice keyboard, a microcontroller was found in the parts drawer and put to work building this USB multimedia button human interface device that has the added bonus of looking like an old-school Walkman.

The functions that [Pengu MC] wants don’t require their own drivers. All of the buttons on this device are part of the USB standard for keyboards: reverse, forward, play/pause, and volume. This simplifies the software side quite a bit, but [Pengu MC] still wrote his own HID descriptors, tied all of the buttons to the microcontroller, and put it in a custom-printed enclosure.

If you’re looking to build your own similar device, the Arduino Leonardo, Micro, or Due have this functionality built in, since the USB controller is integrated on the chip with everything else. Some of the older Arduinos can be programmed to do the same thing as well! And, with any of these projects, you can emulate any keypress that is available, not just the multimedia buttons.


Filed under: Arduino Hacks

Now Let’s See The World’s Largest Arduino

A few days ago we saw what would have been a killer Kickstarter a few years ago. It was the smallest conceivable ATtiny85 microcontroller board, with resistors, diodes, a USB connector, and eight pins for plugging into a breadboard. It’s a shame this design wasn’t around for the great Arduino Minification of Kickstarter in late 2011; it would have easily netted a few hundred thousand dollars, a TED talk, and a TechCrunch biopic.

[AtomSoftTech] has thrown his gauntlet down and created an even smaller ‘tiny85 board. it measures 0.4in by 0.3in, including the passives, reset switch, and USB connector. To put that in perspective, the PDIP package of the ‘tiny85 measures 0.4 x 0.4. How is [Atom] getting away with this? Cheating, splitting the circuit onto two stacked boards, or knowing the right components, depending on how you look at it.

[Atom] is using a few interesting components in this build. The USB connector is a surface mount vertical part, making the USB cord stick out the top of this uC board. The reset button is extremely small as well, sticking out of the interior layer of the PCB sandwich.

[AtomSoft] has the project up on OSH Park ($1.55 for three. How cool is that?), and we assume he’ll be selling the official World’s Smallest Arduino-compatible board at Tindie in time.


Filed under: Arduino Hacks, ATtiny Hacks

3D Printing Goes Hand in Hand with Iron Man Inspired Prosthetic

It’s exciting how much 3D printing has enabled us to produce pretty much any shape for any purpose on the fly. Among the most thoughtful uses for the technology that we’ve seen are the many functioning and often beautiful prosthetics that not only succeed in restoring the use of a limb, but also deliver an air of style and self-expression to the wearer. The immediate nature of the technology allows for models to be designed and produced rapidly at a low-cost, which works excellently for growing children. [Pat Starace’s] Iron Man inspired 3D printed hand and forearm are a perfect example of such personality and expert engineering… with an added dash of hacker flair.

With over twenty years of experience in animatronics behind him, [Starace] expertly concealed all of the mechanical ligaments within the design of his arm, producing a streamline limb with all the nuance of lifelike gesture. It was important that the piece not only work, but give the wearer that appropriate super hero-like feeling while wearing it. He achieves this with all the bells and whistles hidden within the negative space of the forearm, which give the wearer an armory of tricks up their sleeve. Concealed in the plating, [Starace] uses an Arduino and accelerometer to animate different sets of LEDs as triggered by the hand’s position coupled with specific voice commands. Depending on what angle the wrist is bent at, the fingers will either curl into a fist and reveal hidden ‘lasers’ on the back of the hand, or spread open around a pulsing circle of light on the palm when thrust outward.

The project took [Starace] quite a bit of time to print all the individual parts; around two days worth of time. This however is still considered quick in comparison to the custom outfitting and production of traditional prosthetics… not to mention, the traditional stuff wouldn’t have LEDs. This piece has a noble cause, and is an exciting example of how 3D printing is adding a level of heroism to everyday life.

Thank you Julius for pointing out this awesome project to us!


Filed under: Arduino Hacks, wearable hacks