Onwards and Upwards, Your near space guide

Similar documents
Figure 1. CheapBot Smart Proximity Detector

Figure 1. CheapBot Line Follower

IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015

Line-Following Robot

Main improvements are increased number of LEDs and therefore better temperature indication with one Celsius degree increments.

PS2-SMC-06 Servo Motor Controller Interface

FM RADIO KIT ESSENTIAL INFORMATION. Version 2.0 GET IN TUNE WITH THIS

Bill of Materials: Metronome Kit PART NO

MONO AMPLIFIER KIT ESSENTIAL INFORMATION. Version 3.0 CREATE YOUR OWN SPEAKER DOCK WITH THIS

SoftRock v5.0 Builder s Notes. December 12, Building a QSD Kit

D.I.Y L.E.D CUBE 4X4X4. Level: Intermediate

DIODE / TRANSISTOR TESTER KIT

N3ZI Kits General Coverage Receiver, Assembly & Operations Manual (For Jun 2011 PCB ) Version 3.33, Jan 2012

Circuit Board Assembly Instructions for Babuinobot 1.0

Switcher Assembly guide. Switcher Assembly guide 1. Soldering. 2. Switcher3 vs Switcher2. 3. PCB split.

DIODE / TRANSISTOR TESTER KIT

ESE141 Circuit Board Instructions

PM24 Installation Instructions

Bill of Materials: PWM Stepper Motor Driver PART NO

Class #9: Experiment Diodes Part II: LEDs

SoftRock v6.0 Builder s Notes. April 6, 2006

STEADY HAND GAME WITH LATCHING LED

SoftRock v6.0 Builder s Notes. May 22, 2006

Never power this piano with anything other than a standard 9V battery!

ECE 203 LAB 2 CONTROL FUNDAMENTALS AND MAGNETIC LEVITATION

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

Ten Tec DDS Board Assembly Procedure

Electronic Components

PM124 Installation Instructions. See important note about revisions of this board on the last page.

Practical 2P12 Semiconductor Devices

Experiment 15: Diode Lab Part 1

EE 43 Smart Dust Lab: Experiment Guide

Assembly Instructions for the 1.5 Watt Amplifier Kit

Heartboard PCB Assembly Instructions

Programmable Timer Teaching Notes Issue 1.2

Hendricks QRP Kits The Twofer Rev

Xylophone Teaching Notes Issue 1.3

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT

Build this Direct Digital Synthesizer "Development Kit" By: Diz Gentzow, W8DIZ

16 Bit Micro Experimenter Assembly and Check out Instructions

SSB-MITE Assembly Manual. Copyright David Cripe NM0S The 4 State QRP Group. Introduction

Polyphase network kit

Silicon Pyranometer Smart Sensor (Part # S-LIB-M003)

Patton Robotics, LLC.

Penrose Quantizer Assembly Guide

TV Remote. Discover Engineering. Youth Handouts

Simple LFO Features. 2. Application. 3. Description. Simple and easy to build LFO module for Analog Synthesizers.

Instructions for Building the Pulsed Width Modulation Circuit. MC-12 (DC Motor Controller or PWM) From Electronic Light Inc. (revised kit 5/08)

Operational Amplifiers 2 Active Filters ReadMeFirst

12V Dimmer Kit, version 2

BAT BEACON A project of the Service Kring JOTA-JOTI. Manual Bat Beacon kit.

ANALOG TO DIGITAL CONVERTER ANALOG INPUT

Instructions for Building the Pulsed Width Modulation Circuit. MC-12 (DC Motor Controller or PWM) From Electronic Light Inc. (revised kit 8/08)

LDB-1 Kit Instructions Page 1 of 8

EECE 2413 Electronics Laboratory

The Walford Electronics Ford Receiver Kit Project Construction Manual

Digital Electronics & Chip Design

Elektor Construction Guide TAPIR

THE RING RESONATOR (K-975)

EASY BUILD TIMER KIT TEACHING RESOURCES. Version 2.0 LEARN ABOUT SIMPLE TIMING CIRCUITS WITH THIS

Team Ram-Rod Helios Conceptual Design Review. Aaron Gardiner Tyler Murphy Vivian Phinney Farheen Rizvi Ali Toltz

Electromagnetic spectrum

Ozark Patrol Assembly Manual

Laboratory Activities Handbook

Quantizer step: volts Input Voltage [V]

BAT DETECTOR A project of the Service Kring JOTA-JOTI.

LITTLE NERD v1.1 Assembly Guide

Modifying a USB sound fob to act as a repeater interface for app_rpt

Raygun. Vector Weapon. projects. Raygun vector weapon. Build a mini analog sound-effects circuit. By Symetricolour. Time: 2 4 hours CosT: $15 $20

Tek-Bot Remote Control Transmitter Board Construction

MP573 Assembly guide. Soldering. MP573 Assembly guide PCB split PCB split. Document revision 2.2 Last modification : 22/08/17

V6.2 SoftRock Lite Builder s Notes. November 17, 2006

Construction Guide European Version

QLG1 GPS Receiver kit

Gat ew ay T o S pace AS EN / AS TR Class # 07. Colorado S pace Grant Consortium

COTS ADAPTABLE MODULE FOR ATTITUDE DETERMINATION IN CUBESATS

Installing the Onyx Heated Bed

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor)

