A wear sensor for a wear element in a bucket of an earth moving machine that comprises a sensing electric circuit and at least one elongated arm extending in a direction of detection defining a longitudinal axis, said elongated arm having a base and an end, where said end is suitable for being worn together with the wear material of the wear element, where said elongated arm comprises a plurality of electrical connections forming part of said sensing electric circuit and extending different lengths with respect to one another, measured according to said longitudinal axis along said arm, said sensor being formed by two portions which are two physically independent parts, where a first portion comprises said elongated arm and wireless interconnection means and a second portion comprises a detection circuit suitable for detecting the failure of each of said electrical connections, a data transmission circuit with a radio-frequency emitter, where said radio-frequency emitter emits in a frequency comprised between 50 MHz and 990 MHz, and second wireless interconnection means suitable for establishing a wireless connection with said wireless interconnection means,
- wherein said electrical connections are part of a plurality of LC circuits connected in cascade to one another, where said second portion is able to transmit a pre-established signal to said sensing electric circuit through said second wireless interconnection and said wireless interconnection, said pre-established signal is a variable signal, said detection circuit is suitable for detecting the resonance of said plurality of LC circuits at said pre-established signal.