Skip to content

Instantly share code, notes, and snippets.

@whyisjake
Created August 16, 2013 21:40
Show Gist options
  • Save whyisjake/6253719 to your computer and use it in GitHub Desktop.
Save whyisjake/6253719 to your computer and use it in GitHub Desktop.
{
"device": "Arduino",
"url": "http://makeprojects.com/Project/Build+an+LED+Photometer/3021/1",
"guide": {
"author": {
"text": "Eric Weinhoffer",
"userid": 15040
},
"categories": [
"Arduino",
"Outdoors"
],
"conclusion": "",
"difficulty": "Moderate",
"documents": [],
"flags": [],
"guideid": 3021,
"image": {
"imageid": 55261,
"text": "http://guide-images.makeprojects.org/igi/tadAQRGFeJ5ZtRal"
},
"introduction": "<p>Did you know that, although they're great for emitting light, LEDs are also capable of absorbing light? This idea is leveraged in the fantastic Maker Press book, <em><a href=\"http://www.makershed.com/Atmospheric_Monitoring_with_Arduino_PDF_p/emamwa.htm\">Atmospheric Monitoring with Arduino</a></em>, which goes into depth on using a variety of LEDs to detect light in the atmosphere. With a few simple components, you can build a device that's capable of detecting sunrises, sunsets, and even haze and water vapor levels in the atmosphere.</p>\n\n<p>All parts needed for this build are included in the <a href=\"http://www.makershed.com/LED_Atmospheric_Analyzer_Kit_p/msatm1.htm\">LED Atmospheric Analyzer Kit</a>, except an Arduino, USB Cable and jumper wires.</p>\n\n<p>This project is pulled directly from the <em>Atmospheric Monitoring with Arduino</em> book, and begins on Page 51.</p>",
"introduction_rendered": "<p>Did you know that, although they're great for emitting light, LEDs are also capable of absorbing light? This idea is leveraged in the fantastic Maker Press book, <em><a href=\"http://www.makershed.com/Atmospheric_Monitoring_with_Arduino_PDF_p/emamwa.htm\">Atmospheric Monitoring with Arduino</a></em>, which goes into depth on using a variety of LEDs to detect light in the atmosphere. With a few simple components, you can build a device that's capable of detecting sunrises, sunsets, and even haze and water vapor levels in the atmosphere.</p>\n\n<p>All parts needed for this build are included in the <a href=\"http://www.makershed.com/LED_Atmospheric_Analyzer_Kit_p/msatm1.htm\">LED Atmospheric Analyzer Kit</a>, except an Arduino, USB Cable and jumper wires.</p>\n\n<p>This project is pulled directly from the <em>Atmospheric Monitoring with Arduino</em> book, and begins on Page 51.</p><div class=\"parts\"><strong>Relevant parts</strong><ul><li><a href=\"http://www.radioshack.com/product/index.jsp?productId=12268262\">Arduino Uno microcontroller, Rev. 3</a></li><li><a href=\"http://makeprojects.com/Item/Breadboard_jumper_wires_or_solid_core_22AWG_wire\">Breadboard jumper wires, or solid core 22AWG wire</a></li></ul></div>",
"locale": "en",
"parts": [
{
"text": "Arduino Uno microcontroller, Rev. 3",
"notes": "",
"url": "http://www.radioshack.com/product/index.jsp?productId=12268262",
"thumbnail": ""
},
{
"text": "Breadboard jumper wires, or solid core 22AWG wire",
"notes": "",
"url": "http://makeprojects.com/Item/Breadboard_jumper_wires_or_solid_core_22AWG_wire",
"thumbnail": ""
}
],
"prereqs": [],
"steps": [
{
"title": "",
"lines": [
{
"text": "Make sure you have all the parts needed to build the photometer. Everything's included in the <a href=\"http://www.makershed.com/LED_Atmospheric_Analyzer_Kit_p/msatm1.htm\">LED Atmospheric Analyzer Kit</a> except an Arduino and jumper wires.",
"text_raw": "Make sure you have all the parts needed to build the photometer. Everything's included in the [http://www.makershed.com/LED_Atmospheric_Analyzer_Kit_p/msatm1.htm|LED Atmospheric Analyzer Kit] except an Arduino and jumper wires.",
"bullet": "black",
"level": 0
},
{
"text": "If you got a Sparkfun LCD with your order, have no fear! Look for a red bullet point like this for specific instructions.",
"text_raw": "If you got a Sparkfun LCD with your order, have no fear! Look for a red bullet point like this for specific instructions.",
"bullet": "red",
"level": 1
},
{
"text": "If you haven't soldered together your Maker Shield yet, hop on over to the <a href=\"/Project/Build+a+MakerShield/432/1\">Make Project</a> and make it happen!",
"text_raw": "If you haven't soldered together your Maker Shield yet, hop on over to the [guide|432|Make Project] and make it happen!",
"bullet": "black",
"level": 0
},
{
"text": "Once your Maker Shield is ready to go, pop it on top of your Arduino and stick the mini breadboard onto the empty space of the board.",
"text_raw": "Once your Maker Shield is ready to go, pop it on top of your Arduino and stick the mini breadboard onto the empty space of the board.",
"bullet": "black",
"level": 0
}
],
"object": null,
"images": [
{
"imageid": 55253,
"orderby": 1,
"text": "http://guide-images.makeprojects.org/igi/ZLpdgpvZd4XyXLZK"
},
{
"imageid": 55254,
"orderby": 2,
"text": "http://guide-images.makeprojects.org/igi/PqUKBJthvUGmp1c2"
}
],
"number": 1
},
{
"title": "",
"lines": [
{
"text": "If you haven't done so already, flip to Page 37 of the <em>Atmospheric Monitoring with Arduino</em> book and start measuring the sensitivity of your LEDs. This process will help you get accurate readings from your photometer.",
"text_raw": "If you haven't done so already, flip to Page 37 of the ''Atmospheric Monitoring with Arduino'' book and start measuring the sensitivity of your LEDs. This process will help you get accurate readings from your photometer.",
"bullet": "black",
"level": 0
},
{
"text": "Once you've done that, start the photometer build by connecting a jumper wire from the Maker Shield's 5V and GND headers to the mini solderless breadboard. Use another jumper to set up a GND rail on the opposite side of the board as well.",
"text_raw": "Once you've done that, start the photometer build by connecting a jumper wire from the Maker Shield's 5V and GND headers to the mini solderless breadboard. Use another jumper to set up a GND rail on the opposite side of the board as well.",
"bullet": "black",
"level": 0
}
],
"object": null,
"images": [
{
"imageid": 55255,
"orderby": 1,
"text": "http://guide-images.makeprojects.org/igi/46dqFr3B5eBx1VuY"
}
],
"number": 2
},
{
"title": "",
"lines": [
{
"text": "The speaker will give you audio feedback when certain events occur, like a new maximum reading from one of the LEDs. Solder a black wire to one of the speaker's metal tabs and plug it into the rightmost GND rail of the breadboard. Solder a red wire to the other tab and plug that into D7 on the Maker Shield.",
"text_raw": "The speaker will give you audio feedback when certain events occur, like a new maximum reading from one of the LEDs. Solder a black wire to one of the speaker's metal tabs and plug it into the rightmost GND rail of the breadboard. Solder a red wire to the other tab and plug that into D7 on the Maker Shield.",
"bullet": "black",
"level": 0
}
],
"object": null,
"images": [
{
"imageid": 55258,
"orderby": 1,
"text": "http://guide-images.makeprojects.org/igi/cfp4MbJSDI4bfKBR"
}
],
"number": 3
},
{
"title": "",
"lines": [
{
"text": "Now it's time to plug in the LCD. Connect the four-pin cable to the LCD breakout board, and four jumpers to the other (black) end of the cable.",
"text_raw": "Now it's time to plug in the LCD. Connect the four-pin cable to the LCD breakout board, and four jumpers to the other (black) end of the cable.",
"bullet": "black",
"level": 0
},
{
"text": "Hook the VCC pin (red) up to the 5V rail on the breadboard, the GND pin (black) up to the rightmost GND rail, the white (RX) to D5 on the Maker Shield, and the yellow (TX) to D3 on the Maker Shield.",
"text_raw": "Hook the VCC pin (red) up to the 5V rail on the breadboard, the GND pin (black) up to the rightmost GND rail, the white (RX) to D5 on the Maker Shield, and the yellow (TX) to D3 on the Maker Shield.",
"bullet": "black",
"level": 0
},
{
"text": "If you have the Sparkfun LCD, connect the GND and 5V ports to the Maker Shield in the same way (except there's no cable included, so just screw your jumper wires into the terminal blocks on the back of the LCD). Connect the RX port of the LCD to D1 (TX) on the Maker Shield.",
"text_raw": "If you have the Sparkfun LCD, connect the GND and 5V ports to the Maker Shield in the same way (except there's no cable included, so just screw your jumper wires into the terminal blocks on the back of the LCD). Connect the RX port of the LCD to D1 (TX) on the Maker Shield.",
"bullet": "red",
"level": 0
}
],
"object": null,
"images": [
{
"imageid": 55257,
"orderby": 1,
"text": "http://guide-images.makeprojects.org/igi/ogxEeOsstICuxMcd"
},
{
"imageid": 55262,
"orderby": 2,
"text": "http://guide-images.makeprojects.org/igi/GfIHgkmQbwXlMBsV"
}
],
"number": 4
},
{
"title": "",
"lines": [
{
"text": "Now we can prepare to install the LEDs. All three (Red, Green, and Blue) will use the same GND rail on the mini breadboard, but need their own Analog Pins. So, use three jumper wires to connect three rows of the breadboard to Analog pins 1, 2, and 3 of the Maker Shield.",
"text_raw": "Now we can prepare to install the LEDs. All three (Red, Green, and Blue) will use the same GND rail on the mini breadboard, but need their own Analog Pins. So, use three jumper wires to connect three rows of the breadboard to Analog pins 1, 2, and 3 of the Maker Shield.",
"bullet": "black",
"level": 0
},
{
"text": "Now plug in each of the LEDs' short legs into the GND rail. The longer leg of the Red LED goes to Analog Pin 1, the long leg of the Green LED goes to Pin 2, and the long leg of the Blue LED goes to Pin 3.",
"text_raw": "Now plug in each of the LEDs' short legs into the GND rail. The longer leg of the Red LED goes to Analog Pin 1, the long leg of the Green LED goes to Pin 2, and the long leg of the Blue LED goes to Pin 3.",
"bullet": "black",
"level": 0
},
{
"text": "And that's it, you're done! You can find some &quot;Getting Started&quot; code for the photometer <a href=\"https://github.com/Make-Magazine/LED-Atmospheric-Analyzer\" rel=\"nofollow\">here</a>.",
"text_raw": "And that's it, you're done! You can find some \"Getting Started\" code for the photometer [https://github.com/Make-Magazine/LED-Atmospheric-Analyzer|here].",
"bullet": "black",
"level": 0
}
],
"object": null,
"images": [
{
"imageid": 55259,
"orderby": 1,
"text": "http://guide-images.makeprojects.org/igi/WPeWBqHINIIAEJUV"
},
{
"imageid": 55260,
"orderby": 2,
"text": "http://guide-images.makeprojects.org/igi/UFkuklUAZZggaDHH"
},
{
"imageid": 55263,
"orderby": 3,
"text": "http://guide-images.makeprojects.org/igi/B2KlgY2iJQxyOwLu"
}
],
"number": 5
}
],
"subject": "",
"summary": "With an Arduino and the components that come with the LED Atmospheric Analyzer Kit from the Maker Shed, it's easy to build an LED Photometer, a device that measures the amount of red, green, and blue light penetrating the atmosphere.",
"time_required": "30 minutes",
"title": "Build an LED Photometer",
"tools": [],
"type": "project"
},
"guideid": "3021"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment