Skip to content

Commit a2df014

Browse files
committed
Added NAU7802 Sensor
1 parent 6b872ce commit a2df014

6 files changed

Lines changed: 40 additions & 1 deletion

File tree

198 KB
Loading
78.2 KB
Loading
66.6 KB
Loading
123 KB
Loading
43.6 KB
Loading

www/en/modules/ROOT/pages/sensors.adoc

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,47 @@ Next we loop round the event structure and use the timeout to poll the Sensors u
7272

7373
image::GroveI2CThermocoupleAmpMCP9600-BD.png[]
7474

75-
== Grove I2C Strain Gauge
75+
== Adafruit NAU7802 I2C Strain Gauge Module
7676

7777
=== Overview
7878

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.
90+
91+
https://www.nuvoton.com/export/resource-files/en-us--DS_NAU7802_DataSheet_EN_Rev2.4.pdf[NAU7802 Datasheet]
92+
93+
https://www.aliexpress.com/item/1005009558761314.html?spm=a2g0o.order_list.order_list_main.5.1a411802PrK5PB[NAU 7802 Strain Gauge Module]
94+
95+
https://www.aliexpress.com/item/1005007487468178.html?spm=a2g0o.order_detail.order_detail_item.3.15e0f19c1xp3TH[Strain Gauge]
96+
97+
=== Demo Video
98+
99+
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.
115+
116+
image::NAU7802I2CStrainGaugeModule-BD.png[]
117+
79118

0 commit comments

Comments
 (0)