Difference between revisions of "Hello World"
(34 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This page describes the most basic use of a Zero Carbon Controller, plotting | This page describes the most basic use of a Zero Carbon Controller, plotting temperatures on a graph. | ||
In the real world this would be used (and often is) for monitoring the flow and return temperatures from a boiler. This data tells us everything the boiler is doing, and is very useful in fault finding or improving efficiency. | |||
== Mechanical Design == | == Mechanical Design == | ||
<iframe key="wiki" align="right" width="100%" height="650" level="" path="/gojs/samples/wiring24.html?cid=Qme3cMnBAGiZzzgi3WkF5XHppcb4fwmqR75ZZumpCvuLZw&height=550px" /> | |||
== Electrical Design == | |||
We start with a wiring diagram. | We start with a wiring diagram. | ||
Line 9: | Line 14: | ||
# Click the '''''Palette''''' button. | # Click the '''''Palette''''' button. | ||
# Drag a '''''Pipe NTC''''' onto the page. | # Drag a few '''''Pipe NTC'''''s onto the page. | ||
#Click the '''''PROCESS''''' button and press OK when prompted for the name. | |||
#In the links that appear beneath the drawing, click '''''Process Connections.''''' | |||
#Press '''''COPY DATA''''' to get the code to paste into your controller. | |||
<iframe key="wiki" align="right" width="100%" height="750" level="" path="/gojs/samples/wiring24.html?cid=Qma4KdD6zymqu3G99eigFn4ZzosZ8RdY9YsXqADMexWdqK&palette=heatweb_sensors.json&height=550px" /> | |||
== Connection Data == | |||
The connection data provided above looks like this: | |||
<pre> | |||
[{"portId":"TH2","block":"TH2","channel":"2","name":"TH2 Signal","figure":"Input","portColor":"#00ff00","wiredTo":"ntcstrap2","wiredToPort":"temperature","signalType":"NTC10K","topicDevice":"ntcstrap2","topicKey":"temperature","mapUnits":"kΩ to °C","map":"[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]"},{"portId":"TH1","block":"TH1","channel":"1","name":"TH1 Signal","figure":"Input","portColor":"#00ff00","wiredTo":"ntcstrap","wiredToPort":"temperature","signalType":"NTC10K","topicDevice":"ntcstrap","topicKey":"temperature","mapUnits":"kΩ to °C","map":"[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]"}] | |||
</pre> | |||
Formatted for reading it is easier to see the structure. This shows two sensors, '''''ntcstrap''''' and '''''ntcstrap2''''' (''topicDevice''), providing a '''''temperature''''' value (''topicKey''). | |||
They are wired to terminals '''''TH1''''' and '''''TH2''''' on the controller. | |||
The '''''map''''' value provides the NTC resistance mapping for the sensor used, in this case a Tasseron NTC10K. | |||
<pre> | |||
[ | |||
{ | |||
"portId": "TH2", | |||
"block": "TH2", | |||
"channel": "2", | |||
"name": "TH2 Signal", | |||
"figure": "Input", | |||
"portColor": "#00ff00", | |||
"wiredTo": "ntcstrap2", | |||
"wiredToPort": "temperature", | |||
"signalType": "NTC10K", | |||
"topicDevice": "ntcstrap2", | |||
"topicKey": "temperature", | |||
"mapUnits": "kΩ to °C", | |||
"map": "[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]" | |||
}, | |||
{ | |||
"portId": "TH1", | |||
"block": "TH1", | |||
"channel": "1", | |||
"name": "TH1 Signal", | |||
"figure": "Input", | |||
"portColor": "#00ff00", | |||
"wiredTo": "ntcstrap", | |||
"wiredToPort": "temperature", | |||
"signalType": "NTC10K", | |||
"topicDevice": "ntcstrap", | |||
"topicKey": "temperature", | |||
"mapUnits": "kΩ to °C", | |||
"map": "[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]" | |||
} | |||
] |
Latest revision as of 22:28, 7 November 2022
This page describes the most basic use of a Zero Carbon Controller, plotting temperatures on a graph.
In the real world this would be used (and often is) for monitoring the flow and return temperatures from a boiler. This data tells us everything the boiler is doing, and is very useful in fault finding or improving efficiency.
Mechanical Design
Electrical Design
We start with a wiring diagram.
We know we want to strap a temperature sensor to a pipe, so we generate a wiring diagram for this:
- Click the Palette button.
- Drag a few Pipe NTCs onto the page.
- Click the PROCESS button and press OK when prompted for the name.
- In the links that appear beneath the drawing, click Process Connections.
- Press COPY DATA to get the code to paste into your controller.
Connection Data
The connection data provided above looks like this:
[{"portId":"TH2","block":"TH2","channel":"2","name":"TH2 Signal","figure":"Input","portColor":"#00ff00","wiredTo":"ntcstrap2","wiredToPort":"temperature","signalType":"NTC10K","topicDevice":"ntcstrap2","topicKey":"temperature","mapUnits":"kΩ to °C","map":"[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]"},{"portId":"TH1","block":"TH1","channel":"1","name":"TH1 Signal","figure":"Input","portColor":"#00ff00","wiredTo":"ntcstrap","wiredToPort":"temperature","signalType":"NTC10K","topicDevice":"ntcstrap","topicKey":"temperature","mapUnits":"kΩ to °C","map":"[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]"}]
Formatted for reading it is easier to see the structure. This shows two sensors, ntcstrap and ntcstrap2 (topicDevice), providing a temperature value (topicKey).
They are wired to terminals TH1 and TH2 on the controller.
The map value provides the NTC resistance mapping for the sensor used, in this case a Tasseron NTC10K.
[ { "portId": "TH2", "block": "TH2", "channel": "2", "name": "TH2 Signal", "figure": "Input", "portColor": "#00ff00", "wiredTo": "ntcstrap2", "wiredToPort": "temperature", "signalType": "NTC10K", "topicDevice": "ntcstrap2", "topicKey": "temperature", "mapUnits": "kΩ to °C", "map": "[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]" }, { "portId": "TH1", "block": "TH1", "channel": "1", "name": "TH1 Signal", "figure": "Input", "portColor": "#00ff00", "wiredTo": "ntcstrap", "wiredToPort": "temperature", "signalType": "NTC10K", "topicDevice": "ntcstrap", "topicKey": "temperature", "mapUnits": "kΩ to °C", "map": "[[42.739,-10],[27.396,0],[17.999,10],[12.099,20],[10,25],[8.308,30],[5.819,40],[4.151,50],[3.012,60],[2.221,70],[1.663,80],[1.262,90],[0.97,100],[0.755,110]]" } ]