Posts with «arduino hacks» label

A LIN Bus Signal Injector

[Zapta] tipped us about his latest project: a LIN bus signal injector. For our unfamiliar readers, the LIN bus is a popular automotive bus that is used to interface with buttons, lights, etc. As [Zapta] was tired of having to press the Sport Mode button of his car each time he turned the ignition on, he thought it’d build the platform shown above to automatically simulate the button press.

The project is based around an ATMega328 and is therefore Arduino IDE compatible (recognized as an Arduino Mini Pro), making firmware customization easy. In the car, it is physically setup as a proxy between the LIN master and the slave (which explains the two 3-wires groups shown in the picture). It is interesting to note that the injection feature can be toggled by using a particular car buttons press sequence. The project is fully open source and a video of the system in action is embedded after the break.


Filed under: Arduino Hacks, hardware

Fixing Apple TV’s Terrible UI

Despite Apple’s unfailing dedication to UI, they still sometimes manage to put out some stinkers. The latest of these is the ‘keyboard’ for the search interface in the Apple TV. It’s an alphabetical keyboard, laid out in a square with the obvious frustration that goes along with that terrible idea. [Lasse] was frustrated with this design and realized searching anything with the Apple TV IR remote is a pain. His solution was to build his own version of the Apple TV remote with a web interface, powered by an Arduino.

Inspired by the Apple Remote Arduino Shield we featured a few years ago, [Lasse] stuck an IR LED int the pins of Arduino with an Ethernet shield, current limiting resistors be damned. The web UI is the innovative part of this build. He’s hosting a simple website on the Arduino that allows him to type – with a real keyboard – a search query into the website, and have the Arduino take care of moving the Apple TV cursor around to select each letter.

The web UI has all the features found on the Apple TV remote, including the swipe gestures, and has a really slick brushed metal texture to boot. You can check out the video of [Lasse]‘s project typing text into an Apple TV hilariously fast below.

 


Filed under: Arduino Hacks, macs hacks

Reach Out and Touch Your Next Project with Long Range RC Controller

Long range wireless control of a project is always a challenge. [Mike] and his team were looking to extend the range of their current RC setup for a UAV project, and decided on a pair of Arduino mini’s and somewhat expensive Digi Xtend 900Mhz modems to do the trick. With a range of 40 miles, the 1 watt transceivers provide fantastic range. And paired with the all too familiar Arduino, you’ve got yourself an easy long range link.

[Mike] set the transmitter up so it can plug directly into any RC controller training port, decoding the incoming signal and converting it into a serial data package for transmitting. While they don’t provide the range of other RF transmitters we’ve seen, the 40 mile range of the modem’s are more than enough for most projects, including High Altitude Balloon missions.

The code for the Arduino transmitter and receiver sides is available at their github. Though there is no built-in error correction in the code, they have not had any issues.  Unfortunately, a schematic was not provided, but you should be able to get enough information from the images and datasheets to construct a working link.

 


Filed under: Arduino Hacks, drone hacks

Using SIMMs to Add Some Extra RAM on your Arduino UNO

 

A Single In-line Memory Module (SIMM) is a type of memory module containing Random Access Memory (RAM) which was used in computers from the early 1980s to the late 1990s (think 386, 486, Macintoshs, Atari STE…). [Rafael] just made a little library that allows you to interface these modules to the Atmega328p-based Arduino UNO in order to gain some memory space. His work was actually based on the great Linux on the 8bit ATMEGA168 hack from [Dmitry Grinberg] but some tweaks were required to make it work with [Rapfael]‘s SIMM but also to port it to the Arduino platform. The 30-pin SIMM shown above is capable of storing up to (hold on to your chairs…) 16MB but due to limited amount of available IOs on the Atmega328p only 256KB can be used. Our guess it that an SPI / I2C IO extender could lift this limitation. A quick (shaky) video is embedded after the break.


Filed under: Arduino Hacks, hardware

Wireless pinball controller for tablet gaming

This wooden box is a wireless pinball controller and tablet stand. The idea is to set it on a workbench to give you some of the thrill of standing and playing the real thing. [Jeff] has been rather addicted to playing a pinball app on Android lately, and started the journey because he needed a way to give his thumbs some relief.

An Arduino monitors buttons on either side of this wooden controller. [Jeff] is new to working with hardware (he’s a Linux Kernel developer by trade) and was immediately struck with button debouncing issues. Rather than handle this in software (we’ve got a super-messy thread on that issue with our favorite at the bottom) he chose a hardware solution by building an SR latch out of two NAND gates.

With the inputs sorted out he added a BlueSMiRF board to the project which allowed him to connect a Nexus 7 tablet via Bluetooth. At this point he ran into some problems getting the device to respond to his control as if it were an external keyboard. His stop-gap solution was to switch to a Galaxy Tab 10.1 which wasn’t throwing cryptic errors. Hopefully he’ll fix this in the next iteration which will also include adding a plunger to launch the pinball, a part which just arrived in the mail as he was writing up this success.

We’ve embedded his quick demo video after the break.


Filed under: android hacks, arduino hacks

Reading Sensors with Scratch

Scratch, a graphical programming language developed by MIT’s Media Lab, is an excellent tool for teaching programming. [Daniel] created an Arduino Sensor Shield to interface with Scratch, allowing for real-world input to the language.

This board is a derivative of the Picoboard, which is designed for use with Scratch. Fortunately, the communication protocol was well documented, and [Daniel] used the same protocol to talk to the graphical programming environment. The shield includes resistance sensing, a light sensor, a sound sensor, and a sliding potentiometer.

