Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I am new to the logic analyzer mode of Bus Pirate, so to play with it i connected channel 3(MOSI) line to the output of an TSOP1708 IR decoder to see if the capture came through.

However when I complete the capture all i get is a flat line @ HIGH. and because of this, trigerring does not work obviously since the signal does not seem to change at all.

I know my setup is working with the TSOP1708 output connected to a LED, which flashes when I press the remote.

Any idea what i might be doing wrong ??

share|improve this question

2 Answers

Got it. I had forgotten all about the bus pirates small sampling size (4096 samples). So at a sampling rate of 1Mhz, trying to capture IR signals (approx 38KHz), the sampling was complete even before the IR signal had a chance to change !

Thank you all for help.

share|improve this answer

Your logic levels may not be set right for the BusPirate or the carrier frequency is not matched within a few %. 38KHz ? The BPF has a Q of 10 or in other words the 3dB BW is 10% of the IR Rx.

You need to supply 10K resistor between 5V and RX-pin for debug adapter input. Choose an SMT part and solder across the plug exposed wires. This doesn't explain why they are always high so make sure you have adequate cap across IR detector and check your logic threshold is not too low in the BusPirate and check that the ground levels are common with a DMM. 1.2V for TTL, 2.5V for HCMOS on 5V logic.

Mfg suggested filter is below. enter image description here

share|improve this answer
this might sound stupid .. but when i had sampled first i chose a sampling frequency @ 1Mhz. The IR freq is around 38Khz. So just to see what happens, I sampled @ 40Khz and I am able to get the data just fine. Cant understand why sampling at much higher rate than my data would be a problem ? i can see how sampling at lower rate can be a problem, but sampling at higher rate i cant understand – Ankit Oct 12 '12 at 15:18
If by sampling you mean mixing the output with a clock (AND/NAND) this is effectively AM modulation of as clock carrier. THe IR has a bandpass filter that rejects adjacent channels and 1MHz is far far away. Gain of the receiver has AGC but for optimum distance, you want to be within a few % of the designed carrier of the chip. – Tony Stewart Oct 12 '12 at 15:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.