You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a video that shows the set-up and running of the Grove Relay Board
59
+
60
+
video::-c-kp2PiIa4[youtube]
61
+
62
+
Here is a video that shows the set-up and running of the Grove MOSFet Board
63
+
64
+
video::T9XEYUTOUW0[youtube]
65
+
66
+
=== Example Code
67
+
68
+
Navigate to >>Scratchpad>>Grove>>Digital Outputs>>**Grove Digital Out Switch.vi**
69
+
70
+
image::GroveSwitch-Project.png[]
71
+
44
72
== I2C 4 Channel SPDT Relay Board
45
73
46
74
=== Overview
@@ -69,7 +97,7 @@ video::0Jp3GYXE-z4[youtube]
69
97
70
98
=== Example Code
71
99
72
-
Navigate to >>Scratchpad>>Grove>>Switches>>I2C 4 Channel SPDT Relay Board.vi
100
+
Navigate to >>Scratchpad>>Grove>>Switches>>**I2C 4 Channel SPDT Relay Board.vi**
73
101
74
102
image::Grove4ChannelSPDTRelayProject.png[]
75
103
@@ -80,7 +108,7 @@ You can now click on the switch symbols and the corresponding relay will toggle
80
108
81
109
image::I2C4ChanSPDTRelayBoardFP.png[]
82
110
83
-
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin for the IC2 Port. We set up the IC2 port for the device in **Init.vi**. Next we loop round the event structure and wait for a button on the Front Panel to be pressed. When a switch is detected (event:Switch1,Switch2,Switch3 or Switch4) *Set Switch.vi* recieves the required settings. If the Load button is pressed the new board address is entered and the system re-initialise. Pressing Stop will fire the Stop event and exit the loop.
111
+
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin for the IC2 Port. We set up the IC2 port for the device in **Init.vi**. Next we loop round the event structure and wait for a button on the Front Panel to be pressed. When a switch is detected (event:Switch1,Switch2,Switch3 or Switch4) **Set Switch.vi** recieves the required settings. If the Load button is pressed the new board address is entered and the system re-initialise. Pressing Stop will fire the Stop event and exit the loop.
Copy file name to clipboardExpand all lines: www/en/modules/ROOT/pages/gadgets-nav.adoc
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,29 +119,28 @@ The Grove - I2C Motor Driver V1.3 (latest version) can directly control Stepper
119
119
120
120
https://wiki.seeedstudio.com/Grove-I2C_Motor_Driver_V1.3/#hardware-overview/[Grove - I2C Motor Driver V1.3]
121
121
122
-
=== Demo Video
122
+
=== Demo Video DC Motor Drive
123
123
124
-
TBD
124
+
This video demonstrates the Grove L298 Motor Drive board used with 2 DC motors.
125
125
126
-
video::_c_6OBtgLvg[youtube]
126
+
video::j-9ya1YdSZY[youtube]
127
127
128
128
=== Example Code
129
129
130
-
== Encoder
131
-
132
-
=== Hardware Details
133
-
134
-
130
+
Navigate to >>Scratchpad>>Grove>>Gadgets>>Motor Drive>>**I2C L298P DC Motor Drive.vi**
135
131
132
+
image::GroveI2CDCMotorDriveL298-Project.png[]
136
133
137
-
=== Demo Video
138
-
134
+
This VI uses the L298P board to rotate 2 wheels forward and backward. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
139
135
140
-
=== Example Code
136
+
image::GroveI2CDCMotorDriveL298-FP.png[]
141
137
138
+
On the block diagram you can see that the selected Grove connector dictates the GPIO Pins used for communication. This session connection is input into **Grove I2C L298P Motor Drive.lvclass:Init**. Next we set the PWM frequency to 515Hz using **Grove I2C L298P Motor Drive.lvclass:Set PWM Frequency.vi**. We the loop round the event structure waiting for Value Change events for the Steering, Speed, M1 and M2 sliders.
139
+
Pressing Stop will fire the Stop event and exit the loop.
Copy file name to clipboardExpand all lines: www/en/modules/ROOT/pages/sensors.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ image::NAU7802Wiring.png[]
106
106
107
107
Here is a video that shows the set-up and running of the Adafruit NAU7802 I2C Strain Gauge Module
108
108
109
-
video::BdaQqxTZXwk[youtube]
109
+
video::dy8eHkbQ16g[youtube]
110
110
111
111
=== Example Code
112
112
@@ -119,7 +119,7 @@ This VI uses NAU7802 Strain Gauge IC. Select the port for the connected Pico and
119
119
image::NAU7802I2CStrainGaugeModule-FP.png[]
120
120
121
121
On the block diagram you can see that the selected Grove connector is input into *Adafruit NAU7802 24bit Strain Gauge.lvclass:Init.vi*. We then can set PU_CTRL Register to start measuring using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Set PU_CTRL.vi* and set up the ADC using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Set ADC.vi*
122
-
Next we loop round the event structure and use the timeout to poll the Sensors using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Read PU_CTRL.vi* if the Cycle Ready bit is high it means there is a reading available. If a reading is available we get the 24 bits using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Read ADC.vi*. Pressing Stop will fire the Stop event and exit the loop.
122
+
Next we loop round the event structure and use the timeout to poll the Sensors using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Read PU_CTRL.vi* if the Cycle Ready bit is high it means there is a reading available. The timeout of the event loop is adjusted to suit the Samples Per Second. If a reading is available we get the 24 bits using *Adafruit NAU7802 24bit Strain Gauge.lvclass:Read ADC.vi*. Pressing Stop will fire the Stop event and exit the loop.
0 commit comments