02-25-2017, 04:39 PM
(02-25-2017, 03:08 PM)edeeec Wrote: Scale connected to one half of 339. Clock and data connected to P2.1 and P2.4. Powered up, connected. Scale and display zeroed. Scale moved, display Y axis and scale value match.
Powered down, P2.1 linked to P2.0 P2.4 linked to P2.5, powered up ,connected.
Y axis display now continually jumping about. If the scale is moved X axis value changes and a number shows without changing most of the time but then for a fraction will show a completely different number..
Powered down.
Just for fun P2.1 linked to P2.5 and P2.4 linked to P2.0. Powered up connected.
X axis jumps about erratically however Y axis now stable and correct and following the scale.
Is the controller trying to supply the clock? I believe you need to do that on some types of scales.
Let me know if you need more tests
ATB
Richard
Richard,
Mixed firmware provides the clock via a separate pin.
Do you have pull up or pull up resistor on the input pins? Are those the same value?
Also, do you have another chip to try. It's unlikely that the silicone is defective but not completely implausible.
Regards
Yuriy