Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#286255 - 31/08/2006 18:23 Anyone built a homebrew lirc IR receiver?
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
I've been using an IRman for years but recently bought a Sky Navigator remote to use with my mythbox, the reason being was that it had a keyboard which I thought would be useful. Anyways, the remote and IRman don't get on so I looked for a replacement. The IRman uses lirc anyway so I thought I'd build the 'homebrew' serial receiver.

I had all bar one of the components hanging around so I stuck a TSOP1738 on a recent CPC order and decided to build one.

The details are here:

http://www.lirc.org/receivers.html

Schematic is here:

Code:

IC1 = TSOP 1738
+-----------------------+ 3 R1 (4k7)
| data -> +--------------------------------+------------o DCD
| | _______ |
| ______________ | | 78L05 | | | D1 (1N4148)
| / | +-----+-----|OUT IN|--+ | |
| ( | 2 | | + |__GND__| | | | /|
| \______________ + +----+ ----- | +----+------|< |--o RTS
| | ----- | IC2 | \|
| | 1 | |
| - +----------+---------+------------------------o GND
+-----------------------+ C1 (4.7µF)




To put it bluntly, it doesn't work. The serial port of every machine I have at home (7 or 8, must try harder) is seemingly unable to supply the voltage under load resulting in just over 3V going into the TSOP, not enough, the minimum is 4.5V. So, I decide to power it off the internal 5v rail via one of the molex's. The reg finally puts out a good 5V but this then shows up another problem, the data line is then tied high at 10V (the TSOP is running at 5 remember) and it melts the bugger (good job i bought a few).

Am I being an idiot, or is this design ill-conceived? Given this circuit is basically a reg, a cap, a diode and a resistor, it should work fine.... and they do, in isolation. Just bringing it all together seems to be the problem.
_________________________
Cheers,

Andy M

Top
#286256 - 31/08/2006 19:32 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
I've built that same circit, and had the same issues, I gave up and picked up a cheap PC remote setup off Ebay that works with lirc, after searching, I can't find the same setup, but I did find someone who's selling pre-made recievers for a decent price.

http://cgi.ebay.com/Serial-Infrared-Remo...1QQcmdZViewItem
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#286257 - 31/08/2006 20:02 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
Cris
pooh-bah

Registered: 06/02/2002
Posts: 1904
Loc: Leeds, UK
I must admit I too had problem building my own, I just splashed out and bought a USB-UIRT and it has functioned perfectly all the time I have had it, it also has a pretty powerful IR transmitter, which comes in handy when automating things via the HTPC. It also handles cable TV boxes etc...

Cheers

Cris.

Top
#286258 - 01/09/2006 05:33 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
It doesn't look very clever, that chip is a TTL/cmos device and is being exposed directly to RS232 voltages. I went to the site and there is a more comprehensive version of that circuit which uses transistors to buffer/protect the chip from these voltages, you might want to consider using that - or get a max232 and a couple of caps and use that.

Top
#286259 - 01/09/2006 09:57 Re: Anyone built a homebrew lirc IR receiver? [Re: sn00p]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
All the ebay ones are based upon a design by a guy called Igor Cesko. I've got two good TSOPs left and all the bits to build so I'll probably give it a go first.
_________________________
Cheers,

Andy M

Top
#286260 - 01/09/2006 19:03 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Well, I doff my cap to Mr. Cesko, he certainly knows what he's doing. Just got to program all my key events into MythTV now.
_________________________
Cheers,

Andy M

Top
#286261 - 01/09/2006 19:52 Re: Anyone built a homebrew lirc IR receiver? [Re: sn00p]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Quote:
It doesn't look very clever, that chip is a TTL/cmos device and is being exposed directly to RS232 voltages. I went to the site and there is a more comprehensive version of that circuit which uses transistors to buffer/protect the chip from these voltages, you might want to consider using that - or get a max232 and a couple of caps and use that.


No. There is regulator to regulate RTS down to +5V as a power supply. DCD is an input to the PC. So it's all legit. Although it's not really to the standard PCs almost always will understand +5v/0V instead of proper TTL.

Personally I built a UIR for my MythTV but that requires a PIC programmer. After quite a few years it went a bit flaky though and I ended up buying a Microsoft MCE remote and USB receiver which works just fine under Linux.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#286262 - 07/09/2006 15:43 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
LittleBlueThing
addict

Registered: 11/01/2002
Posts: 612
Loc: Reading, UK
I've built 3 of them and they're all fine
This is my favourite:




Attachments
287063-lirc_in_shell.jpg (135 downloads)



Edited by LittleBlueThing (07/09/2006 16:08)

Top
#286263 - 17/09/2006 01:50 Re: Anyone built a homebrew lirc IR receiver? [Re: andym]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
I made one. I took the easy way out and dropped the 78L05 and the cap- I draw the 5V directly from the PC power supply via a floppy power connector. It works fine never had any trouble with it, although I didn't use it for very long.

Top