LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-24-2017, 02:49 PM   #1
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
Sensor


Hello,

I am looking for a sensor to use with linux (Raspbian, if possible). All it has to do is detect when a product moves past it. I have been searching for weeks with no luck at all..

Any ideas?

Thanks,

Drew
 
Old 01-24-2017, 02:52 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
First thing I imagined was a laser shooting into a photocell. Simple and to the point. Looked it up and here is the build:

https://www.raspberrypi.org/learning...ire/worksheet/

Should get you in the ballpark.
 
Old 01-24-2017, 07:30 PM   #3
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Original Poster
Rep: Reputation: 38
Thanks!

That is some really cool stuff! Just out of curiosity, do you know of other ways to make linux interact with hardware? I am a linux nerd working in industrial automation. So naturally, my interest in controlling and or interfacing with linux with hardware is totally peaked.

Thanks again, that is a really great link!
 
Old 01-24-2017, 09:43 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Are you asking about the RPi in particular or linux in general? The Pi has GPIO (general purpose Input/Output) pins that can also be used for I2c and SPI communication buses as well as a serial port and obviously ethernet.

In addition there are kits that include a whole array of different sensor types.

https://www.amazon.com/Arduino-Raspb...pberry+pi+kits
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Humidity sensor. BowCatShot Linux - Hardware 8 08-20-2014 01:16 PM
[SOLVED] TOSHIBA Hard Drive Impact Sensor (3D sensor) and Linux josephj Linux - Laptop and Netbook 4 11-06-2010 06:39 PM
gdesklets sensor SepitvaOra Linux - Software 3 04-06-2005 07:02 PM
offset on lm-sensor? bobbens Linux - Hardware 3 01-20-2005 03:34 PM
LM sensor help TuxFreak Linux - Hardware 0 10-24-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration