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:48:33 -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 08IJaVnr024084; Fri, 18 Sep 2020 15:36:58 -0400 Received: from outgoing-exchange-5.mit.edu (OUTGOING-EXCHANGE-5.MIT.EDU [18.9.28.59]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 08IJaUts024081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 18 Sep 2020 15:36:30 -0400 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 08IJaEGe008460 for ; Fri, 18 Sep 2020 15:36:30 -0400 Received: from oc11exhyb4.exchange.mit.edu (18.9.1.100) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 18 Sep 2020 15:36:15 -0400 Received: from oc11exhyb3.exchange.mit.edu (18.9.1.99) by oc11exhyb4.exchange.mit.edu (18.9.1.100) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 18 Sep 2020 15:36:22 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by oc11exhyb3.exchange.mit.edu (18.9.1.99) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 18 Sep 2020 15:36:22 -0400 Received: from DM5PR1101CA0007.namprd11.prod.outlook.com (2603:10b6:4:4c::17) by SN6PR01MB5184.prod.exchangelabs.com (2603:10b6:805:b7::29) 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:36:21 +0000 Received: from DM3NAM03FT006.eop-NAM03.prod.protection.outlook.com (2603:10b6:4:4c:cafe::1c) by DM5PR1101CA0007.outlook.office365.com (2603:10b6:4:4c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend Transport; Fri, 18 Sep 2020 19:36:21 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (40.92.22.31) by DM3NAM03FT006.mail.protection.outlook.com (10.152.82.121) 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:36:21 +0000 Received: from BN8NAM12FT015.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::4b) by BN8NAM12HT060.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::418) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.6; Fri, 18 Sep 2020 19:36:21 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com (2a01:111:e400:fc66::40) by BN8NAM12FT015.mail.protection.outlook.com (2a01:111:e400:fc66::444) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.6 via Frontend Transport; Fri, 18 Sep 2020 19:36:20 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::fdbf:6005:f659:b4f]) by BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::fdbf:6005:f659:b4f%3]) with mapi id 15.20.3370.019; Fri, 18 Sep 2020 19:36:20 +0000 From: Bob Blick To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Fri, 18 Sep 2020 12:36:20 -0700 Subject: Re: [EE] light sensor array? Thread-Topic: [EE] light sensor array? Thread-Index: AQHWjfEjeoQ9+3rVn0ibaOKNESQhTalux5PA Message-ID: References: <5F65066E.6040408@narwani.org> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <5F65066E.6040408@narwani.org> Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US Content-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: acceptlanguage: en-US received-spf: Pass (protection.outlook.com: domain of outlook.com designates 40.92.22.31 as permitted sender) receiver=protection.outlook.com; client-ip=40.92.22.31; helo=NAM12-DM6-obe.outbound.protection.outlook.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WN9ZL5v0lYqtnmPSqszOu3YPWd8Wlg10C1wWv/J03c4=; b=PB6fO42pHAxIJ3Tuu+ngaI8fTO+KtR92f2X6oAki7Aem7tXUnOnYanHkZ9bVh93IzOpnJVgf5O7o/w+hSVepXdbWAJc0zt0JkXZmD/dfXxfF/5pyj3z2OI2OnZvpQbsy+7uCN8i+bTk9p3/kIamso0bok6ellZBCldCMT36yW52g7EcDOvgyadCTbZITVCclS9PA/vJSVpTMvDoQ4N4NhpGCiMLMBfCz/a55ASpRJ9JAFyKN5jmQ1CYtirTs/HTvIsZswkymdB1llux7KPKT/bCoepqgqndbnOj+fBLM6Tr8S2i4DdI1GAHdkSS688Xi3hNyxnD2clDQ7boGl0vx1A== authentication-results: spf=pass (sender IP is 40.92.22.31) smtp.mailfrom=outlook.com; mit.edu; dkim=pass (signature was verified) header.d=outlook.com; mit.edu; dmarc=pass action=none header.from=outlook.com; 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-topics: [EE] x-mime-autoconverted: from quoted-printable to 8bit by PCH.mit.edu id 08IJaUts024081 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 That one is sort of down my alley. Commercial laser detectors for the const= ruction industry are of two varieties - ones that work with rotating lasers= and ones that work with modulated lasers. Either of those make detecting t= he laser a whole lot easier. Ambient light is another obstacle, both sunlig= ht and AC powered LED indoor illumination. If you describe the parameters a little more I might be able to give you so= me tips. Friendly regards, Bob ________________________________________ From: piclist-bounces@mit.edu on behalf of Neil=20 Sent: Friday, September 18, 2020 12:11 PM To: Microcontroller discussion list - Public. Subject: [EE] light sensor array? I want to measure the position (height) of a laser line level (device that projects a horizontal line of light). 2" of measurement would be nice, 1" I'd say is minimum. First thought is that I could use a light sensor array (such as in a sheet scanner), but this is a one-off project, and I'm not up for finding one that I can hack and then trying to reverse engineer it right now. The ones I'm finding on Digikey etc (which will have datasheets) are low-cost enough ($10-$20), but either have a very short range (~0.5" or less), or the longer ones are discontinued. Any recommendations for one of these? I don't need high resolution (even 1mm is fine). Yes, I could put the sensor on a linear servo, but then I'd have to ensure that mechanism is tight and not introduce any noticeable errors in the system. Alternate option is to let the light hit a diffuser (like say parchment paper) and use a camera on the other side to detect the height of the light line. I'd have to (finally) learn openCV perhaps, but that's prob fine. Still thinking of other ways to do this too, even perhaps a curved lens or mirror to compress a couple inches of range down to fit one of the 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 .