Simple manner to read 1-pin high/low from USB under FBSD?

Sven Hazejager sven at hazejager.nl
Wed Oct 14 17:21:57 UTC 2009


> 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


More information about the freebsd-usb mailing list