Arduino folder contains .ino sketches
Python folder contains .py files
Arduino Libraries Used:
Python Libraries Required:
Calibration Instruction
Load Cell Calibration
- Build and upload Calibration.ino sketch onto the arduino UNO
- Connect the load cell and amplifiers as described in the comments
- Open the serial monitor and add a known weight onto the load cell
- If it's not accurate, change the set_scale(value) until it does become accurate
- This value is calculated by using set_scale() with no parameters, taking the output and dividing it by the known weight
- Replace the value, performing trial and error till it's accurate and repeat for each load cell
Build Instructions:
- Ensure the required libraries are preinstalled
- Compile and Upload the ArduinoCTD.ino sketch
- Build and run the mergedBuild.py file to open the GUI
EXE build Instructions
- cx_Freeze required
- In the setup.py file, modify the directory of the includeFiles for your machine.
- run
python setup.py build
in the command line window of the directory - Open the build folder created and run mergedBuild.exe
Arduino begins in STARTUP mode and the buttons will switch the states as shown below