Hello all, its been a few since i have been on. I have been cleaning up some of my dashboard and planning next stage.
I hope I really dont sound ignorant here. but I have already been doing some searches and i have a few questions about PWM and heating elements.
- from what i have read I can not use PWM with a Solid State Relay,
- can i use it with a coil relay. if so will the constant turning off and on cause the coil relay to wear out sooner?
I had to add this,
I'm using 3phase heating elements. where I already use a contactor to control the actual power going to element.
I have to use low voltage (dc) first because i use a float switch to dissable the power if the level is to low.
so in reallity, I use low voltage to control either a solid state relay or a coil relay, which in turns provides 110v to contactor , to close the circuit there.
right now i have heater set up like i have my fermenters, however its reversed logic (above or equal to target is off now )
[{"id":"157e819a9be636f0","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"0cae5ff764274307","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"HLTtarget","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":352.0071105957031,"y":254.00568581237792,"wires":[["de64d6f0d6b0e7e3","886783c9f1ec8119"]]},{"id":"de64d6f0d6b0e7e3","type":"debug","z":"157e819a9be636f0","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":518.3936347961426,"y":264.64960766448974,"wires":[]},{"id":"886783c9f1ec8119","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"HLTtarget","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":547.0229721069336,"y":224.1783437789917,"wires":[[]]},{"id":"1f6d65caaec98c3b","type":"ui_dropdown","z":"157e819a9be636f0","name":"","label":"","tooltip":"","place":"Select option","group":"34c8e5f1.3881fa","order":5,"width":4,"height":1,"passthru":true,"multiple":false,"options":[{"label":"Mash Temp","value":"170","type":"str"},{"label":"Sanitize Temp","value":"185","type":"str"},{"label":"Boiling Temp","value":"205","type":"str"},{"label":"Off","value":"0","type":"str"}],"payload":"","topic":"target_temperature","x":191.09669494628906,"y":252.55601025238036,"wires":[["0cae5ff764274307"]]},{"id":"340f56965055b6e7","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"HLTambient","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":544.0070114135742,"y":448.00571632385254,"wires":[["65a17d815f706559","9b2d73d1790b48ea"]]},{"id":"65a17d815f706559","type":"switch","z":"157e819a9be636f0","name":"","property":"HLTtarget","propertyType":"global","rules":[{"t":"lte","v":"HLTambient","vt":"global"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":722.201171875,"y":407.6003074645996,"wires":[["185055d6bd6c8371"],["c9be54bb9bfd0344"]]},{"id":"185055d6bd6c8371","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":862.6496658325195,"y":380.6718330383301,"wires":[["1f65dd92be3df989","1a2b0dd1caf61b8f"]]},{"id":"c9be54bb9bfd0344","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":865.8202972412109,"y":426.50273990631104,"wires":[["f9a5d794d1fca570","1a2b0dd1caf61b8f"]]},{"id":"1f65dd92be3df989","type":"debug","z":"157e819a9be636f0","name":"off","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":949.943187713623,"y":328.0494689941406,"wires":[]},{"id":"1a2b0dd1caf61b8f","type":"change","z":"157e819a9be636f0","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"cmnd//POWER","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1055.018325805664,"y":402.9123659133911,"wires":[["f30f0c2fc09db0f8"]]},{"id":"f9a5d794d1fca570","type":"debug","z":"157e819a9be636f0","name":"on","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":959.968017578125,"y":477.08672618865967,"wires":[]},{"id":"6b467fb802b70a70","type":"change","z":"157e819a9be636f0","name":"set payload to Temperature value","rules":[{"t":"move","p":"payload.Temperature","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":482.0087432861328,"y":306.55677604675293,"wires":[["a013a89a77ebf97a","cb1853bc34ef4f01","340f56965055b6e7"]]},{"id":"a013a89a77ebf97a","type":"ui_template","z":"157e819a9be636f0","group":"34c8e5f1.3881fa","name":"HLT","order":4,"width":6,"height":6,"format":"<div id=\"{{'gauge_'+$id}}\" class=\"g-container\" style=\"--gauge-value:0; --container-size:6; --gn-distance:14; --ga-tick-count:22; --ga-subtick-count:220; --g-unit:''°F'\">\n <div id=\"bgr\" class=\"g-body\">\n <div class=\"g-ring\">\n <div class=\"g-rivets\">\n <div class=g-rivet></div>\n <div class=g-rivet></div>\n <div class=g-rivet></div>\n <div class=g-rivet></div>\n </div>\n <div class=\"g-plate\">\n <div class=\"g-ticks\">\n <div class=\"g-tick\" style=\"--ga-tick:1;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:3;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:5;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:7;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:9;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:11;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:13;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:15;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:17;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:19;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:21;\"></div>\n <div class=\"g-tick\" style=\"--ga-tick:23;\"></div>\n </div>\n <div class=\"g-ticks\">\n <div class=\"g-subtick\" style=\"--ga-tick:11;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:31;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:51;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:71;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:91;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:111;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:131;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:151;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:171;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:191;\"></div>\n <div class=\"g-subtick\" style=\"--ga-tick:211;\"></div>\n \n </div>\n <div class=\"g-nums\">\n <div class=\"g-num\" style=\"--ga-tick:1;\" >0</div>\n <div class=\"g-num\" style=\"--ga-tick:3;\">20</div>\n <div class=\"g-num\" style=\"--ga-tick:5;\">40</div>\n <div class=\"g-num\" style=\"--ga-tick:7;\">60</div>\n <div class=\"g-num\" style=\"--ga-tick:9;\">80</div>\n <div class=\"g-num\" style=\"--ga-tick:11;\">100</div>\n <div class=\"g-num\" style=\"--ga-tick:13;\">120</div>\n <div class=\"g-num\" style=\"--ga-tick:15;\">140</div>\n <div class=\"g-num\" style=\"--ga-tick:17;\">160</div>\n <div class=\"g-num\" style=\"--ga-tick:19;\">180</div>\n <div class=\"g-num\" style=\"--ga-tick:21;\">200</div>\n <div class=\"g-num\" style=\"--ga-tick:23;\">220</div>\n \n </div>\n <div class=\"g-label\">HLT </div>\n <div class=\"g-needle\"></div>\n <div class=\"g-needle-ring\"></div>\n <div id=\"{{'gauge_val_'+$id}}\" class=\"g-val\"></div>\n </div>\n </div>\n </div>\n</div>\n<script>\n(function(scope) {\n let min = 0;\n let max = 100;\n scope.$watch('msg', function(msg) {\n if (msg) {\n // Do something when msg arrives\n const v = Math.floor(((msg.payload - min) / (max - min)) * (100 * 0.46));\n const d = Math.floor(((msg.payload - min) / (max - min)) * 100);\n document.getElementById('gauge_'+scope.$id).style.setProperty('--gauge-value', v);\n document.getElementById('gauge_val_'+scope.$id).innerText = d;\n }\n \n });\n})(scope);\n</script>\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":767.8924942016602,"y":345.8119659423828,"wires":[[]]},{"id":"cb1853bc34ef4f01","type":"debug","z":"157e819a9be636f0","name":"boil","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":769.4444961547852,"y":291.1106357574463,"wires":[]},{"id":"f30f0c2fc09db0f8","type":"debug","z":"157e819a9be636f0","name":"msgtopic","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1230.2810897827148,"y":401.9162311553955,"wires":[]},{"id":"7647817384e0b5fa","type":"inject","z":"157e819a9be636f0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"212","payloadType":"str","x":196.27983283996582,"y":315.93323612213135,"wires":[["340f56965055b6e7","a013a89a77ebf97a"]]},{"id":"ceff910bd609d4eb","type":"inject","z":"157e819a9be636f0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"95","payloadType":"str","x":194.28125762939453,"y":364.9361071586609,"wires":[["340f56965055b6e7","a013a89a77ebf97a"]]},{"id":"fd12c5689c13e7db","type":"inject","z":"157e819a9be636f0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"170","payloadType":"str","x":198.28125762939453,"y":410.9361448287964,"wires":[["340f56965055b6e7","a013a89a77ebf97a"]]},{"id":"9b2d73d1790b48ea","type":"debug","z":"157e819a9be636f0","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":574.2840957641602,"y":489.0099849700928,"wires":[]},{"id":"34c8e5f1.3881fa","type":"ui_group","name":"test","tab":"85b0e00f12eded88","order":1,"disp":true,"width":6,"collapse":false},{"id":"85b0e00f12eded88","type":"ui_tab","name":"test 1","icon":"dashboard","disabled":false,"hidden":false}]