Skip to content

Instantly share code, notes, and snippets.

@itarozzi
Created December 24, 2017 15:29
Show Gist options
  • Save itarozzi/64b11a8a481c87fa1bf0738911d6f8be to your computer and use it in GitHub Desktop.
Save itarozzi/64b11a8a481c87fa1bf0738911d6f8be to your computer and use it in GitHub Desktop.
Pilotaggio motore servo SG90 tramite nodered e raspberrypi
[{"id":"e9f26bf2.51a1e8","type":"tab","label":"Flow 1"},{"id":"e65eb1d4.f359d","type":"rpi-gpio out","z":"e9f26bf2.51a1e8","name":"","pin":"12","set":"","level":"0","freq":"50","out":"pwm","x":529,"y":117,"wires":[]},{"id":"34a4b700.0a9fca","type":"ui_slider","z":"e9f26bf2.51a1e8","name":"","label":"slider","group":"b3066501.1aaf08","order":0,"width":"5","height":"1","passthru":true,"topic":"","min":"3","max":"11","step":"0.5","x":89,"y":80,"wires":[["c7f965b8.e7a678"]]},{"id":"6612d877.5130b8","type":"ui_text","z":"e9f26bf2.51a1e8","group":"b3066501.1aaf08","order":0,"width":0,"height":0,"name":"","label":"","format":"{{msg.payload}}","layout":"col-center","x":518,"y":190,"wires":[]},{"id":"c7f965b8.e7a678","type":"change","z":"e9f26bf2.51a1e8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":324,"y":153,"wires":[["e65eb1d4.f359d","6612d877.5130b8"]]},{"id":"1478d66e.d2a18a","type":"ui_button","z":"e9f26bf2.51a1e8","name":"","group":"b3066501.1aaf08","order":0,"width":0,"height":0,"passthru":false,"label":"0","color":"","bgcolor":"","icon":"","payload":"3","payloadType":"str","topic":"","x":88,"y":132,"wires":[["c7f965b8.e7a678"]]},{"id":"d4f51d85.25771","type":"ui_button","z":"e9f26bf2.51a1e8","name":"","group":"b3066501.1aaf08","order":0,"width":0,"height":0,"passthru":false,"label":"90","color":"","bgcolor":"","icon":"","payload":"7","payloadType":"str","topic":"","x":87,"y":177,"wires":[["c7f965b8.e7a678"]]},{"id":"2d10d7b7.0a9948","type":"ui_button","z":"e9f26bf2.51a1e8","name":"","group":"b3066501.1aaf08","order":0,"width":0,"height":0,"passthru":false,"label":"180","color":"","bgcolor":"","icon":"","payload":"11","payloadType":"str","topic":"","x":83,"y":226,"wires":[["c7f965b8.e7a678"]]},{"id":"e3b3bab5.5bd8a8","type":"comment","z":"e9f26bf2.51a1e8","name":"Pilotaggio motore servo SG90","info":"","x":314,"y":66,"wires":[]},{"id":"b3066501.1aaf08","type":"ui_group","z":"","name":"Default","tab":"d916a87c.9563b8","disp":true,"width":"6"},{"id":"d916a87c.9563b8","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment