{ "Library": "wheelencoder", "Description": "Wheel Encoder Library", "Sensor Class": { "WheelEncoder": { "Name": "Wheel Encoder", "Description": "Wheel encoders use non-contact methods to give rotation information. This sensor was developed for the DFRobot Wheel Encoder, though it could be used for any counting time-based task. When you instantiate a class of this type, the gpio pin specified is connected to an interrupt. Whenever a low to high transition occurs on the gpio pin, the internal counter is incremented by one. This class also includes a millisecond counter, so that you can correlate the number of counts to a time period for calculating an RPM or other value as needed.", "Aliases": ["SEN0038"], "Categories": ["other"], "Connections": ["gpio"], "Project Type": ["prototyping"], "Manufacturers": ["dfrobot"], "Kits": ["DFRobot 3PA", "DFRobot 4WD"], "Image": "wheelencoder.jpg", "Examples": { "Python": ["wheelencoder.py"], "Node.js": ["wheelencoder.js"], "C++": ["wheelencoder.cxx"], "C": ["wheelencoder.c"] }, "Specifications": { "Vdd": {"unit": "v", "constant" : 5}, "Itotal" : {"unit": "mA", "high": 20}, "Resolution": {"unit": "ppr", "constant" : 20} }, "Urls" : { "Product Pages": ["https://www.dfrobot.com/product-98.html"], "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)"], "Schematics": ["http://www.dfrobot.com/wiki/images/b/b9/FIT0029_Encoder_Schematics.png"] } } } }