Loadcell Program

how to program loadcell to turn on the fan ?, in this forum only program to make the scales.
thank’s

Imagine scales with a threshold.