Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Jakub Smejkal
Published © CC BY-SA

HARDWARIO Non-Invasive Monitoring - Rotation Monitor

You can detect rotations in your machine so you know if the engine is stuck. Measure effectivity by the number of rotations in the machine.

IntermediateFull instructions provided1.5 hours576
HARDWARIO Non-Invasive Monitoring - Rotation Monitor

Things used in this project

Hardware components

LCD Thermostat Kit
HARDWARIO LCD Thermostat Kit
×1
Sensor Module
HARDWARIO Sensor Module
×1
Radio Dongle
HARDWARIO Radio Dongle
×1
AS5040-SS_EK_AB
×1

Software apps and online services

Playground
HARDWARIO Playground

Story

Read more

Code

NODE-Red flow

JSON
[{"id":"8e419098.a8ff1","type":"mqtt in","z":"d4f8ad49.c7f6a","name":"","topic":"node/magnetic-encoder:0/encoder/-/rotation","qos":"2","datatype":"auto","broker":"bb7a191.cab93e8","x":270,"y":180,"wires":[["ae8b363.21d7dc8","eb089cdf.58f24"]]},{"id":"ae8b363.21d7dc8","type":"ui_gauge","z":"d4f8ad49.c7f6a","name":"","group":"6037c751.82ce48","order":1,"width":"4","height":"4","gtype":"gage","title":"Revolution current","label":"","format":"{{value}}","min":"-10","max":"50","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":600,"y":120,"wires":[]},{"id":"eb089cdf.58f24","type":"ui_chart","z":"d4f8ad49.c7f6a","name":"","group":"6037c751.82ce48","order":2,"width":"12","height":"4","label":"Revolution in time","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"100","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":600,"y":240,"wires":[[],[]]},{"id":"bb7a191.cab93e8","type":"mqtt-broker","z":"","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"6037c751.82ce48","type":"ui_group","z":"","name":"Magnetic encoder","tab":"11207769.c31889","order":3,"disp":false,"width":"18","collapse":false},{"id":"11207769.c31889","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Firmware Repository

Credits

Jakub Smejkal

Jakub Smejkal

79 projects • 14 followers

Comments