i've been trying trouble-shoot on own few hours , can't figure out issue is.
the 3 photoresistors generating inconsistent numbers. below readouts taken @ 3 second intervals (i added delay(3000) code). in first 5 readouts, resistors uncovered. in second set of 5 covered red resistor completely.
note there significant variation while sensor not covered, , covering sensor doesn't seem affect output @ (it equally inconsistent).
the light source daylight window--there no perceptible variation moment moment in quality or intensity of light. tried moving board darker environment , flickered more.
thanks might able offer.
not covering red sensor
raw sensor value red:859 green:860 blue:860
mapped sensor values red:214 green:215 blue:215
raw sensor value red:537 green:471 blue:470
mapped sensor values red:134 green:117 blue:117
raw sensor value red:296 green:852 blue:860
mapped sensor values red:74 green:213 blue:215
raw sensor value red:833 green:695 blue:694
mapped sensor values red:208 green:173 blue:173
raw sensor value red:330 green:850 blue:859
mapped sensor values red:82 green:212 blue:214
covering red sensor
raw sensor value red:450 green:454 blue:363
mapped sensor values red:112 green:113 blue:90
raw sensor value red:280 green:677 blue:452
mapped sensor values red:70 green:169 blue:113
raw sensor value red:830 green:686 blue:585
mapped sensor values red:207 green:171 blue:146
raw sensor value red:670 green:671 blue:518
mapped sensor values red:167 green:167 blue:129
raw sensor value red:664 green:835 blue:697
mapped sensor values red:166 green:208 blue:174
not covering red sensor
raw sensor value red:829 green:516 blue:433
mapped sensor values red:207 green:129 blue:108
raw sensor value red:291 green:271 blue:282
mapped sensor values red:72 green:67 blue:70
raw sensor value red:281 green:848 blue:527
mapped sensor values red:70 green:212 blue:131
raw sensor value red:304 green:829 blue:848
mapped sensor values red:76 green:207 blue:212
raw sensor value red:828 green:685 blue:828
mapped sensor values red:207 green:171 blue:207
raw sensor value red:691 green:584 blue:607
mapped sensor values red:172 green:146 blue:151
the 3 photoresistors generating inconsistent numbers. below readouts taken @ 3 second intervals (i added delay(3000) code). in first 5 readouts, resistors uncovered. in second set of 5 covered red resistor completely.
note there significant variation while sensor not covered, , covering sensor doesn't seem affect output @ (it equally inconsistent).
the light source daylight window--there no perceptible variation moment moment in quality or intensity of light. tried moving board darker environment , flickered more.
thanks might able offer.
not covering red sensor
raw sensor value red:859 green:860 blue:860
mapped sensor values red:214 green:215 blue:215
raw sensor value red:537 green:471 blue:470
mapped sensor values red:134 green:117 blue:117
raw sensor value red:296 green:852 blue:860
mapped sensor values red:74 green:213 blue:215
raw sensor value red:833 green:695 blue:694
mapped sensor values red:208 green:173 blue:173
raw sensor value red:330 green:850 blue:859
mapped sensor values red:82 green:212 blue:214
covering red sensor
raw sensor value red:450 green:454 blue:363
mapped sensor values red:112 green:113 blue:90
raw sensor value red:280 green:677 blue:452
mapped sensor values red:70 green:169 blue:113
raw sensor value red:830 green:686 blue:585
mapped sensor values red:207 green:171 blue:146
raw sensor value red:670 green:671 blue:518
mapped sensor values red:167 green:167 blue:129
raw sensor value red:664 green:835 blue:697
mapped sensor values red:166 green:208 blue:174
not covering red sensor
raw sensor value red:829 green:516 blue:433
mapped sensor values red:207 green:129 blue:108
raw sensor value red:291 green:271 blue:282
mapped sensor values red:72 green:67 blue:70
raw sensor value red:281 green:848 blue:527
mapped sensor values red:70 green:212 blue:131
raw sensor value red:304 green:829 blue:848
mapped sensor values red:76 green:207 blue:212
raw sensor value red:828 green:685 blue:828
mapped sensor values red:207 green:171 blue:207
raw sensor value red:691 green:584 blue:607
mapped sensor values red:172 green:146 blue:151
Arduino Forum > Products > The Arduino Starter Kit and Basic Kit > Project 4: Photoresistors generating widely unreliable output
arduino
Comments
Post a Comment