Hello, I need some help. I want to generate pulse base on binary. Example. I need to send : 11001100 to IR led. So, pulse to send that signal like? freq= 38kHz Thank you
:
Moved by Moderator
Lê Q. schrieb: > I want to generate pulse base on binary. > I need to send : 11001100 to IR led. Thats all? Nothing more? I would use a ATtiny10 and 20 lines of code. > I need some help. Whats the problem?
Without Software: Paralell-In/Serial Out 8 Bit Shift Register (74xx165, 74xx589, ...) and Clock Generator.
> I need to send : 11001100 to IR led. > freq= 38kHz That's a 9500Hz square wave ...
Dear Lothar M. This is my Example. I receive IR signal by IR receiver. And I convert it to binary and save it. Now I want to emit it by IR led. Example I recieve IR signal after converting: 1010000010010100010100011000001101100000010101011000010001010100. I need to emit it to IR led. How can I do?
qa wrote: > I need some code to do it. It looks like that you have a computer. So just write your program.
qa wrote: > I receive IR signal by IR receiver. And I convert it to binary and save > it. What do you mean with 'convert to binary'? What you receive, IS binary already. > Now I want to emit it by IR led. > Example I recieve IR signal after converting: > 1010000010010100010100011000001101100000010101011000010001010100. > I need to emit it to IR led. > How can I do? You need more than the carrier frequency and the bits to modulate. The missing is the duration of each bit. Best in units of periods of the carrier frequency.