Jun 12, 2006 #1 S sivamit Full Member level 4 Joined Dec 1, 2005 Messages 201 Helped 20 Reputation 40 Reaction score 14 Trophy points 1,298 Activity points 2,651 Hi friends, Can anyone tell me -How to measure the pulse width (in the range of micro seconds) of a pulse? Amplitude level is around 2 volts. And the pulse repetition frequency is 200. Pls.
Hi friends, Can anyone tell me -How to measure the pulse width (in the range of micro seconds) of a pulse? Amplitude level is around 2 volts. And the pulse repetition frequency is 200. Pls.
Jun 12, 2006 #2 I IanP Advanced Member level 7 Joined Oct 5, 2004 Messages 7,929 Helped 2,311 Reputation 4,624 Reaction score 531 Trophy points 1,393 Location West Coast Activity points 66,416 Check out this method: "Pulse-Width Measurement with a Counter" https://zone.ni.com/devzone/conceptd.nsf/webmain/7C77FB9EDC17C3C386256802007B8AB3 Regards, IanP
Check out this method: "Pulse-Width Measurement with a Counter" https://zone.ni.com/devzone/conceptd.nsf/webmain/7C77FB9EDC17C3C386256802007B8AB3 Regards, IanP
Mar 27, 2010 #3 H hami007 Newbie level 5 Joined Nov 1, 2008 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,396 u can do it by using int0 or int1 and gate in the timer mode of 8051 use that condition MOV TMOD,#00001001B MOV TH0,#0 MOV TL0,#0 SETB TR0 JNB P3.2,$ JB P3.2,$ MOV R2,TH0 MOV R3,TL0 MOV A,#0FFH SUBB A,R3 MOV R4,A MOV A,#0FFH SUBB A,R2 MOV R5,A MOV TMOD,#10H MOV TH1,R5 MOV TL1,R4 SETB P2.2 SETB TR1 JNB TF1,$ CLR P2.2 CALL DELAY CLR TR1 CLR TF1
u can do it by using int0 or int1 and gate in the timer mode of 8051 use that condition MOV TMOD,#00001001B MOV TH0,#0 MOV TL0,#0 SETB TR0 JNB P3.2,$ JB P3.2,$ MOV R2,TH0 MOV R3,TL0 MOV A,#0FFH SUBB A,R3 MOV R4,A MOV A,#0FFH SUBB A,R2 MOV R5,A MOV TMOD,#10H MOV TH1,R5 MOV TL1,R4 SETB P2.2 SETB TR1 JNB TF1,$ CLR P2.2 CALL DELAY CLR TR1 CLR TF1