JSON: Fixed minor issues in JSON files

Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
This commit is contained in:
sisinty sasmita patra 2017-07-06 14:04:40 -07:00
parent 7cd290901d
commit c25fa47e2f
5 changed files with 164 additions and 186 deletions

View File

@ -1,44 +1,43 @@
{ {
"Library": "hlg150h", "Library": "hlg150h",
"Description": "Light Controller Library", "Description": "Light Controller Library",
"Sensor Class": "Sensor Class":
{ {
"HLG150H": "HLG150H":
{ {
"Name": "Lighting Power Supply Controller", "Name": "Lighting Power Supply Controller",
"Description": "HLG series single output LED power supply features universal AC input, protection for short circuit, overload, over voltage and over temperature", "Description": "HLG series single output LED power supply features universal AC input, protection for short circuit, overload, over voltage and over temperature",
"Aliases": ["hlg150h"], "Aliases": ["hlg150h"],
"Categories": ["lightcontroller"], "Categories": ["lightcontroller"],
"Connections": ["pwm"], "Connections": ["pwm"],
"Project Type": ["prototyping", "industrial"], "Project Type": ["prototyping", "industrial"],
"Manufacturers": ["meanwell"], "Manufacturers": ["meanwell"],
"Kits": [], "Image": "hlg150h.jpg",
"Image": "hlg150h.jpg", "Examples":
"Examples": {
{ "C++": ["hlg150h.cxx"]
"C++": ["hlg150h.cxx"] },
}, "Specifications":
"Specifications": {
{ "Vdd": {"unit": "v", "low" : 1.7, "high": 3.6},
"Vdd": {"unit": "v", "low" : 1.7, "high": 3.6}, "Ioff" : {"unit": "mA", "low" : 0.0, "high": 0.0},
"Ioff" : {"unit": "mA", "low" : 0.0, "high": 0.0}, "Iavg": {"unit": "mA", "low" : 1, "high": 2},
"Iavg": {"unit": "mA", "low" : 1, "high": 2}, "Pressure Range": {"unit": "hpA", "low" : 300, "high": 1100},
"Pressure Range": {"unit": "hpA", "low" : 300, "high": 1100}, "Voltage Range": {"unit": "C", "low" : -40, "high": 85}
"Voltage Range": {"unit": "C", "low" : -40, "high": 85} },
}, "Platforms":
"Platforms": {
{ "Intel Joule Module":
"Intel Joule Module": {
{ "Notes": ["Might need pull up resistors"]
"Notes": ["Might need pull up resistors"], }
} },
}, "Urls" :
"Urls" : {
{ "Product Pages": ["https://www.meanwell-web.com/en/product-info/ac-dc-power-supply/led-driver/101-180-w-led-driver/hlg-150h/product/HLG-150H-24B"],
"Product Pages": ["https://www.meanwell-web.com/en/product-info/ac-dc-power-supply/led-driver/101-180-w-led-driver/hlg-150h/product/HLG-150H-24B"], "Datasheets": ["http://www.mouser.com/ds/2/260/r1755_3-1109742.pdf"],
"Datasheets": ["http://www.mouser.com/ds/2/260/r1755_3-1109742.pdf"], "Schematics": ["http://www.mouser.com/ds/2/260/HLG-150H-SPEC-806071.pdf"]
"Schematics": ["http://www.mouser.com/ds/2/260/HLG-150H-SPEC-806071.pdf"] }
} }
}, }
}
} }

View File

