Skip to content

zjhiphop/mobile-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mobile sensor related research by HTML5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages