Interview with Bug Labs
- by Victor Agreda, Jr. on Jul 31st 2008 2:00PM
- miscellaneous, geek it yourself, electronics
I spoke to Bug Labs founder Peter Semmelhack about what the company is up to, and how the future of DIY is shaping up.
Posts with tag electronics
Salvaging electronic parts is a must for any DIY'er. You save big on shipping charges, and recycling is good for the environment. Hack-a-day dissected an old computer mouse and found some useful components.
This article continues a series about building a DIY digital audio recorder. Inspired by this microcontroller audio project [via], I set out to build a simple digital recording device. I chose Texas Instrument's MSP430 microcontroller for this project because it's fast (16 MHz), it's cheap ($1), and it's very low power. Read the first part, and the second part.



Recently, here at DIY Life, Ian Lesnet has written some tutorial posts dealing with microcontrollers: devices that essentially act as the "brain" of a small electronics project.
Now Annie Scott, of our sister site, Styledash, has written about a microcontroller called the Lilypad Arduino. On the Arduino site, the 2" wide flower-shaped board is described as "a microcontroller board designed for wearables and e-textiles. It can be sewn to fabric and similarly mounted power supplies, sensors and actuators with conductive thread."
This is all very technical, but in practical terms, what does it mean? Among other things, it's a (relatively) simple way to make hand-washable t-shirts that light up or sing when you go into a dark room, or when you move. Read more about the Lilypad Arduino, including where to purchase it and how to use it, after the break.
Continue reading Pretty Lilypad Arduino microcontroller for wearable electronic art
My sister sent me her iPod telling me it's locked up: the hold button switch stopped working. It was stiff and felt like a piece of grit was in the switch. With the hold switch broken, all the other buttons stopped working as well, even while the screen indicated that the device was on.
Microcontroller audio
There some great resources on the web to get us started with microcontroller audio.
This series of articles on Arduino audio (part 1, part 2, DAC options) gives a fantastic introduction to the theory side. There's tons of great stuff in these pages that I won't duplicate here.
Another project feeds audio samples into the microcontroller from a PC serial port. The microcontroller is like a simple PC sound card, it's not capable of independent operation. This project, and the great video, inspired me to design this digital audio recorder.
TI and ATMEL have application notes detailing designs for simple digital audio recorders. TI's design[pdf] records 12 seconds of low quality audio to the flash program memory of an MSP430. It uses a specialized chip to create the audio signal, complicating the design. A great TI app note on speech compression[pdf] also has some interesting support circuitry for digital audio. The ATMEL digital sound recorder[pdf] uses a small external memory chip to store a few seconds of audio.
Pulse-width modulated audio synthesis
The cheapest, easiest way to generate audio on a modern mirocontroller is to use a hardware pulse-width modulator (PWM). A PWM is a circuit that generates a repeating time period (called the period), and turns on a switch during a percentage of that time period (called the duty cycle). This happens so fast that only the average value of the on and off periods is measurable. Different audio tones can be generated by varying the duty cycle.
For more about pulse-width modulation, see my previous projects: Make a USB color changing light, and Show PC stats on analog gauges.
This diagram gives an overview of the design.


Do Life! DIY Life highlights the best in "do-it-yourself" projects.
Here you'll find all types of projects, from hobbies and crafts to home improvement and tech.
| # | Contributor | Posts | Cmts |
|---|---|---|---|
| 1 | Erin Loechner | 43 | 0 |
| 2 | Diane Rixon | 21 | 3 |