A method and system is provided for determining the value of an attribute
of ambient energy at a drilling assembly at the bottom of a borehole.
Ambient energy includes kinetic energy, hydraulic energy and thermal
energy. Attributes include vibration frequency spectrum, pressure
difference, and temperature difference. The method uses energy harvested
by at least one energy-harvesting sensor to power the system. The system
generates data signals from at least one energy-harvesting sensor at one
or more locations along a downhole drilling assembly, and transmits data
up the borehole.