Smick_003_LED_PWM

This flow builds a dashboard that contains a slider node to regulate the LED brightness. The generated commands are sent to Smick through "dasboard console" flow".

[{"id":"95bc9b60.213bc8","type":"ui_slider","z":"e11a21a.8f4d4e","name":"","label":"slider","group":"5e36b7c5.bef018","order":2,"width":0,"height":0,"passthru":true,"topic":"","min":"0","max":"10","step":"1","x":110,"y":260,"wires":[["25fe4efd.213742"]]},{"id":"d025d81e.e6dcd8","type":"link out","z":"e11a21a.8f4d4e","name":"command","links":["d00f3010.4b85b"],"x":675,"y":260,"wires":[]},{"id":"c40efbbf.d8b2c8","type":"function","z":"e11a21a.8f4d4e","name":"D8=n","func":"msg.payload=\"d8=\"+msg.payload;\nreturn msg;","outputs":1,"noerr":0,"x":550,"y":260,"wires":[["d025d81e.e6dcd8"]]},{"id":"25fe4efd.213742","type":"range","z":"e11a21a.8f4d4e","minin":"0","maxin":"10","minout":"1023","maxout":"0","action":"scale","round":true,"name":"0..1023","x":320,"y":260,"wires":[["c40efbbf.d8b2c8"]]},{"id":"611d37b9.54d4f8","type":"comment","z":"e11a21a.8f4d4e","name":"analogic output (PWM)","info":"","x":160,"y":160,"wires":[]},{"id":"f85f2a2c.4de528","type":"comment","z":"e11a21a.8f4d4e","name":"Description","info":"Questo flusso costruisce un cruscotto contenente un nodo slider per regolare la luminosità del LED.\nI comandi generati sono inviati a smick tramite il flusso \"dasboard console\".\n\nThis flow builds a dashboard that contains a slider node to regulate the LED brightness.\nThe generated commands are sent to Smick through \"dasboard console\" flow\".","x":130,"y":60,"wires":[]},{"id":"12d8a682.ab0279","type":"comment","z":"e11a21a.8f4d4e","name":"Licence & History","info":"Package : Smick v.1\nModule  : LED - digital output\nAuthor  : Curci\nLicence : (CC) BY-NC-SA\n\nThis work is licensed under a Creative Commons \nAttribution-NonCommercial-ShareAlike \n4.0 International License.\n\nHistory\n\nDate        Author  Description\n2016.12.17  Curci   genesis","x":300,"y":60,"wires":[]},{"id":"62aa0eb1.71b45","type":"comment","z":"e11a21a.8f4d4e","name":"BOM","info":"Bill Of Material\n\nHardware:\n\n    1 Human internet terminal (PC, tablet or smartphone) connected to the internet\n    1 Smick Wi-Fi connected to the internet\n    1 LED connected to smick \n\nHW Connections:\n\n    Device  pin     Smick pin\n    LED     +       3.3V\n    LED     -       D8\n\nFlow Connections:\n\n    Smick_001_console\n\nAccount:\n\n    Wi-Fi credentials\n    MQTT broker\n    FRED\n","x":450,"y":60,"wires":[]},{"id":"5e36b7c5.bef018","type":"ui_group","z":"","name":"LED","tab":"9f185bbc.98cc78","order":1,"disp":true,"width":"6"},{"id":"9f185bbc.98cc78","type":"ui_tab","z":"","name":"LED","icon":"dashboard","order":2}]

Flow Info

Created 7 years, 10 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • comment (x4)
  • function (x1)
  • link out (x1)
  • range (x1)
Other
  • ui_group (x1)
  • ui_slider (x1)
  • ui_tab (x1)

Tags

  • IoT
  • Smick
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option