I have been trying to send a 50Hz square wave pulse (almost square wave) from 1 uno to another uno. Been using Lora 1276 for this purpose. I used the analog map function for sending the continuous pulse. Issue that I face is, at the receiving end, the signal that I obtain is of 490Hz (PWM frequency). How do I get back my 50Hz pulse? Its a sync pulse, used for synchronisation of tx and rx stations. Therefore, the pulse generated should be precisely obtained at the receiver. Will a DAC do the job ? Received signal can be 49, 50 or 51 Hz.. Looking for a solid solution.
first of all, let me give you a brief idea about the application. its hard to describe it in a write up, that's why i didn't go very deep into that subject.. anyways, listen....
its for synchronising two independent devices, which operate at 230V, 50Hz, AC. there are situations when these devices go out of phase and make unwanted results. to keep all the devices in phase and work in a synchronised manner, I'm planning to share/feed this synch pulse to all the independent devices within a range of 50m.
It's not a pure square wave. For testing purpose , I'm using a 50 duty cycle pure square wave. but in actual case, the duty cycle of the synch pulse is something like 15% or 20%.
And what ever I said must have flown over your head. You describe what you have. What you have is what you should expect to have if you do the process you describe. Where is the mystery?
Maybe you want something different, if so you have to do something different, but you have to tell what it is. You speak of getting back to a 50Hz signal. But you never had one in the first place so how can you get back it it? I would change the translation program you are using, it is not serving you well.
hi @TomGeorge , the devices are located (for eg: like in different shops / stalls). therefore, there is a chance for phase difference in the supplies used(different people use different phases like R or Y or B. Thats what makes this complex..