A passive optical sensor operates independently of light amplitude by
using a semiconducting carbon nanotube material. The material has an
optical property dependent on wavelength, e.g., wavelength of absorption,
ratio of absorptions at two wavelengths, or fluorescence at one
wavelength in response to light at another wavelength. The property is
changed by compressing the material or exposing the material to a charge.
Light is passed through the material so that the change in the property
can be detected.