@ -1,47 +1,42 @@
{ {
"Library": "lp8860", "Library": "lp8860",
"Description": "LED Light Controller Library", "Description": "LED Light Controller Library",
"Sensor Class": "Sensor Class":
{ {
"LP8860": "LP8860":
{ {
"Name": "API for LP8860 LED Lighting Controller", "Name": "API for LP8860 LED Lighting Controller",
"Description": "The LP8860-Q1 is an automotive high-efficiency LED driver with boost controller. It has 4 high-precision current sinks that can be controlled by a PWM input signal, an SPI or I2C master, or both ", "Description": "The LP8860-Q1 is an automotive high-efficiency LED driver with boost controller. It has 4 high-precision current sinks that can be controlled by a PWM input signal, an SPI or I2C master, or both ",
"Aliases": ["lp8860"], "Aliases": ["lp8860"],
"Categories": ["light Controller"], "Categories": ["light Controller"],
"Connections": ["i2c"], "Connections": ["i2c"],
"Project Type": ["prototyping", "industrial"], "Project Type": ["prototyping", "industrial"],
"Manufacturers": ["Texas Instruments"], "Manufacturers": ["Texas Instruments"],
"Kits": [], "Image": "",
"Image": "", "Examples":
"Examples": {
{ "C++": ["lp8860.cxx"]
"Java": [""], },
"Python": [""], "Specifications":
"Node.js": [""], {
"C++": ["lp8860.cxx"], "Vdd": {"unit": "v", "low" : 3, "high": 48},
"C": [""] "Iavg": {"unit": "mA", "low" : 1, "high": 150},
}, "Frequency Range": {"unit": "KHz", "low" : 100, "high": 2200},
"Specifications": "Temperature Range": {"unit": "C", "low" : -40, "high": 125}
{ },
"Vdd": {"unit": "v", "low" : 3, "high": 48}, "Platforms":
"Iavg": {"unit": "mA", "low" : 1, "high": 150}, {
"Frequency Range": {"unit": "KHz", "low" : 100, "high": 2200} "Intel Joule Module":
"Temperature Range": {"unit": "C", "low" : -40, "high": 125} {
}, "Notes": ["Might need pull up resistors"]
"Platforms": }
{ },
"Intel Joule Module": "Urls" :
{ {
"Notes": ["Might need pull up resistors"], "Product Pages": ["http://www.ti.com/product/LP8860-Q1"],
} "Datasheets": ["http://www.ti.com/lit/ds/symlink/lp8860-q1.pdf"],
}, "Schematics": ["http://www.ti.com/general/docs/datasheetdiagram.tsp?genericPartNumber=LP8860-Q1&diagramId=66853"]
"Urls" : }
{ }
"Product Pages": ["http://www.ti.com/product/LP8860-Q1"], }
"Datasheets": ["http://www.ti.com/lit/ds/symlink/lp8860-q1.pdf"],
"Schematics": ["http://www.ti.com/general/docs/datasheetdiagram.tsp?genericPartNumber=LP8860-Q1&diagramId=66853"]
}
}
}
} }

View File

@ -1,45 +1,40 @@
{ {
"Library": "max44009", "Library": "max44009",
"Description": "Ambient Light Sensor Library", "Description": "Ambient Light Sensor Library",
"Sensor Class": "Sensor Class":
{ {
"MAX44009": "MAX44009":
{ {
"Name": "Digital Humidity, Pressure, and Temperature Sensor", "Name": "Digital Humidity, Pressure, and Temperature Sensor",
"Description": "The MAX44009 ambient light sensor features an i2c digital output that is ideal for a number of portable applications such as smartphones, notebooks and industrial sensors", "Description": "The MAX44009 ambient light sensor features an i2c digital output that is ideal for a number of portable applications such as smartphones, notebooks and industrial sensors",
"Aliases": ["max44009"], "Aliases": ["max44009"],
"Categories": ["light"], "Categories": ["light"],
"Connections": ["i2c"], "Connections": ["i2c"],
"Project Type": ["prototyping", "industrial"], "Project Type": ["prototyping", "industrial"],
"Manufacturers": ["Maxim integrated"], "Manufacturers": ["Maxim integrated"],
"Kits": [], "Image": "",
"Image": "", "Examples":
"Examples": {
{ "C++": ["max44009.cxx"]
"Java": [""], },
"Python": [""], "Specifications":
"Node.js": [""], {
"C++": ["max44009.cxx"], "Vdd": {"unit": "v", "low" : 1.7, "high": 3.6},
"C": [""] "Temperature Range": {"unit": "C", "low" : -40, "high": 85},
}, "Dynamic Range": {"unit": "lux", "low" : 0.045, "high": 188,000}
"Specifications": },
{ "Platforms":
"Vdd": {"unit": "v", "low" : 1.7, "high": 3.6}, {
"Temperature Range": {"unit": "C", "low" : -40, "high": 85}, "Intel Joule Module":
"Dynamic Range": {"unit": "lux", "low" : 0.045, "high": 188,000} {
}, "Notes": ["might need pull up resistors"]
"Platforms": }
{ },
"Intel Joule Module": "Urls" :
{ {
"Notes": ["might need pull up resistors"], "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44009.html"],
} "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44009.pdf"]
}, }
"Urls" : }
{ }
"Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44009.html"],
"Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44009.pdf"],
}
}
}
} }

