Hey,
I would like to install a blastgate automation in my woodworking shop. The hardware is already installed and all components work as planned. Unfortunately, creating a flow for my application is now much more complicated than I would have thought. Maybe there is someone here who already has a similar flow and would like to share it with me. As soon as my project is finished, I plan to publish a post describing exactly how I implemented the project, i.e. hardware, software and assembly.
This is the code for the connected components:
[
{
"id": "14c53feff2182fde",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Start",
"props": [
{
"p": "payload"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 160,
"wires": [
[
"4adbacfb9daaf4be",
"e5d15942fc82112a"
]
]
},
{
"id": "4adbacfb9daaf4be",
"type": "ads1x15-raspi",
"z": "8aed75ad9c3e8301",
"property": "payload",
"name": "Planer",
"chip": "IC_ADS1115",
"i2c_address": "ADDRESS_0x48",
"channel": "CHANNEL_0",
"samplesPerSecond0": "SPS_920",
"samplesPerSecond1": "SPS_128",
"progGainAmp": "PGA_4_096V",
"x": 370,
"y": 120,
"wires": [
[]
]
},
{
"id": "e5d15942fc82112a",
"type": "ads1x15-raspi",
"z": "8aed75ad9c3e8301",
"property": "payload",
"name": "Saw",
"chip": "IC_ADS1115",
"i2c_address": "ADDRESS_0x48",
"channel": "CHANNEL_1",
"samplesPerSecond0": "SPS_920",
"samplesPerSecond1": "SPS_8",
"progGainAmp": "PGA_4_096V",
"x": 370,
"y": 200,
"wires": [
[]
]
},
{
"id": "dd3b1ee7fe45eabb",
"type": "rpi-gpio out",
"z": "8aed75ad9c3e8301",
"name": "Dustcollector",
"pin": "4",
"set": "",
"level": "0",
"freq": "",
"out": "out",
"bcm": true,
"x": 550,
"y": 340,
"wires": []
},
{
"id": "80212d7fcb963d57",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 150,
"y": 380,
"wires": [
[
"dd3b1ee7fe45eabb"
]
]
},
{
"id": "4fe83268343d4ea8",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "On",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 150,
"y": 320,
"wires": [
[
"dd3b1ee7fe45eabb"
]
]
},
{
"id": "da07adb97048ae4c",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Open",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1000",
"payloadType": "num",
"x": 150,
"y": 640,
"wires": [
[
"2e80a2332dee5c7e"
]
]
},
{
"id": "8a65215c20276aa4",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Close",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "2000",
"payloadType": "num",
"x": 150,
"y": 680,
"wires": [
[
"2e80a2332dee5c7e"
]
]
},
{
"id": "440980de1e4fc8c3",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 150,
"y": 720,
"wires": [
[
"2e80a2332dee5c7e"
]
]
},
{
"id": "2e80a2332dee5c7e",
"type": "PCA9685 out",
"z": "8aed75ad9c3e8301",
"name": "Blastgate 2",
"pca9685": "6095e8fcd95f1634",
"channel": "2",
"payload": "[msg.payload]",
"unit": "microseconds",
"onStep": "0",
"x": 590,
"y": 680,
"wires": []
},
{
"id": "3132cd7a08b28b20",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Open",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1000",
"payloadType": "num",
"x": 150,
"y": 780,
"wires": [
[
"ee2d5cfc17685f95"
]
]
},
{
"id": "670c415b65b80479",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Close",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "2000",
"payloadType": "num",
"x": 150,
"y": 820,
"wires": [
[
"ee2d5cfc17685f95"
]
]
},
{
"id": "70ae7e7c9cd4e89a",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 150,
"y": 860,
"wires": [
[
"ee2d5cfc17685f95"
]
]
},
{
"id": "ee2d5cfc17685f95",
"type": "PCA9685 out",
"z": "8aed75ad9c3e8301",
"name": "Blastgate 3",
"pca9685": "6095e8fcd95f1634",
"channel": "3",
"payload": "[msg.payload]",
"unit": "microseconds",
"onStep": "0",
"x": 590,
"y": 820,
"wires": []
},
{
"id": "e6df165adcef1f01",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Open",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1000",
"payloadType": "num",
"x": 150,
"y": 500,
"wires": [
[
"ae004bab1749b688"
]
]
},
{
"id": "1e8ad0320a99f44a",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Close",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "2000",
"payloadType": "num",
"x": 150,
"y": 540,
"wires": [
[
"ae004bab1749b688"
]
]
},
{
"id": "efb9da6614d9fd7d",
"type": "inject",
"z": "8aed75ad9c3e8301",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 150,
"y": 580,
"wires": [
[
"ae004bab1749b688"
]
]
},
{
"id": "ae004bab1749b688",
"type": "PCA9685 out",
"z": "8aed75ad9c3e8301",
"name": "Blastgate 1",
"pca9685": "6095e8fcd95f1634",
"channel": "1",
"payload": "[msg.payload]",
"unit": "microseconds",
"onStep": "0",
"x": 590,
"y": 540,
"wires": []
},
{
"id": "6095e8fcd95f1634",
"type": "PCA9685",
"deviceNumber": "0",
"address": "64",
"frequency": "50"
}
]
That`s the overview:
And that`s the control: