Sei sulla pagina 1di 33

What's all this?

This instructable will explain how to build a fairly basic but working spectrophotometer out of easily sourceable parts. Of course, this device is nothing compared to a commercial spectrophotometer, but it will allow the builder to understand how such a device works. Huh? What are you talking about?! A spectrophotometer measures the amount of light that a certain sample absorbs. The basic principle:

A beam of light passes through a prism or diffraction grating. Out of the resulting spectrum, a certain (range of) wavelength(s) gets selected by sending the light through a slit. The light passes through the sample and hits a detector.

This way, one can build a "spectrometric fingerprint" of a certain sample that will depend on the molecules in the sample.

Cool, let's do it! I'd once again like to emphasize that this device is certainly not to be compared to a commercial system, but if you're looking for a fun project that will enable you to learn something more about the workings of a spectrophotometer, this project is for you!

Step 1: Sourcing the parts

Most parts are fairly easy to obtain. You will need: For the stepper circuit:

A stepper motor an Arduino (or a stepper driver circuit) 2x 10k resistor 2x 1k resistor L293D H-Bridge 2x NPN transistor (I used the BC547A) A power supply

For the detection and amplification circuit:


an op-amp (e.g. TL081) LDR 1x 2k2 resistor 1x 4k7 resistor 1x LED

General parts

A base (some kind of board such as a cutting board to mount everything on) Cuvette Diffraction grating, CD or DVD Lightbulb and / or white LED Metal or cardboard plaques Some connectors

Some pushbuttons

Step 2: Bring on the photons!

Light source First of all, we need a light source. Some possibilities include a small lightbulb or white LED. I installed both, so I could experimentally decide which one was best suited for my purposes. To construct the light source assembly, find some piece of plastic (or any other material, for that matter) and glue a bulb socket to it. For the LED, find some kind of connector (I cut off part of and old IDE-connector) and solder some wires to it. Also include a 2k2 resistor in series with the LED to limit the current. Glue the LED-connector somewhere near the bulb, and put in a LED.

Step 3: Diffraction

Show All 7 Images Splitting the light To be able to select a certain wavelength (the color of light depends on its wavelength) we first need to split the light into a spectrum. This can be accomplished by a diffraction grating. Since most people don't have diffraction gratings lying around the house, a CD can be used as well. Take a look here for some background information. Note that a CD does not exactly produce an even spectrum, so it'll give nowhere near as accurate results as with a "real" diffraction grating.

Selecting the wavelength Since we want to measure the absorbance of the sample at a certain wavelength (or in this case, range of wavelengths) we need to be able to select a certain part of the spectrum. This can be accomplished with a "slit", i.e. a sheet of cardboard or metal with a narrow slit in it. To choose which part of the spectrum passes through the slit we can vary the angle with which the light hits the CD. I chose to use a stepper motor because it can be turned in discrete steps. Driving the stepper The stepper motor can easily be driven with an Arduino board. Construct the bipolar stepper driving circuit found here and use the included Arduino-code "spectrostepper.pde", the motor can be controlled by two pushbuttons. Construct the driver circuit. Then, add pushbuttons by connecting one leg of a 2k2 resistor (pulldown resistor) to ground, connect the other leg to one leg of the pushbutton AND to a digital input on the Arduino. Then, connect the other leg of the pushbutton to +5V from the Arduino. Connect the motor itself to a power source, load the sketch in the Arduino and drive the stepper! If everything went right, the motor should turn 1 step when you push a button; direction depending on which button you press. Bringing it together Once you got the stepper going, connect the CD to the motor. (I, once again, used hot glue) spectrostepper.pde1006 bytes

Step 4: Selecting the wavelength

The slit To accurately select a very small section of the spectrum, one would have to make an extremely narrow slit. Since this is very hard to do at home, I chose to make two slits instead that are not 100% aligned, so only a very narrow band of light can pass through. Make a small slit in a piece of metal or cardboard. (I used the grinding wheel attachment of my trusty Dremel 4000) Then, with the light source and CD in place, project a spectrum onto the board and make sure that all parts of the spectrum can be aligned with the slit, depending on the CD's angle. Now glue the board to the base. Make a slit in a second piece of material, and align it with the first slit, so that only the narrowest band of light can pass through. Also it's best to shield the light source from the rest of the device using a piece of metal or cardboard, so that only the diffracted light will hit the slit.

Step 5: Detecting the light

Amplification circuit To detect the light that passes through the sample, we're going to use an LDR, or LightDependent Resistor. Though it would be possible to obtain readings by connecting an ohm-meter straight to the LDR, it probably is a better idea to construct a basic amplifier allowing us to use a voltmeter since this will provide bigger differences between slight changes in detected light intensity. Assemble the amplifier according to the circuit. I used a TL081 opamp. Then measure the voltage between 0V and Output; this will vary depending on the light falling onto the LDR. Putting the "L"in LDR Place a cuvette or test tube just behind the slit. Now, glue the LDR in place so that the light passing through the cuvette will hit the LDR.

Step 6: Let's measure!

Working in the dark Because the LDR reacts to light, you'll have to make sure to work in as dark an environment as possible to prevent any stray light from hitting the detector. You could put the whole device in a dark box, or darken the room you're working in. Blank measurements Since the LDR reacts differently to different wavelengths of light, we need to make blank measurements before we can go any further. To do this, fill the cuvette with distilled water (or any other solvent you plan to use) and note the voltage reading for each wavelength or light color you pass through the cuvette. Real measurements

After the blanks have been measured, fill the cuvette with the solution you want to measure. Then, for each wavelength or light color, note the voltage reading. Be sure to use the same light color as you did during the blank measurements. (i.e. make sure that the CD is in the same angle and / or that the color of the light passing through the cuvette is the same as during the blank measurements) Now you can calculate the absorbance, according to the Lambert-Beer law. A = log (I0 / I) where I0 is the intensity of the light falling into the cuvette (i.e. the blank) and I is the light passing through the sample. (the attentive reader will notice that the multimeter always reads 8.16 on the pictures; this is because the photographs were taken in daylight rather than a pitch black room)

Step 7: Some results

Measuring dyes As a first test, I decided to measure some samples of food coloring and methylene blue. I don't have a lot of data points because the stepper motor I'm using takes rather big steps, resulting in rather big wavelength-jumps. Also, because the unit is not calibrated in any way, I have no way of telling exactly which wavelength I'm measuring at any point. The only cue I have is the color of light, which can roughly be matched to an approximate wavelength. As you can see, the results aren't all that bad, considering the very low number of measurements taken. It's clear that the yellow dye does not absorb much light in the green/yellow wavelength region. The blue dye seems to absorb anything but blue, and the green dye has an affinity for blue and red light, letting green pass through.

Step 8: Afterthoughts / possible improvements

Although I'm quite pleased with the results so far, some steps can be taken to improve the device.

Using a stepper motor with very small steps (to increase control over the wavelength) Using a real diffraction grating instead of a CD (to improve the spectrum) Calibrating the device by sending light of known wavelengths through the detector ...

All in all, it's been a very worthwhile project and I will probably continue to work on it to try and improve the device as much as possible! I would suggest that you use a dc motor rather than a stepper for a more continuous rendering of the test samples spectrum. Limit switches can be used to control its min and max movements. Also running the motor at a slow speed may help better detect narrow peaks. May be adding another amplifier stage would also increase the instruments sensitivity. One can use the sun as a light source to get certain known spectral lines ie.,ne, na, h, for calibration. Or use the sodium lines from phoresece lights, or those from neon lights. Thanks for you constructable. bob AlfonsVH (author) says: Jan 10, 2011. 6:43 AM You make some very good points, thanks! I'll look into it. crudders says: Mar 20, 2012. 3:49 PMReply Love this project, but why not read the ldr with the arduino, and get it to send the data back to the pc ? That would make it fully automated. AlfonsVH (author) says: Mar 20, 2012. 3:57 PMReply Very good point! I haven't had the time so far to improve this project but I'll put it on my to-do list for the (far) future! Eurober says: Aug 22, 2011. 3:17 PMReply You could explore the possibility of using a RGB led as light source (Cost ~ $2.00). By digitally selecting the combination and the strenght of the three fundamental colors you could generate almost a continuous spectrum without the complication of a mechanical device like the motor. hanley says: Jan 9, 2011. 3:23 PMReply great project!

AlfonsVH (author) says: Jan 10, 2011. 6:44 AMReply Thanks! Master Forge says: Dec 29, 2010. 8:08 PMReply Great instructable. There are inexpensive diffraction grattings at Edmund Scientific. Not like the ones we use in the laboratory instrumsntation, but quite fair for this kind of project. jam BD says: Dec 22, 2010. 3:13 PMReply Very nice idea. But is a piece of CD the best way of diffusing the light, because the spectrum created isn't perfect... AlfonsVH (author) says: Dec 23, 2010. 3:01 AMReply No, like I mention in step 3 / "splitting the light" a CD isn't ideal. A proper diffraction grating would be better, but is harder to find and much more expensive.

