Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.97 KB

README.md

File metadata and controls

65 lines (49 loc) · 2.97 KB

mobile-sensor

Mobile sensor related resarch by HTML5

DOM Sensor Event Sensor Type Data Type Units
devicetemperatureA ambient temperature sensordoubledegree Celsius (ºC)
devicepressureA pressure sensordoublekiloPascal (kP)
devicehumidityA releative humidity sensordoublepercentage
devicelightA light sensordoubleLux
devicenoiseA ambient noise sensordoubledbA
deviceproximityA proximity sensordoublecentimetres (cm)

Platform

  • IOS

    1. Proximity sensor:- This sensor determines how close the iPhone is to your face. This sensor helps the iPhone turn off its screen automatically whenever user hold the phone up to your ear. only available in iPhone.

    2. Motion sensor/accelerometer:- This sensor enables the device to automatically switch from landscape to portrait mode and vice-versa.

    3. Ambient Light sensor:- This sensor determines how much light is available in the surrounding area of device and automatically adjust the brightness of the screen in order to conserve battery life.

    4. Magnetometer:- It is used to measure the strength and/or direction of the magnetic field in the surrounding of the device.

    5. Gyroscopic sensor:- When gyroscope is combined with accelerometer, the combination gives the devices six axes on which the it can operate. This is designed to make them more sensitive, responsive, and powerful for gaming.

  • Android (TBD)

    1. Motion sensors These sensors measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors.
    2. Environmental sensors These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers.
    3. Position sensors These sensors measure the physical position of a device. This category includes orientation sensors and magnetometers.
  • Articles

  • Library

  • Others