added JSONs form Blain

Signed-off-by: Wai Lun Poon <wai.lun.poon@intel.com>
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Wai Lun
2017-08-17 14:56:14 -04:00
committed by Abhishek Malik
parent a99e32fc13
commit c5cdfc702c
103 changed files with 4585 additions and 0 deletions

40
src/light/light.json Executable file
View File

@ -0,0 +1,40 @@
{
"Library": "light",
"Description": "API for the Light Sensor",
"Sensor Class":
{
"light":
{
"Brief": "Analog Light Sensor",
"Description": "The light sensor detects the intensity of the ambient light. As the light intensity of the environment increases, the resistance of the sensor decreases. This means the raw value from the analog pin is larger in bright light and smaller in the dark. A very approximate lux value can also be returned.",
"Part Numbers": ["light"],
"Categories": ["light"],
"Connections": ["analog"],
"Project Type": ["environmental", "security", "prototyping"],
"Manufacturers": ["seeed"],
"Kits": ["gsk"],
"Image": "light.jpg",
"Examples":
{
"Java": ["LightSample.java"],
"Python": ["light.py"],
"Node.js": ["light.js"],
"C++": ["light.cxx"],
"C": ["light.c"]
},
"Specifications":
{
"Operating Voltage": {"unit": "V", "low": 3, "high": 5},
"Operating Current": {"unit": "mA", "low": 0.5, "high": 3},
"Response Time": {"unit": "ms", "low": 20, "high": 30}
},
"Urls" :
{
"Product Pages": ["https://www.seeedstudio.com/Grove-Light-Sensor-p-746.html"],
"Datasheets": ["http://wiki.seeed.cc/Grove-Light_Sensor/", "https://github.com/SeeedDocument/Grove_Light_Sensor/raw/master/res/LS06-M%CE%A65_datasheet.pdf"],
"Schematics": []
}
}
}
}