Вы находитесь на странице: 1из 40

http://es.makezine.

com/2009/11/16/cmo_hacer_un_comunicador_bluetooth_de_st/
How-To:MakeaStarTrekBluetoothCommunicator
By dianaeng
Posted 11/02/2009 @ 7:54 pm
Category Computers & Mobile, Craft, Fun & Games, Open Source Hardware
Comments0 Comments
Usually I write about ham radio. But looking at communication devices of the future
from the past, I thought it would be fun to have a Star Trek: The Original
Series Bluetooth communicator for a cellphone. I worked with Dave Clausen to
hack one together from a toy Star Trek communicator, a Bluetooth module, and a
microcontroller. Following are the directions and program to make your own. And
of course a video to show how the Star Trek Bluetooth Communicator works.
And if you really want to geek it up, the Star Trek Bluetooth Communicator can
also be used with the Yaesu VX-8R ham radio. It also makes an awesome
gift.Read on for the full tutorial.

Tools and Materials
I got most of my parts from Digi-Key and SparkFun. You can also find them
atJameco.
Toy Star Trek communicator
Guitar pick, small screwdriver, or knife
Perf board (e.g. RadioShack part #276-147)
Hacksaw
File
Drill
Cardboard
Nibbler tool (e.g. RadioShack #29524)
Glue gun
Foam
AVRISP mk2 programmer
FTDI TTL-232R-3V3 USB to 3.3V serial cable
Soldering iron and solder
Pliers
Wire strippers/snips
Resistors:
10K x8
1K x5
Ceramic capacitors:
15pF x2
0.01uF x1
0.1uF x8
1uF x2
Electrolytic capacitors:
220uF x2
270uF (Low ESR) x1
Diodes:
1N5817 x1
ICs:
ATmega168 microcontroller x1
MCP4821 SPI DAC x1
OPA344 op-amp x1
SparkFun WT32 Bluetooth module breakout board x1
MAX756 boost regulator x1
Headers:
23 x1
12 x1
16 right angle x1
LEDs:
3mm red x1
3mm yellow x1
3mm blue x1
Transistors:
2N2222 x1
Miscellaneous:
Momentary switches x2
Electret microphone x1
8MHz crystal x1
8 ohm 1W 28mm speaker x1
Schematic





Download the full resolution schematic
Directions
1. Take apart the communicator.

1a. Take apart the communicator by removing all screws.

1b. Remove all components from the inside of the communicator, leaving wires to
the flip switch (blue) and wires for the battery leads.

1c. Use a guitar pick, small screwdriver, or knife to remove the rotating array.
Then remove the plastic sheet by pushing it out of the silver ring.

1d. Cut a small piece of foam 3/8 thick. Put the foam in the communicator to
secure the buttons.
2. Custom-cut parts to fit in the communicator.

2a. Cut a circuit board to fit inside the front of the communicator using a hacksaw
and a file. Then use a drill to make holes for the plastic screw supports.

2b. Cut a piece of cardboard to the size of the Bluetooth module. Then cut it down
so it fits in the available space inside the top front of the communicator.

2c. Use the nibbler to cut the Bluetooth module to size so it fits in the top front of
the communicator over the cardboard. Dont cut more than necessary. On the
analog side, dont cut further than the STAT pin.
3. Assemble the analog board. (reference schematic)

3a. Start with the switches. These need to be aligned underneath the button holes
in the face of the communicator. The switches also need to be tilted to match the
incline of the face plate.

3b. Add the DAC, op-amp, capacitor, and other passives.

3d. Add the LEDs and microphone.
4. Assemble the Bluetooth module. (reference schematic)

Using a 4-conductor ribbon cable, make connections to the ground, RX, TX, and
Vcc lines of the Bluetooth module. Tie BTEN to Vcc.
5. Assemble the lower digital board. (reference schematic)

5a. Using the same technique as in Step 2, cut out the lower digital board so it fits
snugly into the top half of the middle piece of the communicator. Before adding
components, make cutouts for the large inductor and capacitor so theyll fit in the
closed communicator. Add the microcontroller, regulator, capacitor, inductor, and
other passives.

5b. Add the serial port, power, and ISP programming headers.

5c. Connect the boards together using ribbon cable (as done in Step 4 with the
Bluetooth module). Connect the power and flip switch leads. Connect the speaker
leads to the analog board.

5d. Put the speaker into the rotating array ring and secure it with hot glue.
6. Program the communicator.
6a. Download the source code.

6b. Power up the device and flash the passive firmware.
6c. Connect the serial cable to your computer. Using your terminal program,
configure the Bluetooth module for hands-free device profile. Set the name, pin
code, serial port speed, gain, etc. as specified in the sourcecode zipfile.
6d. Remove the serial cable and flash the production firmware.
6e. Confirm that everything works.

7. Put all components back in the communicator and close the case.

Dave will be adding a power amplifier later to make the audio louder. Check for
updates on his website.
About the Author: Diana Eng is MAKE Onlines ham radio correspondent. She is
a NYC-based fashion designer, a Project Runway alumna, creator
ofFairytaleFashion.org, author of Fashion Geek: Clothes, Accessories, Tech, and
co-founder of NYC Resistor.

Cmo hacer: un comunicador Bluetooth de Star Trek
By vico38, 2009/11/16 @ 6:57 am

Normalmente escribo sobre la radio aficin. Pero al mirar los dispositivos de
comunicacin del futuro del pasado, pens que sera divertido tener un comunicador
Bluetooth de la serie original Star Trek como telfono celular. Trabaj con Dave Clausen
para hackear juntos un comunicador de juguete de Star Trek, un mdulo de Bluetooth y
un microcontrolador. Lo siguiente son las instrucciones y el programa para hacer el tuyo.
Y, por supuesto un vdeo para mostrar cmo funciona comunicador Bluetooth de Star
Trek.
Y si realmente quieres modernizarlo, el comunicador Bluetooth de Star Trek tambin se
puede utilizar con el Yaesu VX-8R de radio aficionados. Tambin sirve como un regalo
increble. Sige leyendo para tener el tutorial completo.
Herramientas y materiales:
Obtuve la mayor parte de las piezas en Digi-Key y SparkFun. Tambin puedes
encontrarlos enJameco.
Juguete comunicador Star Trek.
Espiga, destornillador pequeo o un cuchillo.
Tarjeta perforada (por ejemplo, RadioShack # 276-147).
Sierra.
Lima.
Taladro.
Cartn.
Herramienta de Nibbler (por ejemplo, RadioShack # 29524).
Pistola de pegamento
Espuma.
Programador AVRISP mk2
Cable serial FTDI TTL-232R-3V3 USB a 3.3V
Cautn y soldadura.
Alicates.
Pelacables / tijeras.
Resistencias:
10K x8
1K x5
Capacitores de cermca:
15pF x2
0.01uF x1
0.1uF x8
1uF x2
Capacitores electrolticos:
220uF x2
270uF (Low ESR) x1
Diodos:
1N5817 x1
Circuitos integrados:
Microcontrolador ATmega168 x1
MCP4821 SPI DAC x1
OPA344 op-amp x 1
Tablero de desglose para Bluetooth WT32 de SparkFun x1
Regulador de impulsar MAX756 x1
Cabeceras:
23 x1
12 x1
16 ngulo recto x1
LEDs:
3mm rojo x1
3mm amarillo x1
3mm azul x1
Transistores:
2N2222 x1
Varios:
Push Button (interruptores momentneos) x2
Micrfono Electret x1
Crystal 8MHz x1
Bocina de 8 ohmios 1W 28mm x1
Esquema:

Descarga la resolucin esquemtica completa
Instrucciones
1. Desarmar el comunicador.

1a. Desarma el comunicador retirando todos los tornillos.

1b. Saca todos los componentes del interior del comunicador, dejando slo los cables de
la tapa (azul) y los cables de la batera.

1c. Utiliza una espiga, destornillador o un cuchillo para quitar la "matriz de rotacin". A
continuacin, retira la lmina de plstico empujando hacia fuera del anillo de plata.

1d. Corta un pedazo pequeo de espuma de 3 / 8" de espesor. Coloca la espuma en el
comunicador para asegurar los botones.
2. Cortes personalizados para encajar las piezas en el comunicador.

2a. Corta una placa de circuito para que encaje dentro de la parte delantera del
comunicador utilizando una sierra y una lima. A continuacin, utiliza un taladro para hacer
los agujeros para los soportes de plstico.

2b. Corta un pedazo de cartn con el tamao del mdulo de Bluetooth. Luego lo crtalo
de modo que quepa en el espacio disponible dentro de la parte frontal superior del
comunicador.

2c. Usa la nibbler para cortar el mdulo Bluetooth del tamao correcto de modo que
quepa en la parte frontal superior del comunicador en el cartn. No cortes ms de lo
necesario. En la parte analgica, no cortes ms all del pin STAT.
3. Monta la placa analgica. (referencia esquemtica)

3a. Comienza con los interruptores. stos deben estar alineados debajo de los orificios de
los botones en la cara del comunicador. Los interruptores tambin tienen que estar
inclinados para que coincidan con la inclinacin de la cara de la placa.

3b. Aade el DAC, el amplificador operacional, un capacitor y otros pasivos.

3d. Aade los LEDs y un micrfono.
4. Monta el mdulo Bluetooth. (referencia esquemtica)

Usando un cable de cinta de 4 conductores, haz conexiones a tierra de las lneas RX, TX
y de VCC del mdulo Bluetooth. Une BTEN a Vcc.
5. Monta la placa inferior digital. (referencia esquemtica)

5a. Utilizando la misma tcnica que en el paso 2, corta la parte inferior del tablero digital
de manera que encaje perfectamente en la mitad superior de la parte media del
comunicador. Antes de aadir componentes, haz recortes para la bobina y el capacitor
para que quepan en el comunicador cerrado. Aade el microcontrolador, el regulador,
capacitor, inductor y otros pasivos.

5b. Agrega el puerto serial, la alimentacin y los encabezados de programacin ISP.

5c. Conecta las placas juntas entre s mediante cable de cinta (como se hizo en el paso 4
con el mdulo Bluetooth). Conecta la alimentacin y voltea los cables de los interruptores.
Conecta los cables de la bocin
a a la placa analgica.

5d. Coloca la bocina en la "matriz de rotacin del anillo" y asegralo con pegamento
caliente.
6. Programa el comunicador.
6a. Descarga el cdigo fuente.

6b. Enciende el dispositivo y el firmware pasivo.
6c. Conecta el cable serial a tu computadora. Usando tu programa de terminal,
configurara el mdulo Bluetooth para el perfil manos libres. Establece el nombre, cdigo
de pines, la velocidad del puerto serial, la ganancia, etc. como se especifica en el archivo
zip del cdigo fuente.
6d. Retira el cable de serial y el firmware de produccin.
6e. Confirma que todo funciona.

7. Pon todos los componentes de nuevo en el comunicador y cierra el estuche.

Dave despus estar agregando un amplificador de potencia para hacer el sonido ms
fuerte. Busca actualizaciones en su pgina web.
Sobre la autora: Diana Eng es una radioaficionada corresponsal en lnea de Make. Ella
es una diseadora de moda de la ciudad de Nueva York, una alumna de Project Runway,
creadora de FairytaleFashion.org, autora de la Moda Geek: ropa, accesorios, tecnologa y
cofundadora de NYC Resistor.
http://es.makezine.com/2009/11/16/cmo_hacer_un_comunicador_bluetooth_de_st/

Вам также может понравиться