PC Oscilloscopes

Oscilloscope Logic Analyzer

without comments

Oscilloscope Logic Analyzer
How do I use a Logic analyzer to program a micro controller?

I am using a IR LED to pick up the signal sent out from an A/C remote. The signal i found out can be read by a logic analyzer and used to program a microcontroller to send that signal. is this the correct route to take or is there a more efficient way from using the Oscilloscope.

I assume you have a signal as in the examples in the link below. I mean, the bits in the signal are square as in the diagram. I think it best to use an oscilloscope, so you can be sure the photo-diode is working properly. The diode needs to be loaded by a resistor across it so that it can work fast enough to show the waveforms properly. All bits should be the same height and square shaped. If the resistor loads the diode to about 50mV or less it should be fast enough. You have to experiment to find that value. Keep it the same distance but very close to the remote controller. A logic analyser is overkill for this and unnecessarily confusing. It works with digital signals. If the logic analyser has a function so it can decode these protocols it would be helpful though, once you converted the IR signal to a digital signal). I expect it needs some sort of analogue signal processing. The oscilloscope does not need this.

Next you need to record the sequences for different buttons and then program a microprocessor or other hardware to generate that code while driving an IR led. If you don't need to decode it that is simpler. There are several protocols used with address and data sections of the sequence for example. The air-conditioner will be controlled by the data sequence, while the address makes sure just that particular unit is controlled, not the TV or something else.

There is an example program using assembler language for decoding in the link below, but it refers to a specific protocol type. You will have to learn how to program a pic (micro-controller) device as in the article, but there are many websites that explain how to do that. Basically the pic is programmed from a PC using a serial port and either an on board programmer or a separate programming unit the chip is plugged into. The website in the first link has most of the information you need, but it may not apply to your system, so you learn from that, or search for something more suitable. If you can identify the protocol that will make it easier to search for example code. You can search for more protocol descriptions too.

It might be possible to program the pic to record code sequences from the remote controller and replay them when you press a button connected to a pic digital input. This means you would need no knowledge of the code itself as it is not being decoded. It is more like a tape recorder, recording the details without understanding them.

The second link shows a data sheet for a 3 pin device (TSOP1840) used in the first link. It includes the IR receiver and converts its signal to a serial data stream ready for decoding. It needs to be selected for the specific carrier frequency. This simplifies the analog side of things considerably.

The third link shows an IR extender. This is an IR repeater, it just receives the signal and retransmits it, but it shows how the IR components connect.

One way to get a clean signal from your remote is to disconnect the IR diode and connect a resistor in its place, say 1K. Now connect the oscilloscope across that.

Note that IR leds are pulsed at heavy currents - so much so that they cannot be on all the time.

A look at what is currently available on eBay

USB Oscilloscope & Logic Analyzer & Signal Generator
USB Oscilloscope & Logic Analyzer & Signal Generator
US $21.90
HP 1662AS Logic Analyzer / HP Digital Oscilloscope 250 MHz Two Channels
HP 1662AS Logic Analyzer / HP Digital Oscilloscope 250 MHz Two Channels
US $420.00
HP 1653B Logic Analyzer / HP Digital Oscilloscope / Including Probes and Cables
HP 1653B Logic Analyzer / HP Digital Oscilloscope / Including Probes and Cables
US $199.00
HP 1660AS Logic Analyzer / Oscilloscope E4E ABC121
HP 1660AS Logic Analyzer / Oscilloscope E4E ABC121
US $499.99
HP 1660CS Logic Analyzer/Oscilloscope, 136 Channels, Portable - Tested & Working
HP 1660CS Logic Analyzer/Oscilloscope, 136 Channels, Portable - Tested & Working
US $795.00
HP Agilent 1661CS Logic Analyzer / Oscilloscope
HP Agilent 1661CS Logic Analyzer / Oscilloscope
US $895.00
AVR Arduino USB Programmer +Logic Analyzer Oscilloscope
AVR Arduino USB Programmer +Logic Analyzer Oscilloscope
US $21.90
Agilent 1672G /02/03 68CH Logic Analyzer 500MHz 2ch Digital Oscilloscope
Agilent 1672G /02/03 68CH Logic Analyzer 500MHz 2ch Digital Oscilloscope
US $3,450.00
New OWON MSO8202T Series Mixed Logic Analyzer Oscilloscope 200Mhz 7.8'' LCD 2G
New OWON MSO8202T Series Mixed Logic Analyzer Oscilloscope 200Mhz 7.8'' LCD 2G
US $1,020.00
LA-5034 Probes Digital Logic Analyzer Oscilloscopes
LA-5034 Probes Digital Logic Analyzer Oscilloscopes
US $205.99
TEKTRONIX TLS216 LOGIC ANALYZER + DIGITAL OSCILLOSCOPE
TEKTRONIX TLS216 LOGIC ANALYZER + DIGITAL OSCILLOSCOPE
US $2,100.00
Owon MSO8102T 100MHz Mixed Logic Analyzer - Oscilloscope
Owon MSO8102T 100MHz Mixed Logic Analyzer - Oscilloscope
US $852.60
Agilent HP 16500C Logic Analyzer w/16534a DIGITAL OSCILLOSCOPE and extra modules
Agilent HP 16500C Logic Analyzer w/16534a DIGITAL OSCILLOSCOPE and extra modules
US $719.10
Rigol Oscilloscope DS1102D 100MHz +16CH logic Analyzer
Rigol Oscilloscope DS1102D 100MHz +16CH logic Analyzer
US $962.00
Oscilloscope Logic Analyzer Sniffer Function Generator
Oscilloscope Logic Analyzer Sniffer Function Generator
US $55.00
HP Agilent 1662AS 68-CH 250 MHz Digital Logic Analyzer Oscilloscope A2838A Pods
HP Agilent 1662AS 68-CH 250 MHz Digital Logic Analyzer Oscilloscope A2838A Pods
US $950.00
RIGOL DS0 1052D Digital Oscilloscope 16-Ch Logic Analyser Analyzer w/ Probe Clip
RIGOL DS0 1052D Digital Oscilloscope 16-Ch Logic Analyser Analyzer w/ Probe Clip
US $899.99
RIGOL DS1102D 1102D Digital Oscilloscope Logic Analyzer 100M DSO Logic Analyser
RIGOL DS1102D 1102D Digital Oscilloscope Logic Analyzer 100M DSO Logic Analyser
US $1,199.00
New 7.8'' LCD Portable OSCILLOSCOPE 100MHz MSO7102T logic analyzer 1G
New 7.8'' LCD Portable OSCILLOSCOPE 100MHz MSO7102T logic analyzer 1G
US $792.00
HP 1631D Logic Analyzer/Oscilloscope   COMPLETE!
HP 1631D Logic Analyzer/Oscilloscope COMPLETE!
US $500.00
MSO7102T 100MHz Digital Oscilloscope logic analyzer 1G
MSO7102T 100MHz Digital Oscilloscope logic analyzer 1G
US $788.00
HP 54645D Mixed Signal Oscilloscope 100Mhz 2CH + 16CH Logic Analyzer.
HP 54645D Mixed Signal Oscilloscope 100Mhz 2CH + 16CH Logic Analyzer.
US $699.00
1652B HP/Agilent Logic Analyzer/Oscilloscope, 100 MHz, 2-Channel
1652B HP/Agilent Logic Analyzer/Oscilloscope, 100 MHz, 2-Channel
US $199.00
NEW Portable OSCILLOSCOPE 100MHz Owon MSO7102T logic analyzer 1G New 7.8'' LCD
NEW Portable OSCILLOSCOPE 100MHz Owon MSO7102T logic analyzer 1G New 7.8'' LCD
US $740.00

Items recently purchased from this site

Agilent MSO6012A/8ML Oscilloscope/Logic Analyzer, 100 MHz, 2+16 CH. w/leadsets!, Agilent MSO6012A/2ML Oscilloscope/Logic Analyzer, 100 MHZ, 2+16 ch., w/leadsets!, Agilent MSO6012A Oscilloscope/Logic Analyzer, 100 MHz, deep memory, w/leasdsets, Agilent 1672G /02/03 68CH Logic Analyzer 500MHz 2ch Digital Oscilloscope , TEKTRONIX TLS216 LOGIC ANALYZER + DIGITAL OSCILLOSCOPE , TEKTRONIX TLS216 LOGIC ANALYZER OSCILLOSCOPE 16CHANNEL 500MHz 2GS/s #1, TEKTRONIX TLS216 LOGIC ANALYZER OSCILLOSCOPE , HP 1663AS Logic Analyzer & 250 Mhz Oscilloscope, DSO DS1102D Digital Oscilloscope Logic Analyzer 100Mhz, DS 1102D Digital Oscilloscope Logic Analyzer 100MHz DSO, HP 1661AS Logic Analyzer/Oscilloscope, 102 CH., 250 MHZ, HP Agilent 1662AS Logic Analyzers / Oscilloscope, Hewlett Pakard 1660AS Logic Analyzer/ Oscilloscope , HP Agilent 1662AS 68-CH Digital Logic Analyzer / 2-CH 250 MHz Oscilloscope, RIGOL DS1102D 1102D Digital Oscilloscope Logic Analyzer 100M DSO Logic Analyser, OWON MSO8202T Mixed Logic Analyzer Oscilloscope 200Mhz 7.8'' LCD 2G battary+ Bag, HP AGILENT 1660CS LOGIC ANALYZER OSCILLOSCOPE 015, DS1102D Digital Oscilloscope Scope DSO Logic Analyzer, DS1102D 100Mhz DSO Digital Oscilloscope Logic Analyzer, 200MHz 2GS/s Oscilloscope 16-Channel Logic Analyzer Multimeter 3in1 USB UTD4202C, Rigol Oscilloscope 100MHz DS1102D 1G SR logic Analyzer, HP Agilent 1662CS Logic Analyzer / Oscilloscope opt 015, Rigol Oscilloscope 50MHz Dual CH DS1052D logic analyzer, Rigol Oscilloscope 50MHz DS1052D 1G SR logic Analyzer, New OWON MSO8202T Series Mixed Logic Analyzer Oscilloscope 200Mhz 7.8'' LCD 2G, HP AGILENT 1662CS LOGIC ANALYZER OSCILLOSCOPE, DSO DS1052D Digital Oscilloscope Logic Analyzer Scope, MSO7102T 100MHz Digital Oscilloscope logic analyzer 1G, Rigol Oscilloscope DS1102D 100MHz +16CH logic Analyzer, Portable OSCILLOSCOPE 100MHz MSO8102T logic analyzer 1G, Owon MSO8202T 200MHz Mixed Logic Analyzer - Oscilloscope, VS5062D USB Virtual Digital Oscilloscope Device DSO Logic Analyzer with Probe , HP Agilent 1662AS 68-CH 250 MHz Digital Logic Analyzer Oscilloscope A2838A Pods, VS5062D Virtual Digital Oscilloscope DSO 16-Ch Logic Analyzer Analyser with Clip, Portable DSO MSO7102T 100MHz Digital Oscilloscope logic analyzer 1GSa/s Big LCD , Portable OSCILLOSCOPE 100MHz MSO7102T logic analyzer 1G, RIGOL DS0 1052D Digital Oscilloscope 16-Ch Logic Analyser Analyzer w/ Probe Clip, HP Agilent 1661CS Logic Analyzer / Oscilloscope , Rigol DS1062 Digital Oscilloscope with logic analyzer adapter, Owon MSO8102T 100MHz Mixed Logic Analyzer - Oscilloscope, NEW Portable OSCILLOSCOPE 100MHz Owon MSO8102T Scope Logic Analyzer Tester 1G, HP Agilent 1663CS Logic Analyzer Oscilloscope Oscope 34, HP 1660CS Logic Analyzer/Oscilloscope, 136 Channels, Portable - Tested & Working, New 7.8'' LCD Portable OSCILLOSCOPE 100MHz MSO7102T logic analyzer 1G, NEW Portable OSCILLOSCOPE 100MHz Owon MSO7102T logic analyzer 1G New 7.8'' LCD, Agilent HP 16500C Logic Analyzer w/16534a DIGITAL OSCILLOSCOPE and extra modules, HP 54645D Mixed Signal Oscilloscope 100Mhz 2CH + 16CH Logic Analyzer., Portable OSCILLOSCOPE 25MHz 2 CH MSO5022 logic analyzer, HP 1631D Logic Analyzer/Oscilloscope COMPLETE!, TEKTRONIX LOGIC ANALYZER iVIEW EXTERNAL OSCILLOSCOPE CABLE, HP 1660AS Logic Analyzer / Oscilloscope E4E ABC121, HP 1662AS Logic Analyzer / HP Digital Oscilloscope 250 MHz Two Channels, HP Agilent 1661AS Logic Analyzer with Oscilloscope (PARTS UNIT), HP 1631D Logic Analyzer / Oscilloscope 5 Leads *** Working ***, Agilent HP 1631D Logic Analyzer/Oscilloscope & Extras 5 Lead Sets Grabber TESTED, Hewlett Packard 1660AS Logic Analyzer/ Oscilloscope, LA-5034 34CH USB Logic Analyzer Oscilloscope 500M, 68KB, LA-5034 Probes Digital Logic Analyzer Oscilloscopes , Hantek LA-5034 34CH USB Logic Analyzer Oscilloscope 500M 68KB, Hewlett Packard 1600AS Logic Analyzer/ Oscilloscope, HP 1653B Logic Analyzer / HP Digital Oscilloscope / Including Probes and Cables, 1652B HP/Agilent Logic Analyzer/Oscilloscope, 100 MHz, 2-Channel, Hewlett Packard 1660CS Logic Analyzer/ Oscilloscope, Oscilloscope Logic Analyzer Sniffer Function Generator, Tektronix 7D01 Oscilloscope Logic Analyzer Plug-In, HP Agilent 5041-9482 546XX Oscilloscope Accessory Pouch Bag Logic Analyzer NEW, AVR Arduino USB Programmer +Logic Analyzer Oscilloscope, USB Oscilloscope & Logic Analyzer & Signal Generator, AGILENT HP TEST SERVICE MANUAL LOGIC ANALYZER PROBE OSCILLOSCOPE MODULE GENERATO,

Leave a Reply

You must be logged in to post a comment.