From owner-freebsd-multimedia Tue Jun 15 18:35:20 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id A4D6B15474; Tue, 15 Jun 1999 18:35:08 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-15-185.dialup.HiWAAY.net [216.180.15.185]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id UAA15224; Tue, 15 Jun 1999 20:35:05 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id TAA40317; Tue, 15 Jun 1999 19:47:42 -0500 (CDT) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199906160047.TAA40317@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Josef Karthauser Cc: Roger Hardiman , multimedia@FreeBSD.org, hackers@FreeBSD.org, sos@FreeBSD.org From: David Kelly Subject: Re: IR Remote for AverMedia and FlyVideo In-reply-to: Message from Josef Karthauser of "Tue, 15 Jun 1999 11:25:12 BST." <19990615112512.A71377@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Jun 1999 19:47:42 -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Josef Karthauser writes: > > I've got a phototransistor plugged into my DTR line on the serial > port. Is there any working software for FreeBSD for utilising this? > (I want to never lose a remote control again!) Oh My Goodness! I don't know whether to laugh or cry. Can somebody get me started with links to whatever online IR technology is out there? I am in need of a bunch of IR remote control units which can be controlled via serial port or other simple computerized means. While in the past One For All made inexpensive IR remote controls with a serial port, they changed the design about 4 years ago and refused to publish the spec. Do not know if they still include any kind of serial port in current models. Wouldn't do me any good unless I have documentation. As for "phototransistor plugged into my DTR line", this is a job for a $2 microcontroller, not a task for a multiuser multitasking OS. I *think* you can start at http://www.mcu.motsps.com/ and follow the 68HC05 family and find a reference design using a 68HC705K IR controller. It is a very simple design and does very few commands. Its not intented to be a "build to print IR controller." Only a example to get one started. The code is given for generating IR commands. The 68HC705K family features IRQ and pullups on some of its I/O pins allowing one to connect to a keyboard with zero external components. Probably would want to substitute another '05, possibly one with a serial port. Other Motorola app notes provide example code to implement UARTs in software. Also at the same site is a DOS-based 68HC05 assembler. I've been meaning to see if it runs under doscmd. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message