Making A Line-following Toy Into A Programmable Robot

[Eric Gregori] picked up this little yellow robot as a kit build. It has a single PCB inside that has a pair of IR emitters and detectors pointed downward at the front of the robot. It is able to follow a dark line on a light surface based on how the infrared beam reflects back to the detector. But it’s a one-trick pony that [Eric] wanted to make into a programmable robot.

The kit came with a schematic, which makes the process of patching into its logic quite easy. There are two motors, each with a driver circuit made up of a pair of transistors and one flyback diode. This means the motors can only move in one direction, but they also only take one logic connection to control. Instead of populating the transistor that usually connects the IR receiver to the motor driver, [Eric] soldered jumper wires from each to an MSP430 chip (the G2231 that came with his Launchpad).

As you can see in the clip after the break, the first version of the code he wrote makes the robot follow a line as it would if it had not been altered. But there’s still plenty of programming space and several free I/O pins for future improvements.

Continue reading “Making A Line-following Toy Into A Programmable Robot”

Using An MSP430 For Time Lapse Photography

vistaquest_keychain_timelapse_msp430

Hackaday reader [onefivefour] had an old VistaQuest VQ1005 keychain camera kicking around, and wanted to do something useful with it. A while back he hooked up a 555 timer and did a bit of time lapse photography, but he wanted more control over the process. Specifically, he desired the ability to tweak the delay between shots in a more granular fashion, as well as way to prevent the VistaQuest from going to sleep after sitting idle for 60 seconds.

His weapon of choice to get this task done was an MSP430, since the microcontroller can be found quite cheaply, and because it is relatively easy to use. He added a few header pins to the LaunchPad board wiring them up to the camera’s trigger as well as the on/off switch. When the wire connected to the trigger is pulled low, the camera snaps a picture. The wire connected to the on/off switch is always held low, ensuring that the camera is on and ready to go whenever it’s time to take a shot.

It’s a relatively simple project, but definitely useful. While there are many ways to build an intervalometer, the MSP430 is a great platform to use, especially for beginners.

Stick around to see a quick video [onefivefour] put together, showing off his time lapse rig’s capabilities.

Continue reading “Using An MSP430 For Time Lapse Photography”

RGB LED Spectrum Analyzer Coffee Table

rgb_led_spectrum_analyzer_coffee_table

This year, students working for Texas Instruments as part of their Co-op program were challenged to construct a project around the company’s MSP430 microcontroller. A team of three students, [Max Thrun, Mark Labbato, Ian Cathey] decided to build something that would fit perfectly in any college student’s dorm room – an RGB LED coffee table.

We’ve covered RGB LED tables in the past, but as far as we can tell this is the first MSP430 based unit we’ve seen. Microcontroller aside, the table features a lot of items that are considered “standard equipment” when it comes to these sorts of living room LED installations. The trio installed 128 RGB LEDs into their table, isolating each one using a wooden grid, and used some frosted glass to diffuse the display a bit.

What really makes this table stand out is the software. The team wrote an application that creates a Fast Fourier Transform of whatever music is being played, in order to find beats and generate real-time visualizations for their table. The result is a pleasing display that’s sure to be a hit at parties.

Check out the video below to see their creation in action.

Continue reading “RGB LED Spectrum Analyzer Coffee Table”

DIY Wiper Speed Control And Collision Avoidance

ir_sensor_rain_detection

On many new cars, automatic wiper speed control can be had as an upgrade, though most cars do not offer front-end collision prevention at all. [Rishi Hora] and [Diwakar Labh], students at the Guru Tegh Bahadur Institute of Technology in New Delhi, developed their own version of these features, (PDF warning, skip to page 20) which they entered into last year’s Texas Instruments Analog Design Contest. Under the guidance of professors [Gurmeet Singh] and [Pawan Kumar], the pair built the systems using easily obtainable parts, including of course, an MSP430 microcontroller from TI.

The collision prevention system uses a laser emitter and an optical detector to estimate the distance between your car and the vehicle in front of you, sounding an alarm if you are getting too close. In a somewhat similar fashion, the wiper speed control system uses an IR emitter and detector pair to estimate the amount of water built up on the windshield, triggering the wipers when necessary.

While not groundbreaking, the systems would be quite handy during monsoon season in India, and seem easy enough to install in an older vehicle. The only thing we’re not so sure about is pointing lasers at cars in traffic, but there are quite a few available alternatives that can be used to measure distance.

Continue reading to see a video walkthrough and demonstration of both systems.

Continue reading “DIY Wiper Speed Control And Collision Avoidance”

MSP430-based Palm Size Quad Copter

palm_sized_quadcopter_msp430

[Thanh] has spent some time flying quad-copters measuring 12” motor to motor, but wanted to build something smaller so that he could fly indoors. Instead of building just one, he actually constructed five different quad-copters, with motor to motor arm spans ranging from 10” to just 3”.

In his forum post, he highlights the construction process of his 10” copter, covering each step in great detail. While he breaks down his component lists into two categories based on motor to motor span, the one common item is the TI MSP430-based controller board. In particular, he used the eZ430-RF2500 development kit, which has the added benefit of a built-in 2.4 GHz wireless radio. His quad-copter uses a Wii Motion Plus gyro board to help keep it aloft, as well a handful of other components which should be pretty familiar to most of our readers.

It’s great to see the construction broken down in such detail, we imagine it will be a great resource for anyone else looking to build their own quad-copter.

Stick around to see a quick video demonstration of his mini quad-copter in action.

[Thanks, Panikos]

Continue reading “MSP430-based Palm Size Quad Copter”

Building An Up-to-date MSPGCC Toolchain

[Sergio Campamá] wrote in to tell us he’s assembled a guide for compiling the latest release of MSPGCC. This is a cross-compiling tool chain for the popular MSP430 line of microncontrollers. We used a version available from the Ubuntu repositories when developing with the TI Launchpad and the eZ430-F2013.

Installing from repositories is easy, but you don’t get the newest features and often newer hardware isn’t supported. [Sergio] reports that the newest version, called Uniarch, pulls source code and header files from the middle of this month and supports over 300 devices. In fact, it specifically outlines the goal of making new hardware easier to incorporate than with previous versions. He’s tailored this guide specifically for Ubuntu but while we were wading through a Google search we also found a page that outlines compilation for OSX.

We didn’t really notice before, but GitHub sure does make those README.md files look nice when viewed on the web, doesn’t it?

Use FPGAs The Easy Way With Alien Cortex AV

alien_cortex_av_fpga_board

Hackaday reader [Louis] wrote in to call our attention to a neat project over at Kickstarter that he thought would interest his fellow readers. The AlienCortex AV is a pre-built FPGA board from [Bryan Pape] with gobs of ports and a ton of potential. At the heart of the board is an Xilinx PQ208 Spartan 3e 500k FPGA, which can be configured to perform any number of functions. The board sports a healthy dose of analog and digital I/O pins as you would expect, along with PS/2 inputs, VGA outputs, and even a pair of Atari-compatible joystick ports.

The AlienCortex software package allows users to easily load projects into the FPGA, which can run up to four different emulated microcontrollers at once. The software comes with half a dozen pre-configured cores out of the box, with others available for download as they are built. The default set of cores includes everything from a 32-channel logic analyzer, to a quad processor Arduino-sketch compatible machine.

Now, before you cry foul at the fact that he’s emulating Arduinos on a powerful and expensive FPGA, there’s nothing stopping you from creating an army of whatever microcontrollers you happen to prefer instead. We’re guessing that if you can run four Arduinos on this board at once, a good number of PICs could be emulated simultaneously alongside whatever other uC you might need in your next robotics project. A single board incorporating several different microcontrollers at once doesn’t sound half bad to us.