added sensor JSON docs

Signed-off-by: Budanov <daniil.budanov@intel.com>
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Budanov
2017-06-30 12:50:33 -07:00
committed by Abhishek Malik
parent 4344151405
commit f01c89b95a
5 changed files with 368 additions and 0 deletions

96
src/md/md.json Normal file
View File

@ -0,0 +1,96 @@
{
"Library": "md",
"Description": "I2C Motor Driver Library",
"Sensor Class":
{
"MD":
{
"Brief": "I2C Motor Driver",
"Description": "The Grove I2C Motor Driver is an I2C motor driver that supports a single 4-wire stepper motor, or two 2-wire DC motors. The device contains an Atmel* ATmega8L microcontroller that manages an L298N H-bridge driver chip. For stepper operation, this driver can run in one of two modes - Mode 1, where this driver handles the stepping operation, and Mode 2, where this driver simply sends commands to the Grove Motor Driver, and it handles the stepping operation. Mode2 requires updated (and working) firmware to be loaded onto the device. The default stepper operation mode is Mode1, which is generally more flexible and is supported on all firmware revisions.",
"Known As": ["I2C Motor Driver v1.3", "md"],
"Categories": ["motor"],
"Connections": ["i2c"],
"Project Type": ["prototyping"],
"Manufacturers": ["seeed"],
"Kits": ["robok"],
"Image": "md.jpg",
"Examples":
{
"Java": ["MDSample.java"],
"Python": ["md.py", "md-stepper.py"],
"Node.js": ["md.js", "md-stepper.js"],
"C++": ["md.cxx", "md-stepper.cxx"],
"C": ["md.c", "md-stepper.c"]
},
"Specifications":
{
"Vdd": {"unit": "v", "low" : 6, "high": 15},
"Itotal" : {"unit": "A", "high": 1.0},
"Ichannel": {"unit": "mA", "high": 500},
"V_i2c_bus": {"unit": "v", "constant": 5},
"I2C Bus Speed": {"unit": "KHz", "constant": 100}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": [""],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.seeedstudio.com/Grove-I2C-Motor-Driver-p-907.html"],
"Datasheets": ["http://wiki.seeed.cc/Grove-I2C_Motor_Driver_V1.3"],
"Schematics": ["https://github.com/SeeedDocument/Grove-I2C_Motor_Driver_V1.3/raw/master/res/Grove%20-%20I2C%20Motor%20Driver%20%20v1.3b.pdf"]
}
}
}
}