Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Fri, 18 Sep 2020 12:23:18 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 08IJC8mR020460; Fri, 18 Sep 2020 15:12:40 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 08IJC7s5020457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 18 Sep 2020 15:12:07 -0400 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 08IJC6Yq029454 for ; Fri, 18 Sep 2020 15:12:07 -0400 Received: from oc11expo7.exchange.mit.edu (18.9.4.12) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 18 Sep 2020 15:11:34 -0400 Received: from oc11exhyb2.exchange.mit.edu (18.9.1.98) by oc11expo7.exchange.mit.edu (18.9.4.12) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Fri, 18 Sep 2020 15:11:52 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by oc11exhyb2.exchange.mit.edu (18.9.1.98) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 18 Sep 2020 15:11:52 -0400 Received: from DM5PR20CA0027.namprd20.prod.outlook.com (2603:10b6:3:13d::13) by SN6PR01MB4160.prod.exchangelabs.com (2603:10b6:805:b0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Fri, 18 Sep 2020 19:11:50 +0000 Received: from DM3NAM03FT041.eop-NAM03.prod.protection.outlook.com (2603:10b6:3:13d:cafe::8f) by DM5PR20CA0027.outlook.office365.com (2603:10b6:3:13d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Fri, 18 Sep 2020 19:11:50 +0000 Received: from premium47-1.web-hosting.com (68.65.123.241) by DM3NAM03FT041.mail.protection.outlook.com (10.152.83.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Fri, 18 Sep 2020 19:11:50 +0000 Received: from 107-145-246-199.res.spectrum.com ([107.145.246.199]:64965 helo=[192.168.10.106]) by premium47.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kJLnM-0018dT-LX; Fri, 18 Sep 2020 15:11:49 -0400 From: Neil To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Fri, 18 Sep 2020 12:11:42 -0700 Subject: [EE] light sensor array? Thread-Topic: [EE] light sensor array? Thread-Index: AdaN8SooxI+DNQ7DQdyR2dc/xmk2zw== Message-ID: <5F65066E.6040408@narwani.org> List-Help: List-Subscribe: , List-Unsubscribe: , Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: None (protection.outlook.com: narwani.org does not designate permitted sender hosts) dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=narwani.org ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To:Reply-To:Sender:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gxQCv/N4w13UjplbIg8/U2vUE1yyETfgmylZB7CUlCo=; b=T0BxQfwsGZ3DQ6XuFXri16ecyW /bzOWg/x7hoRA4SMYxBZqtAlBP1jOWu7Ne3bDXl2/UyigKpBTsOQjdrGnro00qKSp10Icf/Y/odUq cRZiLrSXVJhd+gJI2Ep9BZtwKdP43SpFe4QO5ALg4fPcOlPu0M8DTFe6ng5YlcTcTIkPVus9HoSxz QMVMnMzPkzXSZA71cWAfHFfQbOOghfSIygyYP9bmXF+/+b8a6ZblBYKfNBBtoGczS84N5u+1Idtek nqZb+UiYkq0kg/4S/cg0KFAep56w+6Z7E8YNKHkQ9V02y8N7gREzIs116ctxW65Uwzo3wwDr0D/6r Gzvu+gaQ==; authentication-results: spf=none (sender IP is 68.65.123.241) smtp.mailfrom=narwani.org; mit.edu; dkim=pass (signature was verified) header.d=narwani.org;mit.edu; dmarc=bestguesspass action=none header.from=narwani.org; user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-source-args: x-source-dir: x-antiabuse: Sender Address Domain - narwani.org x-source: x-authenticated-sender: premium47.web-hosting.com: ca4@narwani.org x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I want to measure the position (height) of a laser line level (device=20 that projects a horizontal line of light). 2" of measurement would be=20 nice, 1" I'd say is minimum. First thought is that I could use a light sensor array (such as in a=20 sheet scanner), but this is a one-off project, and I'm not up for=20 finding one that I can hack and then trying to reverse engineer it right=20 now. The ones I'm finding on Digikey etc (which will have datasheets) are=20 low-cost enough ($10-$20), but either have a very short range (~0.5" or=20 less), or the longer ones are discontinued. Any recommendations for one of these? I don't need high resolution=20 (even 1mm is fine). Yes, I could put the sensor on a linear servo, but then I'd have to=20 ensure that mechanism is tight and not introduce any noticeable errors=20 in the system. Alternate option is to let the light hit a diffuser (like say parchment=20 paper) and use a camera on the other side to detect the height of the=20 light line. I'd have to (finally) learn openCV perhaps, but that's prob=20 fine. Still thinking of other ways to do this too, even perhaps a curved lens=20 or mirror to compress a couple inches of range down to fit one of the=20 available sensors. Brainstormy thoughts appreciated. Cheers, -Neil. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .