Searching \ for '[PIC]: Any thoughts on PIC control from IR Univers' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=ir
Search entire site for: 'Any thoughts on PIC control from IR Univers'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Any thoughts on PIC control from IR Univers'
2001\01\02@120446 by Byron A Jeff

face picon face
Does anyone know of a protocol that's on a IR universal remote that
simulates the standard 8N1 NRZ serial format used by RS-232? My thought is that
that would be the fastest way to get IR remote capability to a PIC based
project.

Short of that can anyone clue me in as to what's the easiest IR format to
decode from an IR remote.

I have two pending projects that can benefit from IR remote capability and
since the Sharp IR detector/decoder is easily obtainable from the local
RatShack I figure that adding IR capability wont be too difficult hardware
wise.

Thanks for any assistance in this matter.

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\01\02@122543 by Dan Michaels

flavicon
face
At 12:00 PM 1/2/01 -0500, you wrote:
>Does anyone know of a protocol that's on a IR universal remote that
>simulates the standard 8N1 NRZ serial format used by RS-232? My thought is that
>that would be the fastest way to get IR remote capability to a PIC based
>project.
>

Maybe Palm Pilot [Alice has been doing this].

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\01\02@122941 by Olin Lathrop

face picon face
> Does anyone know of a protocol that's on a IR universal remote that
> simulates the standard 8N1 NRZ serial format used by RS-232? My thought is
that
> that would be the fastest way to get IR remote capability to a PIC based
> project.

That would probably be a problem because RS-232 has no preamble before each
character sequence to allow the auto gain circuit in the receiver to
stabalize.  You could possibly send a sequence of known characters followed
by a signature, packet, and checksum.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, spam_OUTolinTakeThisOuTspamembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\01\02@123555 by Herbert Graf

flavicon
face
Try http://www.geocities.com/SiliconValley/Sector/3863/uir/index.html. It's
a universal IR remote receiver for the PC through a serial port, very easy
to build (it uses a PIC!) and it outputs as RS232. It works with most
remotes (although I HAVE had trouble with Sony type remotes). TTYL

> {Original Message removed}

2001\01\02@164503 by Byron A Jeff

face picon face
>
> > Does anyone know of a protocol that's on a IR universal remote that
> > simulates the standard 8N1 NRZ serial format used by RS-232? My thought is
> that
> > that would be the fastest way to get IR remote capability to a PIC based
> > project.
>
> That would probably be a problem because RS-232 has no preamble before each
> character sequence to allow the auto gain circuit in the receiver to
> stabalize.  You could possibly send a sequence of known characters followed
> by a signature, packet, and checksum.

That's a datalink issue yes? A simple start bit should be sufficient for
autogain.

I went searching and found something useful on the Sony Control-S protocol.
It starts with a simple start bit followed by 12 Manchester encoded bits
where the length of the high part of the bit determines its value.
presuming a 0.3 ms sampling of the signal in brackets...

S - 2.4 ms start bit (1) [11111111]
1 - 0.6 ms (0) followed by 1.2 ms (1) [011]
0 - 0.6 ms (0) followed but 0.6 ms (1) [01]

So a 12 bit stream 101101011011 would output:

1111111101101011011010110101101101011011
  S     1   0 1  1  0 1  0 1  1  0 1 1

And while this isn't async serial, it's easy enough to decode. Just measure
the width of each 1. It's self clocking and the width can easily be measured
using a capture register or an interrupt based timer which I'd probably set
to 0.2 ms to get a bit better resolution.

This is good enough. I'll take a crack at it tonight.

Here's the site with that control-S info:

http://www.armory.com/~spcecdt/remote/control-S

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\01\03@011316 by uter van ooijen & floortje hanneman

picon face
Check the datasheet for the IR detector/decoder. I known only the SFH/TSOP
detectors, which have a maximum pulse length requirement, so the standard
asynchronous format (which BTW has nothing to do with RS-232) won't work. A
pluse-width or machester encoding will work much better and is not that
difficult to code or decode.
Wouter

> Does anyone know of a protocol that's on a IR universal remote that
> simulates the standard 8N1 NRZ serial format used by RS-232? My thought is
that
> that would be the fastest way to get IR remote capability to a PIC based
> project.
>

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\03@053327 by Alan B. Pearce

face picon face
> Does anyone know of a protocol that's on a IR universal remote that
> simulates the standard 8N1 NRZ serial format used by RS-232? My thought is
that
> that would be the fastest way to get IR remote capability to a PIC based
> project.

Isn't IRDA done by an async serial stream? The problem there would be
programming the IRDA stack. At the time of much discussion on this list about
IRDA stacks and programming them in PIC's it was also mentioned that Palm
devices can have their IR port programmed for simpler protocols. IIRC the
discussion was about using a Palm to read data from a truck monitoring unit and
the IRDA stack got mentioned. Check the archives - you may find a Palm would do
what you want.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\03@101135 by Byron A Jeff

face picon face
>
> > Does anyone know of a protocol that's on a IR universal remote that
> > simulates the standard 8N1 NRZ serial format used by RS-232? My thought is
> that
> > that would be the fastest way to get IR remote capability to a PIC based
> > project.
>
> Isn't IRDA done by an async serial stream? The problem there would be
> programming the IRDA stack. At the time of much discussion on this list about
> IRDA stacks and programming them in PIC's it was also mentioned that Palm
> devices can have their IR port programmed for simpler protocols. IIRC the
> discussion was about using a Palm to read data from a truck monitoring unit and
> the IRDA stack got mentioned. Check the archives - you may find a Palm would do
> what you want.

That's an idea and I do have a Palm, but I'm really attracted to the idea
of being able to control a PIC based devices using a $6 univeral remote which
is trivally replaced as opposed to a $100+ Palm which are easily misplaced.
Trust me on this...

Also the goal was to minimize the amount of programming necessary to get
this up and running. The thought of building a IRDA stack is bloodcurdling
to say the least.

My target is the Sony Control-S protocol. It's self clocking because
of it's NRZ format and is trivial to decode because the start,0, and 1
bits have vastly differing lengths relatively speaking (start: 2.4 ms,
0: 0.6 ms, 1: 1.2 ms). I plan to use a 0.2 ms tick counter and simply
count the length of the pulses to build the stream. I'm also thinking about
playing the CCP registers now that I'm using 16F877 parts.

The thought of remote control for $2-4 and a bit of software is interesting
to say the least.

BAJ

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...