+ All Categories
Home > Documents > untianla.pdf

untianla.pdf

Date post: 19-Jul-2016
Category:
Upload: gui9871
View: 212 times
Download: 0 times
Share this document with a friend
18
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API CATEGORY ARCHIVES: MY PROJECTS my very own projects Search topics android app arduino code do it yourself Extra gadgets hacking gadgets just looking my projects Software Six LDR Readings Under Fluorescent Light Posted on December 20, 2012 by admin The previous experiment resulted in an inaccurate readings due to varying light intensity caused by fast moving clouds. The moving clouds were covering and uncovering the sunlight striking the room causing light intensity changes. Home Arduino Tutorials About Me
Transcript
Page 1: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

CAT EGORY ARCHIVES: M Y PROJECT S

my very own projects

Search

topics

android apparduinocodedo it yourselfExtragadgetshacking gadgetsjust lookingmy projectsSoftware

Six LDR Readings UnderFluorescent LightPosted on December 20, 2012 by admin

The previous experiment resulted in an inaccurate readings dueto varying light intensity caused by fast moving clouds. Themoving clouds were covering and uncovering the sunlightstriking the room causing light intensity changes.

Home Arduino Tutorials About Me

Page 2: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

recent ar t ic les

Western Digital My Passport1TBIntel RST for Cooler PlatformController Hub (PCH)I Installed a Lincensed ESETNOD32 Antivirus!The Tale of Impulsive Upgrader |From Windows.3x to Windows 8/ 8.1Bluetooth File Transfer ProtocolVersion 2Blocking The Globe TattooGhost Web IconA Laptop Cooling Pad Test

This time, I did the trial under controlled light condition. Nighttime and the only sources of light are the two fluorescent bulbs.No persons or any other objects moving around which mightcause changes in room brightness.

Here are the readings using the same code as in, Testing Six +Six Random LDR for Measuring Light Intensity.

1 – 302 – 303 – 304 – 305 – 296 – 317 – 31

Page 3: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

recent comments

admin on The Huawei MobilePocket Wifi E5220Miel on The Huawei MobilePocket Wifi E5220Miel on The Huawei MobilePocket Wifi E5220anne on The Huawei MobilePocket Wifi E5220tan on Fixing the Slow ArduinoIDE | More Than 20 SecondsDelay

tags

android arduinobattery camera computer ddwrt

electricity epson fan freedom

plan globe hard disk hard

drive huawei internet

I did only seven readings, replacing one random LDR with arandomly chosen sensor from spares. The consecutivereadings were almost consistent, with slight changes atreadings 5 to 7.

I am thinking of ways to do the calibration, the conversion of light

Page 4: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

laptop lcd ldr led leds linuxmmorpg motor mp3 phonepotentiometer power supply psu

push button qos router samsungsd card seven segments smart sony

stepper motor sun cellulartattoo toshiba usb wifi

windows wire wordpress

intensity to candles.

Testing Six + Six Random LDR forMeasuring Light IntensityPosted on December 19, 2012 by admin

This is the third installment of The LDR Array for Measuring LightIntensityProject.

I got another 10 LDRs. I should have asked more but the otherlisted itemsmade my budget short. Anyway, 10 plus 2 = 12, 12 LDRs fortinkering.

I modified the sketch for reading single LDR. I replicated somecommands so it readand print six LDR readings on serial monitor. Then addedadditional task to computethe average of the readings.

Page 5: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Then I did light intensity readings 20 times. Replacing onerandom sensor each time witha randomly picked sensor from the six spares.

Here are the readings in millivolts. While doing the experiment,the fast moving clouds were causing a variation in readings.

1 – 2982 – 2943 – 321

Page 6: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

4 – 3785 – 3446 – 3217 – 3208 – 3949 – 40410 – 39611 – 32312 – 33413 – 32214 – 32515 – 31516 – 30317 – 39018 – 40319 – 32020 – 285

Some consecutive readings have very slight differences. Itmaybe an indication that more LDRs even if randomly pickedmaybe used to accurately measure light intensity.

Page 8: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Instructions.

Set LDR legs as A and B. Legs have no designated.

polarity. Assignment can be interchanged.

Connect 5+ volts power to A.

Connect B to 1K resistor to ground.

Connect B to A0,Analog pin 0.

