I am a programmer facing an electronic question, so I thought here is the place to ask!
- I have a magnetic field sensor which provides me with magnetic field values (XYZ axis) 250 times a second.
- An electronic circuit with a programmable microprocessor controls a coil, which can change the magnetic field close enough to this sensor. Yet, the two devices are not strictly positioned, so I cannot relay on positioning measurement.
- I wish to send 2 different types of signals from the circuit to the sensor, which can withstand strong noises on the magnetic field, and be shorter than half a second (Yes, seconds - we are in 250 Hz !)
Current solution is to transmit a 17Hz square wave, then 12Hz, then 17Hz for signal A, reversing the order for signal B. But in order to detect these signals it is needed to send long enough waves, which brings the signals to length around 1.5 seconds.
So, my question here is: Is there a way, let's say a pattern, like musical pattern that can be used to signal faster, and still be reliable?