The main goal was to create a board that could easily be built by DIY etching. This meant a one sided board with as few jumpers as possible. The final design, which can be downloaded and etched at home, is single sided and uses only one jumper. Detailed steps on testing the board are provided, which is very helpful for anyone trying to build their own.

This board is perfect for educational purposes, and thanks to [Daniel]‘s optimizations, it can be built and tested at at home.


Filed under: arduino hacks
Hack a Day 24 Feb 15:00

A beautiful game of Lights Out

About a year ago, [Anthony] decided to embark on his biggest project to date. He wanted something with a ton of LEDs, so when the idea of recreating the classic electronic Lights Out game came to mind, he knew he had the makings of a killer project. The finished Lights Out arcade box is a wonderful piece of work with sixteen 17-segment displays and just as many LED illuminated arcade buttons.

By far the most impressive feature of [Anthony]‘s project are the two rows of 17-segment displays. These are controlled by two MAX6954 LED display drivers on a beautiful wire wrapped board. The 16 buttons for the game are translucent arcade buttons that compliment the RGB LED strip very nicely.

A great display and a whole bunch of LEDs don’t make a game, though. [Anthony] came across this article on JSTOR that told him how to create new 4×4 games of Lights Out and solve them algorithmically to get the total number of moves required to solve the puzzle. As you can see in this video, it’s a little hard to solve the puzzle in the minimum amount of moves. Still, we have to commend [Anthony] for a great project.


Filed under: arduino hacks, led hacks, toy hacks

Fruit piano uses a different circuit than the Makey Makey

[Hasbi Sevinç] is using perishable goods in his electronics project. The orange, tomato, and two apples seen above act as keys for the virtual piano. The concept is the same as the Makey Makey which is often demonstrated as a banana piano. This implementation uses an Arduino to read the sensors and to connect to the computer running the piano program.

You can see there’s a fair amount of circuitry built on the breadboard. Each piece of fruit has its own channel to make it into a touch sensor. The signal produced when your finger contacts the food is amplified by transistors connected in a Darlington pair. That circuit drives the low side of a optoisolator transmitter. The receiving side of it is connected the I/O pin of the Arduino. You can see the schematic as well as a demo clip after the break.

This use of hardware frees up a lot of your microcontroller cycles. That’s because projects like this banana piano use the timers to measure RC decay. [Hasbi's] setup provides a digital signal that at most only needs to be debounced.


Filed under: arduino hacks, peripherals hacks

The PICnDuino Review

For those of you that can’t make a decision between buying an Arduino and a PIC processor, [Brad] has come up with a novel solution, the PICnDuino. We’ve featured him before with his [Retroball] project, but this time Brad has been full funded on Kickstarter, and is pre-selling boards for delivery in March.

[HAD], specifically I, was fortunate enough to be sent one of the boards to try out early. I’ve worked with an Arduino before, but never a PIC processor, so read on to see if it was actually as easy as the tutorial video (at the end of the article) would have you believe it is to get started.

I was sent both a black board fully populated, as well as several blanks in the various colors pictured below.  After loosely attaching the headers, I found that the oscillator on the bottom makes the board sit up a bit when placed into a breadboard. This is actually a clever design feature to make sit up a bit to allow USB attachment while breadboarded. After a quick physical inspection, the real trick would be seeing if it worked as advertised.

The first challenge for me was that, according to the documentation, this board runs in Windows or a virtualisation environment. I normally run Ubuntu, so, grabbing my wife’s circa 2000 vintage XP notebook, I downloaded and Amicus and Arduino software as explained in the video tutorial. The tutorial really spells out how to get the software running. This would be great for a total beginner, and made it so I didn’t have to even poke around for where to get the software.

The only issue I had connecting to the board(s?)was that I had to manually install the Amicus18 USB driver. I’m a total noob when it comes to the PIC processor, and only have limited experience with the Arduino, but once the driver was updated, it was quite easy to get everything going.

After programming a “blink” sketch using it as an Arduino, I then flipped a switch and opened the Amicus IDE. Programming the PIC was also simple, although I had to use a and modify a program called “LED_Flash” to match the video instead of the “blink” program as described in the tutorial. It was a bit strange to see the built in blinking light for the Arduino still working while the PIC was being programmed, as well as both built-in lights blinking slightly offset while running simultaneously.

The documentation is extremely well done for a product that won’t even be available for delivery until March 2013. I’m really excited to play with it more, and I think it will be a great tool for people to either run two processors simultaneously, or just have the option of learning to program both a PIC and (n) Arduino. So check it out here, and get it shipped worldwide straight out of Australia!

Side note, bonus points if you can tell from the two pictures what kind of computer I used for this review!


Filed under: arduino hacks, reviews

Nerf Sentry Gun for the Apocalypse

If you’ve ever wanted to shoot someone with a Nerf gun, but just didn’t have the energy to get off the couch, this hack may be for you. It’s also a good way to ward off zombies if another apocalypse, Mayan or otherwise, is on the horizon.

Although the effects are very cool, as seen in the video after the break, the method for making this setup was quite simple. The requirements for this project were that the gun could not be permanently modified, and everything had to fire automatically. These restrictions may have contributed to the simplicity of the design as many of us would start breaking things before we had to.

Instead of some elaborate hack, the trigger was tied back in the firing position at all times. A relay was then used to interrupt the power supply to the mechanism allowing an Arduino equipped with an infrared sensor to automatically control the firing. The setup is explained after the break, but skip to around 1:55 if you’d rather just see the guns in action.


Filed under: arduino hacks, weapons hacks
Hack a Day 28 Dec 19:31