Introduction. Circuit diagram

SPACE WAR GUN KIT MODEL K-10. Assembly and Instruction Manual. Elenco Electronics, Inc.

TSL250RD, TSL251RD, TSL260RD, TSL261RD LIGHT-TO-VOLTAGE OPTICAL SENSORS

Find a place where you can work through completion, without disturbing your

Instructions for Building the Pulsed Width Modulation Circuit. MC-12 (DC Motor Controller or PWM) From Electronic Light Inc. (revised kit 10/03/08)

DESIGN OF AN ANALOG FIBER OPTIC TRANSMISSION SYSTEM

2-Terminal Device Characteristics and Diode Characterization

Photops. Photodiode-Amplifier Hybrids

Getting started with the SparkFun Inventor's Kit for Google's Science Journal App

EE320L Electronics I. Laboratory. Laboratory Exercise #4. Diode Rectifiers and Power Supply Circuits. Angsuman Roy

THE AGGRESSOR (K-995)

The SCB-68 is a shielded board with 68 screw terminals for easy connection to National Instruments 68-pin products.

The Tellun Corporation. TLN-861 Dunsel. User Guide, Rev Scott Juskiw The Tellun Corporation

tinycylon Assembly Instructions Contents Written by Dale Wheat Version August 2016 Visit dalewheat.com for the latest update!

Assembly Manual for VFO Board 2 August 2018

Photometer System Mar 8, 2009

IPR LA-3 KIT last update 15 march 06

Activity P55: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Output, Voltage Sensor)

KN-Q10 Assembly Manual

Dual Band Filter Assembly Manual

Workshop Part Identification Lecture N I A G A R A C O L L E G E T E C H N O L O G Y D E P T.

QRPme Crystal Checker Kit Featured in FDIM 2011 Build-Along

Transcription:

The NearSys One-Channel LED Photometer is based on Forest Mims 1992 article (Sun Photometer with Light-emitting Diodes as Spectrally selective Filters) about using LEDs as a narrow band photometer. The One-Channel LED Photometer takes advantage of the behavior of LEDs to create a photometer that while it is not as narrow banded as expensive professional photometers, is narrower than combination photocell or photodiode and theater gel. The result is an affordable way to measure the intensity of sunlight as a function of altitude. This new version of the LED Photometer permits you to select which LED is active and its gain. You can also plug in a small solar cell and measure its output instead of an LED. Onwards and Upwards, Your near space guide Overview of the One-Channel LED Photometer A photometer measures the intensity of light over a narrow band of the electromagnetic spectrum. Typically, high quality photometers use interference filters to isolate very narrow bands of electromagnetic radiation (light). As a result, they can be very expensive instruments. Normally, an LED operates as an emitter of light and that light covers only a narrow band of the electromagnetic spectrum. What Mr. Mims found out is that the silicon chip inside an LED creates a measurable current when light shines upon it and the amount of current is proportional to the intensity of light incident on the LED. This is also true for photodiodes and solar cells. However, unlike a photodiode or solar cell, an LED is only sensitive to light in a narrow band centered around the color of light that it emits. The narrowband of sensitivity and inexpensive nature of LEDs makes them a great way to create photometers.

Figure 1. A completed one-channel LED Photometer with selectable gain and frequency. Parts List Photometer Base C1 220 pf capacitor R1 1kΩ ¼ W resistor (brown, black, red, gold) R2 10MΩ ¼ W resistor (brown, black, blue, gold) R3 1MΩ ¼ W resistor (brown, black, green, gold) R4 100kΩ ¼ W resistor (brown, black, yellow, gold) U1 TLC272 Op-Amp and 8-pin socket J1 2 by 3 pin header Photometer Head 940 940 nm LED T 1-3/4 (infrared) 870 870 nm LED T 1-3/4 (infrared) 660 660 nm LED T 1-3/4 (red) 620 620 nm LED T 1-3/4 (orange) 590 590 nm LED T 1-3/4 (yellow) 500 500 nm LED T 1-3/4 (green) 470 470 nm LED T 1-3/4 (blue) 400 400 nm LED T 1-3/4 (ultraviolet/violet) U1 LM335 J1 2 by 8 pin right angle header J2 1 by 2 pin right angle header 4-pin Easy-Connector J1 1 by 4 pin right angle header

The remaining items are required to complete the NearSys LED Photometer, but they do not have a reference on the PCB. Wire (#24 AWG) Two 2-pin shorting blocks Eight ¼ tall nylon spacers 5mm thick CellFoam 88 sheet (3 by 3 ) Figure 2. The PCBs from left to right are Photometer Head, Photometer Base, and 4-pin Easy-Connector. The three PCBS connect together with #24 AWG wire. Theory of Operation Figure 3. Schematic for the one channel LED photometer. LEDs, which emit specific colors of light, also generate tiny currents when exposed to the frequency of light that they emit. The current output of the LED is proportional to the intensity of the light shining on it. Unfortunately, most microcontrollers cannot measure current directly. However, an Op-Amp configured as a transimpedance amplifier can

convert this current into a voltage. The result is a voltage output that is proportional to the intensity of light shining on the LED, but only within a narrow spectral band. The op-amp in the LED photometer is a TLC272, dual op-amp. Resistors R2, R3, and R4 in the circuit select the gain of the amplifier. In this kit, the resistors have 100kΩ, 1MΩ, and 10MΩ values. C1, the 220 pf capacitor prevents the transimpedance amplifier from oscillating. The output of an LED is strongly dependent on its temperature. Therefore, an LM335 temperature sensor is between the eight LEDs on the Photometer Head PCB. The 1 kω resistor connects the LM335 to five volts. The voltage output of the LM335 is proportional to its temperature. Therefore, by measuring the voltage of the LM335, the temperature of the LEDs can be determined. As you can see, the One-Channel LED Photometer has two outputs, the light sensor and the temperature. To connect the photometer to the Easy Port of a NearSys BalloonSat Mini flight computer, the third PCB of the photometer is a 4-pin Easy-Connector board. When plugged into the flight computer, the Easy-Plug provides the +5V supply and ground needed to power the photometer. The remaining two I/O pins are the output voltages from the photometer. Assembling the NearSys One Channel LED Photometer Figure 4. The One-channel Photometer Base PCB. The right side of the board (as shown above) is the I/O side and the left side is the sensor side of the base board.

Solder the following parts R1 1 kω (brown, black, green, gold) R2 10 MΩ (brown, black, blue, gold) R3 1 MΩ (brown, black, green, gold) R4 100 kω (brown, black, yellow, gold) C1 220 pf J1 2 by 3 header IC Socket Note: Do not insert the TLC272 into the IC socket until after the socket is soldered into the PCB. The IC socket has a notch at the top. Align the notch with the notch in the top silk. The IC socket notch faces the 1kΩ resistor. Cut the #24 AWG wire into eight equal lengths (about six inches long) Strip ¼ inch of insulation from one end of each wire. Insert one wire into each strain relief hole and solder all the wires to the Photometer Base PCB. Note: The strain relief holes are the eight large holes near the two opposite sides of the PCB. The wires pass through the holes from the bottom of the PCB and then bend over to where the bare ends are soldered into the smaller holes near the strain relief holes. Using strain relief prevents normal use from breaking the wires off the PCB. Figure 5. An example of a wire and the strain relief hole. Notice that the wire remains insulated as it passes through the strain relief hole. The only place the wire is bare of insulation is where it is soldered to the inside soldering pad. Insert the TLC272 op-amp into the IC socket (watch the orientation).

Figure 6. Layout of parts for LED Photometer Head. J1 Note: solder the right angle header to the bottom of the PCB J2 1 by 2 pin right angle header Select the 940 nm LED Cut or saw then file the top of the LED to flatten it Smooth the flattened top with finer sandpaper Note: This removes the lens from the top of the LED, making it less sensitive to pointing direction. Slide a nylon spacer over one lead (wire) of an LED (it doesn t matter which one) Note: The spacer keeps the LED above the surface of the PCB. Figure 7. A flat top LED and nylon spacer over one lead. Insert the LED into 940 with the rounded edge of the LED on the pad marked A

Note: The LED is a polarized device. The short lead is normally the cathode of the device. This is also the side of the LED body with the flattened edge. The other lead is the anode and this is the lead that is inserted into the pad closet to the A printed on the PCB. Figure 8. The anode and cathode of an LED. Solder the LED. Repeat for the remaining seven LEDs making sure to solder the proper LED to each pair of pads. Insert and solder the LM335 Strip ¼ inch of insulation off the ends of the four wires on the sensor side of the Main Board Insert the four wires From the Main Board into the Photometer Head PCB, using the strain relief holes Note: Carefully line up the wires between the Photometer Head and the Main Board. The holes are marked G, T, C, and A. G is ground and T is for the temperature sensor. The C and A are for the LED. Making the 4-pin Easy-Connector Insert the 1 by 4 right angle header into the 4-pin Easy Connector printed circuit board and solder Note: The short pins must be soldered to the printed circuit board. Leave the long pins free so they will plug into the flight computer s I/O port. Strip ¼ inch of insulation from the ends of the four wires at the I/O side of the Main Board. These wires are in pads marked +5, T1, T2, and G. Insert the wires into the Easy connector printed circuit board using the strain relief holes. Note: Wire G is soldered to GND, T1 is soldered to I/O-1, T2 is soldered to I/O-4, and +5 is soldered to +5V

Figure 9. The completed 4-pin Easy Connector. Making the Sunshield The sunshield prevents sunlight from warming the LM335 temperature sensor, so it will more accurately measure the temperature of the LEDs. There are two versions of sunshields described below. Figure 10. This pattern, which is 1.4 across, shows the drill pattern for the eight photometer s LEDs and four mounting bolts. Drill eight ¼ inch diameter holes in the sheet of three inch by three inch Styrofoam so the LEDs can look out but the LM335 is protected from exposure to sunlight.. Use hot glue to attach the Styrofoam sunshield to the Photometer Head. The holes permit the LED to look out while shielding the LM335 from direct exposure to the sun. Figure 11. A side view of an older LED Photometer Head with its solar shield in place.

Alternative Sunshield BalloonSat Flight Computers from NearSys come with white plastic lids. The lid functions as a sunshield that can be bolted to a BalloonSat airframe. Drill eight ¼ inch diameter holes in the top of the white plastic lid Drill four 1/8 inch diameter holes in the top of the white plastic lid Install the Photometer Head into the sunshield so that the LEDs stick out of the lid and the LM335 remains beneath the lid Figure 12. The white plastic lid sunshield. Using the LED Photometer The Easy-Connector fits into the Easy-Port of the NearSys BalloonSat flight computers. The pins are oriented properly, so verify the Easy-Plug s +5 pin is plugged into the +5V socket on the BalloonSat Easy. The Flight Computer needs code to digitize the two voltages produced by the photometer. There are two BASIC commands that can do this, which is referred to as analog to digital conversion (ADC). The first converts a 0 to 5 volt signal to an 8-bit value between 0 and 255. READADC 0,B0 The second example converts a 0 to 5 volt signal to a 10-bit value between 0 and 1023. READADC10 0,B0 Which command you use is up to you. Just remember that the 10-bit conversion requires one word (two bytes) of memory to store (as opposed to only one byte of memory to store the 8-bit value). However, the greater resolution afforded by the 10-bit conversion is four times greater than the 8-bit version. With the configuration recommended in these directions, I/O channel A0 will report the temperature of the LEDs. This is important because LEDs are sensitive to their

temperature. Their output voltage decreases as their temperature increases, even while the light intensity remains constant. This means the LEDs will need a temperature adjustment in order for the photometer to give meaningful results for the entire flight. Converting Temperature Signals into Temperatures One volt of the temperature sensor represents 100 kelvins. Use the following calculations to convert the result of the ADC of the temperature signal into the temperature. From the READADC Command Temperature (K) = (ADC Value / 256) X 500 From the READADC10 Command Temperature (K) = (ADC Value / 1024) X 500 Since the kelvin temperature scale is not a common unit for most people, convert the units of kelvins into units of Celsius by subtracting 273. O C = K 273 The Celsius scale can be converted to the Fahrenheit scale two ways. The neatest way takes advantage of the fact that there is 1.8 Fahrenheit degrees for every 1.0 Celsius degrees and that the Celsius and Fahrenheit scales intersect at -40 degrees. With this in mind, the conversion is as follows. O F = (( O C + 40) * 1.8)-40 The LED Output It s not important to convert the LED readings back into a voltage. This is because the conversion doesn t add any new information to the LED reading and may in fact reduce the accuracy of the signals for comparison purposes. It is only necessary to compare the output by dividing it by the original output on the ground. A change in the LED s outputs indicates a change in the intensity of sunlight. However, the results will be more accurate if the temperature of the LEDs is taken into consideration. Temperature Calibration of the One-Channel LED Photometer The easiest way to determine the temperature behavior of the photometer is measure the output of the LED as their temperature changes and the light intensity is kept constant. Since the photometer will be used to measure the intensity of sunlight, this test should be performed outside. Begin by programming a flight computer to record the photometer s temperature and light intensity. Data should be recorded once per second and don t forget that the

program for the BalloonSat Mini must also download the data. Next, find a sunny location that can be reached quickly from the kitchen freezer. At the sunny location, the photometer and flight computer must be held absolutely still as any movement may throw off the calibration. In addition, the location must be dry so that condensation does not form over the photometer s LED. Now chill the photometer in the freezer, making sure frost does not form over the LED. Quickly carry the photometer to the sunny location and begin recording voltages. After recording for a few minutes, stop recording data and download it using the Terminal program in the PICAXE Editor. Then import the data into a spreadsheet. The data will look like the sample below. Temperature Red 109 117 139 136 152 141 158 141 160 140 Table 1. Sample output from a red photometer. After importing into a spreadsheet, create a graph of the data. Temperature is the independent variable (along the x-axis) and the LED output is the dependent variable (yaxis). Figure 13. Graph of the red LED calibration data. Now add a Trendline (linear) and ask that the equation for the Trendline be included into the graph.

Figure 14. Trendline added to the sample calibration data. In the sample data displayed above, the (8-bit) output of the photometer s red LED changes according to the equation, y = 0.244x + 99.018. In this equation, y is the output of the LED and x is the photometer s temperature. Follow the same procedure is using 10-bit data. However, you can only use the 8-bit calibration equation for 8-bit data and the 10-bit calibration equation for 10-bit data. Using the One-Channel LED Photometer After collecting data during a near space mission, download it through the PICAXE Terminal and then import the results into a spreadsheet. Step 1 Use the temperature readings and the calibration equations to calculate the photometer s expected output from the LED at the time the calibration data was collected. Step 2 Divide the LED s actual output to the expected output. This is the ratio of the actual photometer output to the output expected at this temperature. This ratio will be the true output of the photometer. Step 3 Now compare the true output of the photometer during the flight to the initial output on the ground. Do this by dividing the initial output of the photometer into each reading at altitude. The result is a calibrated comparison of how the light intensity changed during the mission. This data should be graphed in relationship to the altitude at which the data was collected.

In most cases, the independent variable (altitude in this case) is plotted along the x-axis. However, the graph is more informative if the altitude is plotted along the y-axis. Options The LED in the One-Channel Photometer will never be insensitive to its pointing direction. Therefore, you will find the intensity data varies as the BalloonSat rotates in relationship to the sun. So what can we do? First, a sun sensor can be combined with the photometer to determine the position of the sun. The flight computer might only collect data at particular orientations of the sun. Second, a diffuser like a ping pong ball could be placed over the sun shield. A diffuser like this will help make the sky look more uniform from the LEDs perspective. Third, data could be collected very rapidly. The data should show a cycle of the photometer rotating to face the sun and then rotating away. The highest value of each cycle could be saved and the rest of the data discarded. Then a comparison of the data will show less variation due to the BalloonSat rotating. Forth, a camera could be incorporated into the BalloonSat. The camera could photograph the pointing direction (relative to the sun) of the BalloonSat. Alternately, the camera could record the angle of a shadow cast by a dowel at each photometer reading. In either case, only data collected while the sun was in the proper location would be kept and the rest discarded. Then a comparison of the data will show less variation due to the BalloonSat rotating. Fifth, commercially available UV-B photodiodes can be purchased for around $100. A photodiode like this could be substituted for an LED to create a photometer capable of detecting changes in the amount of ozone between the photometer and the sun. 23 December 2015