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
Copy file name to clipboardExpand all lines: www/en/modules/ROOT/pages/displays-nav.adoc
+25-22Lines changed: 25 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,15 @@ Navigate to >>Scratchpad>>Grove>>Digital Inputs>>Grove Digital Out.vi
27
27
28
28
image::GroveRGBI2CLCDProject.png[]
29
29
30
-
This particular VI uses the Green LED. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
30
+
This VI uses sends text to the LCD display and also changes the backlight color. It communicates to 2 different I2C addresses to achieve this.
31
31
32
-
When you press the [Control Button] the LED should toggle on and off.
32
+
Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
33
33
34
-
Links to various other similar boards are also on the Front Panel.
34
+
I've only implemented and tested the basic functionality for this board, so Write Text works, Clear and Home works and SetBacklight.
35
35
36
36
image::GroveRGBI2CLCDFP.png[]
37
37
38
-
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin and we then set the pin to [Out]. Next we loop round and event structure and use the Control Value Change Event to set the LED. Pressing Stop will fire the Stop event and exit the loop.
39
-
The video also shows the same VI being used to switch a relay on and off.
38
+
dictates the GPIO Pin for the IC2 Port. We set up the IC2 port for the device in **Grove I2C LCD.lvclass:Init.vi** and **Grove I2C RGB SGM31323.lvclass:Init.vi**. Next we loop round the event structure and wait for a button on the Front Panel to be pressed. When a button is detected (event:button>>Value Change will fire) the associated VI will run. Explore the different events to see how they operate. Pressing Stop will fire the Stop event and exit the loop.
40
39
41
40
image::GroveRGBI2CLCDBD.png[]
42
41
@@ -63,16 +62,17 @@ Navigate to >>Scratchpad>>Grove>>Displays>>I2C Grove 64x128OLED_SSD1315_Graph.vi
63
62
64
63
image::GroveOLED64x128-SSD1315-GraphProject.png[]
65
64
66
-
This particular VI uses the Green LED. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
65
+
This particular VI builds a small graph image in a 2D picture control. This picture control is converted to a monochrome image and this image is converted into messages n I2C. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
67
66
68
-
When you press the [Control Button] the LED should toggle on and off.
69
-
70
-
Links to various other similar boards are also on the Front Panel.
67
+
You should see the graph fillng up with random numbers.
71
68
72
69
image::GroveOLED64x128-SSD1315-GraphFP.png[]
73
70
74
-
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin and we then set the pin to [Out]. Next we loop round and event structure and use the Control Value Change Event to set the LED. Pressing Stop will fire the Stop event and exit the loop.
75
-
The video also shows the same VI being used to switch a relay on and off.
71
+
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin used by the I2C port.
72
+
73
+
We set up the IC2 port for the device in **64x128 I2C OLED SSD1315.lvclass:Init.vi**, this VI also outputs a picture of the correct dimensions as a template. The While Loop will now iterate every 200msecs adding a random number to the 100 element rolling buffer. This buffer is input to Plot XY.vi that creates the picture to fit our template. This picture is input into **64x128 I2C OLED SSD1315.lvclass:Write Image.vi** that converts and transmits all the I2C messages.
74
+
75
+
Pressing Stop will exit the loop.
76
76
77
77
image::GroveOLED64x128-SSD1315-GraphBD.png[]
78
78
@@ -97,16 +97,15 @@ Navigate to >>Scratchpad>>Grove>>Displays>>I2C Grove 64x48OLED_SSD1306_Graph.vi
97
97
98
98
image::GroveOLED64x48-SSD1306-GraphProject.png[]
99
99
100
-
This particular VI uses the Green LED. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
100
+
This particular VI builds a small graph image in a 2D picture control. This picture control is converted to a monochrome image and this image is converted into messages n I2C. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
101
101
102
-
When you press the [Control Button] the LED should toggle on and off.
102
+
image::GroveOLED64x48-SSD1306-GraphFP.png[]
103
103
104
-
Links to various other similar boards are also on the Front Panel.
104
+
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin used by the I2C port.
105
105
106
-
image::GroveOLED64x48-SSD1306-GraphFP.png[]
106
+
We set up the IC2 port for the device in **64x48 I2C OLED SSD1306.lvclass:Init.vi**, this VI also outputs a picture of the correct dimensions as a template. The While Loop will now iterate every 200msecs adding a random number to the 100 element rolling buffer. This buffer is input to Plot XY.vi that creates the picture to fit our template. This picture is input into **64x48 I2C OLED SSD1306.lvclass:Write Image.vi** that converts and transmits all the I2C messages.
107
107
108
-
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin and we then set the pin to [Out]. Next we loop round and event structure and use the Control Value Change Event to set the LED. Pressing Stop will fire the Stop event and exit the loop.
109
-
The video also shows the same VI being used to switch a relay on and off.
108
+
Pressing Stop will exit the loop.
110
109
111
110
image::GroveOLED64x48-SSD1306-GraphBD.png[]
112
111
@@ -131,16 +130,20 @@ Navigate to >>Scratchpad>>Grove>>Displays>>I2C Grove 8x8 Matrix LED Examples.vi
131
130
132
131
image::Grove8x8RGBLEDExamplesProject.png[]
133
132
134
-
This particular VI uses the Green LED. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
133
+
Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
134
+
135
+
Various pre-programed examples are available by selecting the colour from the Colour enum and then pressing Set Number or Set String to display your chosen number or string.
135
136
136
-
When you press the [Control Button] the LED should toggle on and off.
137
+
Set Emoji or Set Animation will display your selected Emoji or Animation.
137
138
138
-
Links to various other similar boards are also on the Front Panel.
139
139
140
140
image::Grove8x8RGBLEDExamplesFP.png[]
141
141
142
-
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin and we then set the pin to [Out]. Next we loop round and event structure and use the Control Value Change Event to set the LED. Pressing Stop will fire the Stop event and exit the loop.
143
-
The video also shows the same VI being used to switch a relay on and off.
142
+
We set up the IC2 port for the device in **Grove 2 RGB LED Matrix.lvclass:Init**
143
+
144
+
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin for the I2C Connector. Next we loop round an event structure and use the detect button value change events for Set Number, Set String, Set Emojo or Set Animation. The fired event will use the associated data as an input to the selected function.
145
+
146
+
Pressing Stop will fire the Stop event and exit the loop.
The sensor on Grove - Gesture is PAJ7620U2 that integrates gesture recognition function with general I2C interface into a single chip. It can recognize 9 basic gestures, and these gestures information can be simply accessed via the I2C bus.
@@ -37,15 +39,18 @@ The video also shows the same VI being used to switch a relay on and off.
37
39
image::GroveDigitalOutLEDBD.png[]
38
40
39
41
== Grove 6 Axis Gyro Accellerometer
42
+
43
+
Grove - 6-Axis Accelerometer&Gyroscope is a cost-effective Grove interfaced and integrated sensor combination of 3-axis digital accelerometer and 3-axis digital gyroscope.
The Grove - Infrared Temperature Sensor Array (AMG8833) is a high precision infrared array sensor which based on advanced MEMS technology. It can support temperature detection of two-dimensional area: 8 × 8 (64 pixels) and maximum 7 meters detection distance.
The Grove - I2C Motor Driver V1.3 (latest version) can directly control Stepper Motor or DC Motor. Its heart is a dual channel H-bridge driver chip(L298N)that can handle current up to 2A per channel, controlled by an Atmel ATmega8L which handles the I2C communication with platforms such as Arduino. Both motors can be driven simultaneously while set to a different speed and direction. It can power two brushed DC motors or one 4-wire two-phase stepper motor. It requires a 6V to 15V power supply to power the motor and has an onboard 5V voltage regulator which can power the I2C bus and the Arduino(selectable by jumper). All driver lines are protected by diodes from back-EMF.
0 commit comments