Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

help in my IR cut beam !

Status
Not open for further replies.

asrock

Junior Member level 3
Joined
Sep 10, 2010
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,538
hello every one



i have a simple project that just detects an IR cut beam

i use 16f877 - MikroC , with receiver and transmitter of IR

here i use PWM in pic to generate frequency to the transmitter , that's code
Code:
PWM1_Init(38000);
PWM1_Set_Duty(255);
PWM1_Start();
that's mean ,,, i want to generate a permanently signal with 35KHz -IR

but here in receiver ,, how it will detect the beam if it cutted of no !!!

i searched and i found many protocols and decoding bits.....
but i think that my projects is more simple ,, just IR beam if cutted , the receiver give a flag to PIC to execute any other function.


any one here can help me !!

greatings :)
 

hexreader

Advanced Member level 2
Joined
Apr 7, 2011
Messages
536
Helped
194
Reputation
392
Reaction score
196
Trophy points
1,323
Location
England
Activity points
4,674
i want to generate a permanently signal with 35KHz -IR
Do you mean 38kHz IR?

What receiver are you using?

The 3-pin receiver chips that I know of will not work with steady 38kHz signal. They need modulation of (typically) around 1 or 2 kHz.

something like:

1 Send 38kHz for 500us
2 Send nothing for 500us
3 go to step 1
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top