Upload the shortcode.

**********************************/

// declare a variable to store

// light dependent resistor

// reading

int ldr1;

int ldr2;

int ldr3;

int ldr4;

int ldr5;

int ldr6;

// a variable to store

// average reading of six

// LDRs

int averageLDR;

// a variable to store delay

// time

int delayTime = 2000;

void setup(){//void setup begin

Page 9: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Serial.begin(9600);

}//void setup end

void loop() {//void loop begin

// read analog pin 0, assign its

// value to ldr1 and print it to

// serial monitor

ldr1 = analogRead(A0);

Serial.print("ldr 1 reading = ");

Serial.println(ldr1);

// wait a moment

delay(delayTime);

// read analog pin 1, assign its

// value to ldr2 and print it to

// serial monitor

ldr2 = analogRead(A1);

Serial.print("ldr 2 reading = ");

Serial.println(ldr2);

// wait a moment

delay(delayTime);

// read analog pin 2, assign its

// value to ldr3 and print it to

// serial monitor

ldr3 = analogRead(A2);

Serial.print("ldr 3 reading = ");

Serial.println(ldr3);

// wait a moment

delay(delayTime);

Page 10: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

// read analog pin 3, assign its

// value to ldr4 and print it to

// serial monitor

ldr4 = analogRead(A3);

Serial.print("ldr 4 reading = ");

Serial.println(ldr4);

// wait a moment

delay(delayTime);

// read analog pin 4, assign its

// value to ldr5 and print it to

// serial monitor

ldr5 = analogRead(A4);

Serial.print("ldr 5 reading = ");

Serial.println(ldr5);

// wait a moment

delay(delayTime);

// read analog pin 5, assign its

// value to ldr6 and print it to

// serial monitor

ldr6 = analogRead(A5);

Serial.print("ldr 6 reading = ");

Serial.println(ldr6);

// wait a moment

delay(delayTime);

// print a blank space

Serial.println(" ");

Page 11: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

// equation which compute average LDR readings

averageLDR = (ldr1 + ldr2 + ldr3 + ldr4 + ldr5 + ldr6)/6;

// display average LDR reading

// on serial monitor

Serial.print("Average = ");

Serial.println(averageLDR);

// print a blank space

Serial.println(" ");

// wait a moment

delay(delayTime);

}//void loop end

I am going to repeat this under stable light condition.

———-

See the next …

Page 12: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

The LDR Array for Measuring LightIntesityPosted on December 11, 2012 by admin

After testing the LDR, light dependent resistor, another ideasparked out of my mind. I wondered if this LDR thing can beused to measure light intensity.

Maybe yes and maybe not. I tested the the same circuit again. Ipositioned it in front of window where it could see sun’s rays.The readings got lower as the cloud cover the sun making theroom darker. The value got to its peak as cloud cover move andthe sun shines again to LDR. I am already measuring lightintensity. The next thing I need to do is convert it to proper value,candles I guessed.

Page 13: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Maybe not. There is another matter of concern. What aboutprecision? According to reviews, every LDR from the samemanufacturer is likely to render different reading. I connectedanother LDR to circuit and saw the results for myself. The tworesistors did render different values. Not precise, obviously.

Page 14: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Maybe there are another workaround here. Measuring lightintensity with array of LDRs might did the trick. Likeeight average readings, 20 average readings, or even more.

I am going to buy more LDRs and continue this experiment.

Read the second trial, Testing Six + Six Random LDR for

Page 15: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

Measuring Light Intensity.

Spectrometer Part 1 | BustedComputer Power Supply Unit AsBasePosted on December 8, 2012 by admin

I want a low cost spectrometer. I have been seeing severaltutorials on how to do it. Materials needed are cheap. It includesweb camera, light bulb, wires and a base. I am going to aim forhigh end parts when I completed this project successively.

Hunting starts.

A busted computer power supply unit. Ahhh! I think this would bea good base. I gathered my screw driver set and starteddisassembling.

Page 16: untianla.pdf

pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

It was easy. PSU uncovered after removing four screws.Another four screws and the main pcb was also removed. Thepcb has many electronic components and wires that I think willbe useful for other future projects. I am saving it. I left the dc fanand power socket. They will be used for cooling and powering upthe spectrometer unit.