NAU7802 Basic Reading

Materials

Example

Introduction

This example shows how to use SparkFun NAU7802 to get raw readings from a Load Cell.

Procedure

Connect the Load Cell to NAU7802.

  • Connect the red wire of Load Cell to RED pin (Excitation +) of NAU7802.

  • Connect the black wire of Load Cell to BLK pin (Excitation -) of NAU7802.

  • Connect the green wire of Load Cell to GRN pin (Signal +) of NAU7802.

  • Connect the white wire of Load Cell to WHT pin (Signal -) of NAU7802.

Connect the AMB82-mini to NAU7802.

  • Connect the VDD33 of AMB82-mini to 3V3 of NAU7802.

  • Connect the GND of AMB82-mini to GND of NAU7802.

  • Connect the Pin 12 (I2C_SDA pin) of AMB82-mini to SDA of NAU7802.

  • Connect the Pin 13 (I2C_SCL pin) of AMB82-mini to SCL of NAU7802.

Note

Download User Guide to understand more on pin definition.

Tip

Depending on your NAU7802 version, some may support 5V+ operating voltage—please check the official website before you connect to a 5V power supply. If your NAU7802 supports 5V+ operating voltage, connecting to V_USB instead of VDD33 tends to have less jitter effect.

The final wiring should look like the diagram below.

image01

Open the example in File -> Examples -> AmebaWire -> NAU7802 -> BasicReading

image02

Compile and run the example.

image03

The measurements from the Load Cell will be printed at 1s interval. Please take note that this is raw and amplified readings from the Load Cell. We will learn how to calibrate this setup in the NAU7802 Complete Scale example, so that the output is actually meaningful in grams.