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/sensors.adoc
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,47 @@ Next we loop round the event structure and use the timeout to poll the Sensors u
72
72
73
73
image::GroveI2CThermocoupleAmpMCP9600-BD.png[]
74
74
75
-
== Grove I2C Strain Gauge
75
+
== Adafruit NAU7802 I2C Strain Gauge Module
76
76
77
77
=== Overview
78
78
79
+
A strain gauge (also spelled strain gage) is a device used to measure strain on an object. Invented by Edward E. Simmons and Arthur C. Ruge in 1938, the most common type of strain gauge consists of an insulating flexible backing which supports a metallic foil pattern. As the object is deformed, the foil is deformed, causing its electrical resistance to change. This resistance change, usually measured using a Wheatstone bridge, is related to the strain by the quantity known as the gauge factor.
80
+
81
+
From https://en.wikipedia.org/wiki/Strain_gauge[Wikipedia]
82
+
83
+
=== Hardware Details
84
+
85
+
The NAU7802 module contains a super-high-resolution 24-Bit differential ADC with extra gain and calibration circuitry that makes it perfect for measuring strain gauges / load cells or other sensors that have four wires that are connected in a Wheatstone bridge arrangement.
86
+
87
+
image::NAU7802CCT.png[]
88
+
89
+
Each breakout comes with a NAU7802 ADC chip, plus some support circuitry, and 4 terminal blocks that can be used to connect a 4-wire sensor.
Here is a video that shows the set-up and running of the Adafruit NAU7802 I2C Strain Gauge Module
100
+
101
+
video::BdaQqxTZXwk[youtube]
102
+
103
+
=== Example Code
104
+
105
+
Navigate to >>Scratchpad>>Grove>>Sensors>>**I2C NAU7802 Strain 24 Bit Gauge.vi**
106
+
107
+
image::NAU7802I2CStrainGaugeModule-Project.png[]
108
+
109
+
This VI uses NAU7802 Strain Gauge IC. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
110
+
111
+
image::NAU7802I2CStrainGaugeModule-FP.png[]
112
+
113
+
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*
114
+
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.
0 commit comments