View File

@ -1,45 +1,40 @@
{ {
"Library": "ms5611", "Library": "ms5611",
"Description": "Barometric Pressure Sensor library", "Description": "Barometric Pressure Sensor library",
"Sensor Class": "Sensor Class":
{ {
"MS5611": "MS5611":
{ {
"Name": "Barometric Pressure and Temperature Sensor", "Name": "Barometric Pressure and Temperature Sensor",
"Description": "The MS5611 is a high pressure sensor and temperatre sensor module. The main function is to convert the uncompensated analogue voltage from the pressure die to a 24bit digital value, as well as providing a 24 bit value for the temperature ", "Description": "The MS5611 is a high pressure sensor and temperatre sensor module. The main function is to convert the uncompensated analogue voltage from the pressure die to a 24bit digital value, as well as providing a 24 bit value for the temperature ",
"Aliases": ["ms5611"], "Aliases": ["ms5611"],
"Categories": ["pressure", "temperature"], "Categories": ["pressure", "temperature"],
"Connections": ["i2c"], "Connections": ["i2c"],
"Project Type": ["prototyping", "industrial"], "Project Type": ["prototyping", "industrial"],
"Manufacturers": ["amsys"], "Manufacturers": ["amsys"],
"Kits": [], "Image": "",
"Image": "", "Examples":
"Examples": {
{ "C++": ["ms5611.cxx"]
"Java": [""], },
"Python": [""], "Specifications":
"Node.js": ["ms5611.js"], {
"C++": ["ms5611.cxx"], "Vdd": {"unit": "v", "low" : 1.8, "high": 3.6},
"C": [""] "Pressure Range": {"unit": "mbar", "low" : 10, "high": 1200},
}, "Temperature Range": {"unit": "C", "low" : -40, "high": 85}
"Specifications": },
{ "Platforms":
"Vdd": {"unit": "v", "low" : 1.8, "high": 3.6}, {
"Pressure Range": {"unit": "mbar", "low" : 10, "high": 1200}, "Intel Joule Module":
"Temperature Range": {"unit": "C", "low" : -40, "high": 85} {
}, "Notes": ["might need pull up resistors"]
"Platforms": }
{ },
"Intel Joule Module": "Urls" :
{ {
"Notes": ["might need pull up resistors"], "Product Pages": ["http://www.amsys.info/products/ms5611.htm"],
} "Datasheets": ["http://www.amsys.info/sheets/amsys.en.ms5611_01ba03.pdf"]
}, }
"Urls" : }
{ }
"Product Pages": ["http://www.amsys.info/products/ms5611.htm"],
"Datasheets": ["http://www.amsys.info/sheets/amsys.en.ms5611_01ba03.pdf"]
}
}
}
} }

View File

@ -16,11 +16,7 @@
"Image": "", "Image": "",
"Examples": "Examples":
{ {
"Java": [""], "C++": ["si1132.cxx"]
"Python": [""],
"Node.js": [""],
"C++": ["si1132.cxx"],
"C": [""]
}, },
"Specifications": "Specifications":
{ {
@ -32,7 +28,7 @@
{ {
"Intel Joule Module": "Intel Joule Module":
{ {
"Notes": ["might need pull up resistors"], "Notes": ["might need pull up resistors"]
} }
}, },
"Urls" : "Urls" :
@ -40,8 +36,6 @@
"Product Pages": ["http://www.silabs.com/products/sensors/optical/si1132"], "Product Pages": ["http://www.silabs.com/products/sensors/optical/si1132"],
"Datasheets": ["https://www.silabs.com/documents/public/data-sheets/Si1132.pdf"] "Datasheets": ["https://www.silabs.com/documents/public/data-sheets/Si1132.pdf"]
} }
},
} }
} }
} }