upm/src/stepmotor/stepmotor.json
Noel Eck c54d6de054 JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java.
Note, a handful of the examples have a pseudo-random string for the
first component (see FlexSensor_Example.java, ideally this would be
Flex_Example.java).

This commit allows for quick development on a single sensor library
since a -DMODULE_LIST=mysensorlib now works with Java examples
(previously Java examples would fail generation when using
MODULE_LIST).

    * Renamed examples
    * Updated class names
    * Updated library descriptor .json files
    * Updated sample mapping file

TODO: Make this work like the C/C++ examples - grab the target library
name from the filename and grab all dependencies from that target
library.  Fix the handful of example names which don't conform.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-02-27 15:28:48 -08:00

49 lines
2.4 KiB
JSON

{
"Library": "stepmotor",
"Description": "Stepper Motor library",
"Sensor Class": {
"StepMotor": {
"Name": "API for the Stepper Motor",
"Description": "This is the UPM Module for the API for the Stepper Motor. This module defines the Stepper Motor interface. It is compatible with stepper motor drivers that use 2 pins to control the motor, like an Easy Driver from Brian Schmalz or the STR driver series from Applied Motion. It can also control an enable pin if one is available and connected. The implementation is synchronous and thus blocking while the stepper motor is in motion. However it is possible to send the commands via threading and the performance of the library will be very good given a low CPU load. On a busy system though you will notice some jitter especially at higher speeds. It is possible to reduce this effect to some extent by using smoothing and/or microstepping on stepper drivers that support such features.",
"Aliases": ["stepmotor", "EasyDriver - Stepper Motor Driver"],
"Categories": ["motor"],
"Connections": ["gpio"],
"Project Type": ["prototyping", "robotics", "commercial"],
"Manufacturers": ["Allegro", "SparkFun", "generic"],
"Image": "stepmotor.jpg",
"Examples": {
"Java": ["StepMotor_Example.java"],
"Python": ["stepmotor.py"],
"Node.js": ["stepmotor.js"],
"C++": ["stepmotor.cxx"]
},
"Specifications": {
"Vsource": {
"unit": "V",
"min": 3.3,
"max": 7.0
},
"Motor Driver Voltage":{
"unit": "V",
"min" : 6,
"max" : 30
},
"Supply Current": {
"unit": "mA",
"min": 150,
"max": 700
},
"Operating Temperature": {
"unit": "°C",
"min": -20,
"max": 85
}
},
"Urls": {
"Product Pages": ["https://www.sparkfun.com/products/12779"],
"Datasheets": ["https://cdn.sparkfun.com/datasheets/Robotics/A3967-Datasheet.pdf"]
}
}
}
}