Electronic – Indoors-vs-outdoors sensor

embeddedroboticssensor

What a near-perfect-accuracy yet dirt-cheap way for a drone or other miniature embedded computer to sense whether it's indoors vs outdoors? Some ideas:

  • Geo position sensor if small, low power, and cheap enough
  • Light sensor to detect the 60 Hz flicker of electric lights
  • Antenna and analog filter to detect EMI typical of occupied buildings
  • Echo generator & microphone
  • broad-spectrum UV-visible-IR photosensors to discriminate natural vs solar light
  • Thermometer, barometer, or other air sensors

Best Answer

Light with wavelenght shorter than 300nm is scarce in the output of most types of lightbulbs and it is highly absorbed by typical window glass. On the other hand, it is relatively abundant in sunlight. Therefore a light sensor with a medium/far UV passing filter should do the job with a little bit of calibration. Open windows might confuse it.


References