-
-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
Revision
Further corrections.
…rol-tutorial # Conflicts: # content/tutorials/portenta-h7/ec-ard-3wirevalve/content.md
|
…into dev-edgecontrol-tutorial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend to elaborate on a few things. Without prior knowledge I can't fully follow this tutorial.
|
||
 | ||
|
||
You need to ensure that the Phoenix connectors are in place before plugging in the wires to the respective pins. If you havent link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something missing here...
|
||
You need to ensure that the Phoenix connectors are in place before plugging in the wires to the respective pins. If you havent link | ||
|
||
Connect the red and the blue wire to any one of the 8 pairs of `LATCHING OUT` pins. In this example we will use `1N` and `1P` of your Edge Control board. Latches allow you to store the state of the pins based on the previous output. As the valve doesnt come with internal drivers to store the state of the motor, we will use the `Latching_out` pins (instead of `Latching_out_cmd`) that are the ones that include drivers on the edge control. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with latches, so I don't fully understand this paragraph. What are we trying to do? Why do we need to store the state'
|
||
``` | ||
|
||
Inside the `loop()`you will add the instructions to open and close the Valve. `Latching.channelDirection()` is used to control the signal to a particular pin using the parameter `LATCHING_OUT_1` and its direction using the parameters, `POSITIVE` or `NEGATIVE`. Hence, if you want the valve to open you will use the instruction, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the concept of "direction" hence I'm struggling a bit to understand this paragraph.
Serial.println("Closing"); | ||
Latching.channelDirection(LATCHING_OUT_1, POSITIVE); | ||
Latching.strobe(4500); | ||
delay(2500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the delay if we already use strobe()'
|
||
### 3. Connecting To A Power Source | ||
|
||
The Valves require a power supply of 9 - 12 V and you can either use a power supply or a 3 cell lipo battery to provide the required voltage. Power sources can be connected to the onboard relay ports of the edge control board. Connect two jumper wires to the **GND** and **B** pins of the **Relay ports** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How much current does it need to source?
|
||
### 3. Connecting To A Power Source | ||
|
||
The Valves require a power supply of 9 - 12 V and you can either use a power supply or a 3 cell lipo battery to provide the required voltage. Power sources can be connected to the onboard relay ports of the edge control board. Connect two jumper wires to the **GND** and **B** pins of the **Relay ports** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this power the board or the valve or both?
For tutorials: