The trials of working with brushless DC motors for the first time.

We’ve all worked with DC motors at some point. Even if you aren’t a big hardware person, you’ve probably at least picked up a motor as a kid and touched a battery to the leads causing it to whir to life. These are usually standard DC motors and not their brushless relatives. Brushless motors require a bit more work since you are manually controlling things that are normally taken care of with the brushes. This article won’t teach you how, rather it will show you the mistakes one person made in his inaugural effort to use them. It is mildly amusing, but the project summary that he’s using them for seems even more interesting.

The job that’s been paying my bills and keeping me away from artsy-fartsy circuits for the past six months involves making a set of these enormous robot doors for a Certain Very Fancy Person’s house. Each door is 13 feet tall, around 7 feet wide, and weighs 1500 pounds. There are 66 of them in said house, and more in the servant quarters(!?!). The circuits on board each door have to handle running an onboard air compressor (which regulates a pneumatic weatherseal) as well as keeping track of temperature to linearize the pressure sensors when the weather gets cold. They also have to charge and maintain sealed lead acid batteries. They have commutated power rails. They have to communicate over said power rails, and do so using an capacitively-coupled data slicer and a proprietary protocol I wrote. This protocol has to be robust enough to bootload the processor over. It’s a proper embedded systems job.

Wow.

[via Adafruit]

Monitor your heartbeat with a webcam and a flashlight

After seeing some heart rate monitor apps for Android which use the camera and flashlight features of the phones, [Tyson] took on the challenge of coding this for himself. But he’s not using a smart phone, instead he grabbed a headlamp and webcam for his heat rate monitor.

To start out he recorded a test video with his smart phone to see what it looks like to cover both the flash LED and camera module with his thumb. The picture is mainly pink, but there’s quite obviously a color gradient that pulses with each gush of blood through his skin. The next task was to write some filtering software that could make use of this type of image coming from a webcam. He used C# to write a GUI which shows the live feed, as well as a scrolling graph of the processed data. He took several tries at it, we’ve embedded one of the earlier efforts after the break.

[Read more…]

Morse Code interpreter

[Sulaiman Habsi] and two classmates put together a Morse Code interpreter as a class project at Sultan Qaboos University. The system listens to a morse code signal using a microphone, then translates that input to text which is displayed on this character LCD.

The breadboarded circuit feeds an audio signal from the microphone, through an OpAmp, to the ADC of an ATmega8 microcontroller. The captured signal is stored as a byte in a special way. The three least-significant bits signify how many total dots or dashes are contained in the character, the remaining bits represent those dots and dashes with zeros and ones. A full description of this process is included in a PDF linked in the article above. As you can see in the video after the break, the hardware waits to process all of the signals once the full message has been received.

This would be a great add-on for a Morse Code practice keyer.

[Read more…]

Digital stethoscope can record, playback, and analyzer heart sounds

It’s somewhat amazing how these rather inexpensive electronics can augment the functionality of a common stethoscope. This digital stethoscope is using audio processing to add the features. A standard chest piece feeds a condenser microphone which is fed through a pretty standard OpAmp circuit which supplies the ADC of an ATmega644. After being digitized, the heart sound can be recorded in ten second increments to a 1 Mb flash memory chip. The data can also be fed to MATLAB via a USB cable in real-time. There it is displayed as a waveform and the heart rate is calculated on the fly. Check  out the video after the break for a great demo of the system.

The picture above shows a set of ear buds used as output. But this is a standard headphone jack, so the heart sounds can be played on speakers which we think would come in handy for teaching purposes. There’s also the option to hook it to a computer input which could be the audio used for a Skype session if a doctor is not close at hand. There is lots of potential here at a fairly low cost and we love that!

[Read more…]

Defying gravity for new user interfaces

[Jinha Lee] at the MIT Media Lab created a new interface allowing new ways to modify and play with 3D objects. It’s called ZeroN, and it’s nothing short of a futuristic device straight out of Star Trek.

ZeroN is simply a platform for levitating a small spherical permanent magnet in 3D space. It does this by mounting a hall effect sensor on an electromagnet. The hall sensor measure the strength of the magnetic field of the ball every few milliseconds and keeps the spherical magnet levitated. To move the object in 3D space, a few webcams track the ball over the platform and tell the electromagnet to move on a CNC-like x y table.

[Jinha] showed off a lot of cool stuff that is possible with the ZeroN; ping-pong is by far the coolest implementation, but it’s also possible to use the magnetic sphere to demonstrate n-body gravity or as a camera flying around a digital scene.

It’s a really amazing piece of work with an exceptional demo video. You can check that video out after the break. Thanks, [ferdinand] for sending this one in.

[Read more…]

Pleasing results from a CNC mill project

[Roy] is getting to the end of his second CNC mill project and finally seeing some results. Here you can see a bear he milled in some floural foam.

The project started out as an Arduino-based pen plotter. It move the pen along one axis, and the drawing surface along another, with the third axis allowing the pen to be lifted and repositioned. With that in his back pocket he went all out and began what he calls the Mark II. He used T-slot aluminum for the frame, which really helped when it came to aligning the linear rod supports for each axis. After a lot of drilling, and tapping he managed to bring each axis on line one at a time. A pre-fab CNC driver kit drives the stepper motors, making them groan as they do their work. hear it for yourself in the test video after the break were the machine is first tested as a pen plotter.

[Read more…]