-------------------------------------------------------------------------------------------------------------------Esta instructable explicar cmo construir un espectrofotmetro bastante bsico pero trabajar con piezas fcilmente sourceable. Por supuesto, este dispositivo no es nada en comparacin con un espectrofotmetro comercial, pero permitir que el constructor de entender cmo tal dispositivo funciona. Eh? De qu ests hablando? Un espectrofotmetro mide la cantidad de luz que absorbe una determinada muestra. El principio bsico: Un haz de luz pasa a travs de un prisma o una rejilla de difraccin. Fuera del espectro resultante, un cierto (rango de) la longitud de onda (s) es seleccionado mediante el envo de la luz a travs de una hendidura. La luz pasa a travs de la muestra y realiza un detector. De esta manera, se puede construir una "huella de espectrometra" de una muestra determinada que depender de las molculas en la muestra.

Enfriar, vamos a hacerlo! Haba una vez ms hacer hincapi en que este dispositivo no es ciertamente para ser comparado con un sistema comercial, pero si usted est buscando un proyecto divertido que le permitir aprender algo ms sobre el funcionamiento de un espectrofotmetro, es este proyecto para usted! Paso 1: Abastecimiento de las partes motor.jpg La mayora de las piezas son bastante fciles de obtener. Usted necesitar: Para el circuito de paso a paso: Un motor paso a paso un Arduino (o un circuito de control paso a paso) Resistencia de 10k 2x 2x resistencia de 1k L293D H-Bridge 2x NPN transistor (yo us el BC547A) Una fuente de alimentacin Para la deteccin y el circuito de amplificacin: un amplificador operacional (por ejemplo TL081) LDR 1x resistencia 2k2 1x resistencia 4k7 1x LED Partes generales Una base (una especie de tablero como una tabla de cortar para montar todo en) Cuvette Rejilla de difraccin, CD o DVD Bombilla y / o LED blanco Placas de metal o de cartn Algunos conectores Algunos botones Paso 2: Llevar a los fotones! LEDCON-vooraan.jpg led-connector.jpg led-weerstand.jpg LEDCON-achteraan.jpg

Fuente de luz En primer lugar, se necesita una fuente de luz. Algunas posibilidades incluyen una bombilla pequea o LED blanco. He instalado los dos, as que experimentalmente poda decidir cul era el ms adecuado para mis propsitos. Para construir el conjunto de la fuente de luz, encontrar algn pedazo de plstico (o de cualquier otro material, para el caso) y pegar un casquillo de la bombilla a la misma. Para el LED, encontrar algn tipo de conector (I cort parte de viejo y conector IDE-) y soldar algunos cables a la misma. Tambin incluye un resistor de 2k2 en serie con el LED para limitar la corriente. Pegue el LED del conector en algn lugar cerca de la bombilla, y poner en un LED. Paso 3: Difraccin general-lampmotor.jpg cd.jpg motor.jpg motor-met-plaatje.jpg licht-motor.jpg steppercircuit.jpg Mostrar todas las 7 Fotos La divisin de la luz Para ser capaz de seleccionar una determinada longitud de onda (el color de la luz depende de su longitud de onda), primero tenemos que dividir la luz en un espectro. Esto se puede lograr por una rejilla de difraccin. Como la mayora de las personas no tienen redes de difraccin por toda la casa, un CD puede ser utilizado tambin. Echa un vistazo aqu algo de informacin de fondo. Tenga en cuenta que un CD no es exactamente producir un espectro an, as que voy a dar ni de lejos tan precisos como los resultados de una rejilla "real" de difraccin. Seleccin de la longitud de onda Desde que se quiere medir la absorbancia de la muestra a una determinada longitud de onda (o en este caso, el rango de longitudes de onda) que necesitamos ser capaces de seleccionar una parte determinada del espectro. Esto se puede lograr con una "ranura", es decir, una hoja de cartn o de metal con una ranura estrecha en ella. Para elegir qu parte del espectro pasa a travs de la ranura se puede variar el ngulo con el que la luz incide en el CD.

