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.

Continue reading “TFT LCDs Hit Warp Speed With Teensy 3.1”

Hot Wheels Toy Turned Radar Gun

Yl3jKbSculaOIdoE

[Ken] was strolling through a department store one day looking for a gift for his daughter when he stumbled across a Mattel’s Hot Wheels Radar Gun for $30. He purchased it, took it home, and tested it out. Surprisingly, the device had the ability to not only scan toy cars, but also regular size vehicles, spinning bicycle wheels, and joggers as well. As his mind began to churn coming up with new ideas, he purchased another toy and repackaged it creating a more professional grade DIY radar speed detector.

The process was pretty simple. First, he disassembled the device getting to the Doppler radar system inside, which was similar to the professional radar guns that police officers used. This toy was able to transmit a continuous wave at 10.525GHz, measuring the returning frequency of returning waves that bounced off of moving objects. However, the detection range of this toy was severely limited. [Ken] then upgraded the antenna housing unit with a 3″ diameter acrylic document tube, making the quality look a lot better. After that, the system was attached to a tripod allowing for the device to be easily transported and setup near a busy traffic road, quietly watching the speed of cars driving by.

Continue reading “Hot Wheels Toy Turned Radar Gun”

The Numitron Geekwatch

numitron_uhr_gehause_i

[Johannes] wanted to develop an unusual way to display time on a custom wristwatch. LED’s were too common, and mechanical indicators with small engines were too expansive, but Nixie tubes were just right. His design for the Numitron Geekwatch utilized two boards that were soldered together at a right angle, with a 3D printed enclosure made of semi-transparent PLA.

Future designs of this will improve on the button functionality as well as the housing of the wristwatch to protect the fragile tubes from external forces.

After the break is a video (in German) with [Johannes] going through the steps needed to make one of these of your very own:

Continue reading “The Numitron Geekwatch”

The Hackaday Antiduino Browser Plugin

ArduinoArduinoArduino

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. Continue reading “Voice Controlled RGB LED Lamp”

Pool Cleaning Robot Rebuild Works Like A 3 Dimensional Roomba

Pool Cleaning Robot

Pools are great – Cleaning them, not so much. [Davide Gironi] had a pool cleaning robot, but years of working in a chlorine environment resulted in one of its gaskets failing, destroying the electronics inside. Instead of replacing it, he decided to try his hand at rebuilding it using an AVR ATmega8 microcontroller.

But wait! Wasn’t there a warranty? Expired. Couldn’t he just get a new board from the manufacturer? Costs almost as much as a new robot – time to open it up!

He’s broken the project into two parts, the out of water timer circuitry, and the robot itself. The timer is responsible for converting 220VAC to low voltage DC for the robot, and for turning it on and off based on a schedule (duh). He’s using an ATmega8 based countdown programmable timer which he designed himself for a previous project.

Continue reading “Pool Cleaning Robot Rebuild Works Like A 3 Dimensional Roomba”

Hackaday Links: August 17, 2014

hackaday-links-chain

[wjlafrance] recently picked up an old NeXTstation, complete with keyboard, mouse, display… and no display cable. The NeXT boxes had one of the weirder D-sub connectors a still weird DB-19 video connector, meaning [wjla] would have to roll his own. It’s basically just modifying a pair of DB-25 connectors with a dremel, but it works. Here’s the flickr set.

The guys at Flite Test put on a their first annual Flite Fest last month – an RC fly-in in the middle of Ohio – and they’re finally getting around to putting up the recap videos. +1 for using wacky waving inflatable arm flailing tube men as an obstacle course.

My phone’s battery is dead and my water pressure is too high.

Stripboard drawing paper, written in [; \LaTeX ;].

Remember the Commodore 16? [Dave] stuck a PicoITX mother board in one. He used the Keyrah interface to get the original keyboard working with USB. While we’re not too keen on sacrificing old computers to build a PC, it is a C16 (sorry [Bil]), and the end result is very, very clean.

A Chromecast picture frame. [philenotfound] had a 17″ LCD panel from an old Powerbook, and with a $30 LVDS to HDMI adapter, he made a pretty classy Chromecast picture frame.