Difference between revisions of "Crowtail-Weight Sensor"
Jump to navigation
Jump to search
Line 107: | Line 107: | ||
:STEP3 Install Library: Unzip the WeightSensorProgramFiles.zip file and copy folder hx711 to the Libraries directory under the Arduino installation directory | :STEP3 Install Library: Unzip the WeightSensorProgramFiles.zip file and copy folder hx711 to the Libraries directory under the Arduino installation directory | ||
:[[File:Weight sensor libraries.jpg|600px]] | :[[File:Weight sensor libraries.jpg|600px]] | ||
+ | |||
:STEP4 Load the program file SerialScale.ino to Arduino IDE | :STEP4 Load the program file SerialScale.ino to Arduino IDE | ||
Line 137: | Line 138: | ||
:STEP5 Click the [[Image:Upload.png|30px]] to upload the code to the Crowduino board | :STEP5 Click the [[Image:Upload.png|30px]] to upload the code to the Crowduino board | ||
− | |||
:STEP6 After the program is burned, open the serial port monitor of Arduino IDE, set baud rate to 9600, and put no weight on the acrylic board, then the serial port print will be 0G, as shown in the figure: | :STEP6 After the program is burned, open the serial port monitor of Arduino IDE, set baud rate to 9600, and put no weight on the acrylic board, then the serial port print will be 0G, as shown in the figure: |
Revision as of 03:37, 2 June 2022
Contents
Description
This is a crowtail series of load cell kits, by using it, you can DIY their own electronic scales, and it is compatible with Arduino, it is also very convenient to use, in your Arduino project, and it can serve as a good Own role. It uses the HX711 amplifier, HX711 is a precision 24-bit analog-to-digital converter (ADC) designed for weighING scales and industrial control applications to interface directly with a bridge sensor and the measurement range of weight sensor is 0-3000g
Model: CRT94077W
Features
- Crowtail interface
- Low standby current
- High accuracy
Specifications
Item | Value |
Working Voltage | DC 5V |
Working Current | 400mA |
Standby current | 200uA |
Operation temperature range | -40℃ to +85℃ |
Weight sensor capacity | 3kg |
Dimensions(mm)t | 40.0(L)x20.0(W)x6.8(H) |
Interface
Platforms Supported
Arduino |
Usage
Hardware
- STEP1 Prepare the below stuffs:
Crowduino Uno Base Shield Crowtail-Weight Sensor Get one now Get one now Get one now
- STEP2 Plug Crowtail-Base Shield into Crowduino Uno;
- STEP3 Set Crowtail-Weight Sensor to I²C port of Crowtail-Base Shield;
- STEP4 Plug acrylic board to ABCD interface of Crowtail-Weight Sensor;
- STEP5 Connect Crowduino Uno to PC via a Mini USB cable.
NOTE If we don't have Crowtail Base Shield, We also can directly connect this module to Crowduino Uno as below.
Crowduino Uno Weight Sensor A4(J7) SDA A5(J7) SCL 5V VCC GND GND
Software
- STEP 1.Download program filesWeightSensorProgramFiles.zip
- STEP2 Configure controller board&communication port
- On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Nano” from the available options
- 700px
- Select the COM port that indicates Arduino Uno. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
- STEP3 Install Library: Unzip the WeightSensorProgramFiles.zip file and copy folder hx711 to the Libraries directory under the Arduino installation directory
- STEP4 Load the program file SerialScale.ino to Arduino IDE
// Hx711.DOUT - pin #A1 // Hx711.SCK - pin #A0 #include "HX711.h" //Hx711 scale(SCL, SDA); void setup() { Init_Hx711(); Get_Maopi(); //clear the weight delay(3000); Serial.begin(9600); } void loop() { Serial.print(abs(Get_Weight()), 1); Serial.println(" g"); //delay(10); }
- STEP6 After the program is burned, open the serial port monitor of Arduino IDE, set baud rate to 9600, and put no weight on the acrylic board, then the serial port print will be 0G, as shown in the figure:
- STEP7 Put the weight on the acrylic plate, and the serial port will print the corresponding weight. For example, if I put a 50g weight, the serial port will print 50g, and the serial port print value is consistent with the actual value, as shown in the figure:
FAQS
- You can list you question here or contact with techsupport@elecrow.com for technology support.
Resources
Crowtail-Weight_Sensor-V2.0-Eagle.zip
WeightSensorProgramFiles.zip