I eligi utilizar un motor paso a paso, ya que se puede girar en pasos discretos. Conducir el paso a paso El motor paso a paso puede ser conducido con una placa Arduino. Construir el circuito de conduccin paso a paso bipolar encontrado aqu y utilice el Arduino-cdigo "spectrostepper.pde", el motor puede ser controlado por dos pulsadores. Construya el circuito del controlador. A continuacin, aadir pulsadores mediante la conexin de una pierna de un resistor 2k2 (pull-down resistencia) a tierra, conecte la otra pierna a una pierna del pulsador y a una entrada digital en el Arduino. A continuacin, conecte la otra pata del pulsador a +5 V desde el Arduino. Conecte el propio motor a una fuente de alimentacin, cargue el boceto en el Arduino y conducir el paso a paso! Si todo ha ido bien, el motor debe girar 1 paso cuando se presiona un botn, direccin segn el botn que pulse. Trayendo juntos Una vez que tienes el paso a paso de marcha, conectar el CD al motor. (I, una vez ms, que se utiliza pegamento caliente) spectrostepper.pde1006 bytes Paso 4: Seleccin de la longitud de onda spectrum.jpg dremel-slit.jpg slit1.jpg general-lampmotorslits.jpg general-dualslit.jpg La rendija Para seleccionar con precisin una seccin muy pequea del espectro, habra que hacer una rendija muy estrecha. Dado que esto es muy difcil de hacer en casa, decid hacer dos cortes en cambio, que no estn 100% alineados, por lo que slo una banda muy estrecha de la luz puede pasar a travs. Hacer una pequea abertura en una pieza de metal o de cartn. (He utilizado el accesorio muela de mi fiel Dremel 4000) Luego, con la fuente de luz y CD en su lugar, proyectar un espectro en el tablero y asegrese de que todas las partes del espectro se puede alinear con la ranura, en funcin del ngulo del CD. Ahora pega la placa a la base. Haga un corte en una segunda pieza de material, y alinearla con la ranura en primer lugar, de

manera que slo la parte ms estrecha banda de luz puede pasar a travs. Tambin es mejor para proteger la fuente de luz del resto del dispositivo que utiliza una pieza de metal o de cartn, de manera que slo la luz difractada se golpe la hendidura. Paso 5: deteccin de la luz cuvetcloseup.jpg amp-circuit.jpg ldr-connectie.jpg ldr-mounted.jpg ampcircuit.jpg La amplificacin del circuito Para detectar la luz que pasa a travs de la muestra, vamos a utilizar un LDR o Resistor dependiente de luz. Aunque sera posible obtener lecturas mediante la conexin de un ohm-metros directamente a la LDR, probablemente es una mejor idea de construir un amplificador de base que nos permitir utilizar un voltmetro ya que esto proporcionar ms grandes diferencias entre los ligeros cambios en la intensidad de luz detectada. Montar el amplificador de acuerdo con el circuito. He utilizado un amplificador operacional TL081. A continuacin, medir el voltaje entre 0 V y salida, lo que variar en funcin de la luz que incide sobre la LDR. Poner la "L" en la LDR Colocar una cubeta o tubo de ensayo justo detrs de la hendidura. Ahora, el pegamento. LDR en su lugar para que la luz que pasa a travs de la cubeta llegar a la LDR Paso 6: Vamos a medida! general-nogred.jpg Beer_lambert.png Trabajo en la oscuridad Debido a que la LDR reacciona a la luz, usted tiene que asegurarse de que trabajar en un ambiente tan oscuro como sea posible para evitar que entre luz golpeando el detector. Usted podra poner todo el dispositivo en una caja oscura, u oscurecer la habitacin en la que est trabajando pulg Mediciones en blanco Dado que la LDR reacciona de manera diferente a diferentes longitudes de onda de la luz, tenemos que hacer mediciones en blanco antes de que podamos ir ms all. Para ello, llenar la cubeta con agua destilada (o cualquier otro disolvente que va a utilizar) y anote la lectura de voltaje para cada longitud de onda o color de luz que pasan a travs de la cubeta.

