Hello,
I have problems running the program in the attachment.
The part of the Sonar sensors (HC-SR04) and the display are working fine.
The problem is the weighing part.
It gives random results when using the RGB LED display, but when I use the calibrating program for loadcells in combination with a HX711 board, displayed by the serial monitor, the values are correct.
The program does the following:
- check if there is a vehicle at the beginning (using HC-SR04)
- when light is green check position of the vehicle on the weighbridge and when it het reached the center display STOP (using HC_SR04)
- the weighing process start and will be displayed (using loadcells with HX711 board)
- vehicle can drive from the weighbridge
- check if weighbridge is empty. (using HC-SR04)
- start at beginning (number 1)
Can it be that the complete program is to much for a Arduino mega? memory?
Or is there a programming issue?
I hope someone can help me.
Thanks in advance.
wieghbridge V3.09.txt (12.8 KB)