From owner-freebsd-usb@FreeBSD.ORG Wed Oct 14 17:21:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A00291065676 for ; Wed, 14 Oct 2009 17:21:57 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (tunnel655.ipv6.xs4all.nl [IPv6:2001:888:10:28f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 312DA8FC1A for ; Wed, 14 Oct 2009 17:21:57 +0000 (UTC) Received: from chainsoftware.nl (localhost [127.0.0.1]) by chainsoftware.nl (8.14.3/8.14.3) with ESMTP id n9EHLttW034820; Wed, 14 Oct 2009 19:21:55 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.14.3/8.14.3/Submit) with ESMTP id n9EHLs5E034817; Wed, 14 Oct 2009 19:21:54 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Wed, 14 Oct 2009 19:21:54 +0200 (CEST) From: Sven Hazejager To: Trevor Blackwell , Hiroharu Tamaru In-Reply-To: <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> Message-ID: <09101419165353.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> <09101118515750.-1077948416@somehost.domainz.com> <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-3.977 tests=ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 192.168.0.1 Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 17:21:57 -0000 > Try Phidgets. http://phidgets.com. It's easy to read digital signals as a HID > device. You can get started with not much more than: Thanks for all the suggestions. I had trouble getting the crude analog-to-digital (on/off) circuit to work, so I have decided to use an Arduino Nano (http://www.arduino.cc) that actually has 10-bit analog inputs. So, I will be doing the pulse counting on the Arduino, and output interval values through its USB-serial interface, which I'll read out from Perl or C or something. This should all work from FreeBSD without any problems! Sven