Medidas reales Despus de que los blancos se han medido, llenar la cubeta con la solucin que se desea medir. Entonces, para cada color o longitud de onda de la luz, tenga en cuenta la lectura de voltaje. Asegrese de utilizar el mismo color de la luz como lo hizo durante las mediciones en blanco. (Es decir, asegurarse de que el CD se encuentre en el mismo ngulo y / o que el color de la luz que pasa a travs de la cubeta es el mismo que durante la medicin en blanco) Ahora se puede calcular la absorbancia, de acuerdo con la ley de Lambert-Beer. A = log (I0 / I) donde I0 es la intensidad de la luz que cae en la cubeta (es decir, el espacio en blanco) y que es la luz que pasa a travs de la muestra. (El lector atento se dar cuenta de que el multmetro siempre lee 8,16 en las fotos, lo que es debido a que las fotografas fueron tomadas con luz de da en vez de una habitacin completamente negro) Paso 7: Algunos resultados green.png samples.png blue.png amarillo. png Tintes de medida Como primera prueba, me decid a medir algunas muestras de colorante para alimentos y azul de metileno. Yo no tengo una gran cantidad de puntos de datos debido a que el motor paso a paso que estoy usando tiene pasos bastante grandes, lo bastante grandes saltos de longitud de onda. Adems, debido a que la unidad no est calibrada de cualquier manera, no tengo forma de saber exactamente qu longitud de onda que estoy midiendo en cualquier momento. La nica pista que tengo es el color de la luz, que a grandes rasgos se puede adaptar a una longitud de onda aproximada. Como se puede ver, los resultados no son todo lo que est mal, teniendo en cuenta el escaso nmero de mediciones realizadas. Est claro que el tinte amarillo no absorbe tanta luz en la regin de longitud de onda verde / amarillo. El tinte azul parece absorber cualquier cosa menos azul, y el tinte verde tiene una afinidad por la luz azul y roja, dejando pasar a travs de verde. Paso 8: Reflexiones / mejoras posibles think.jpg Aunque estoy muy contento con los resultados hasta el momento, algunas medidas se pueden tomar para mejorar el dispositivo. El uso de un motor paso a paso con pasos muy pequeos (para aumentar el control sobre la longitud de onda)

Uso de una rejilla de difraccin real en lugar de un CD (para mejorar el espectro) Calibrar el dispositivo mediante el envo de luz de longitudes de onda conocidas por el detector ... En definitiva, ha sido un proyecto muy valioso y que probablemente seguir trabajando en l para tratar de mejorar el dispositivo tanto como sea posible! EDIFICIO TIENE FUN! bobschafer dice: 26 de diciembre de 2010. 11:31 AM Te sugiero que utilice un motor de corriente continua en lugar de un paso a paso para una representacin ms continua del espectro de muestras de prueba. Los interruptores de lmite se puede utilizar para controlar su min y max movimientos. Adems de operar el motor a una velocidad lenta puede ayudar a mejorar la deteccin de picos estrechos. Se puede aadir otra etapa de amplificacin tambin aumentara la sensibilidad instrumentos. Se puede utilizar el sol como fuente de luz para conseguir cierta es decir, conocidos lneas espectrales., Ne, na, h, para la calibracin. O utilice las lneas de luces de sodio de phoresece, o los de las luces de nen. Gracias por su construibles. cheln 2 AlfonsVH (autor) dice: 10 de enero de 2011. 6:43 AM Usted hacer algunos puntos muy buenos, gracias! Voy a mirar en l. crudders dice: 20 de marzo de 2012. 3:49 PMReply Me encanta este proyecto, pero por qu no leer el ldr con el arduino, y conseguir que se envan los datos a la PC? Eso hara totalmente automatizado. 2 AlfonsVH (autor) dice: 20 de marzo de 2012. 3:57 PMReply Punto muy bueno! No he tenido tiempo hasta ahora para mejorar este proyecto, pero lo voy a poner en mi lista de tareas pendientes para el futuro (ahora)! 1 Eurober dice: 22 de agosto de 2011. 3:17 PMReply Se podra estudiar la posibilidad de utilizar un RGB LED como fuente de luz (Costo ~ $ 2,00). Por digitalmente la seleccin de la combinacin y la fuerza de los tres colores fundamentales que podra generar casi un espectro continuo sin la complicacin de un dispositivo mecnico como el motor. Hanley dice: 9 de enero de 2011. 3:23 PMReply gran proyecto! 2 AlfonsVH (autor) dice: 10 de enero de 2011. 6:44 AMReply Gracias! Maestro Forge dice: 29 de diciembre de 2010. 8:08 PMReply Instructable Grande. Hay grattings baratas de difraccin a Edmund Scientific. No como los que utilizamos en el laboratorio instrumsntation, pero bastante razonable para este tipo de proyectos.

2 mermelada BD dice: 22 de diciembre de 2010. 3:13 PMReply Muy bonita idea. Pero es un pedazo de CD de la mejor manera de difundir la luz, porque el espectro creado no es perfecto ... 2 AlfonsVH (autor) dice: 23 de diciembre de 2010. 3:01 AMReply No, como he mencionado en el paso 3 / "la divisin de la luz", un CD no es lo ideal. Una red de difraccin adecuada sera mejor, pero es ms difcil de encontrar y mucho ms caro. Acerca de este instructivo

Potrebbero piacerti anche