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; Thu, 26 Nov 2020 10:26:41 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0AQIIJjb024338; Thu, 26 Nov 2020 13:18:28 -0500 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 0AQIII5L024334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Nov 2020 13:18:18 -0500 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 0AQII47W005573 for ; Thu, 26 Nov 2020 13:18:18 -0500 Received: from w92expo19.exchange.mit.edu (18.7.74.73) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 26 Nov 2020 13:17:43 -0500 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by w92expo19.exchange.mit.edu (18.7.74.73) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 26 Nov 2020 13:18:14 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 26 Nov 2020 13:18:13 -0500 Received: from CO2PR04CA0078.namprd04.prod.outlook.com (2603:10b6:102:1::46) by BL0PR01MB4500.prod.exchangelabs.com (2603:10b6:208:82::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.30; Thu, 26 Nov 2020 18:18:12 +0000 Received: from CO1NAM11FT026.eop-nam11.prod.protection.outlook.com (2603:10b6:102:1:cafe::bd) by CO2PR04CA0078.outlook.office365.com (2603:10b6:102:1::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Thu, 26 Nov 2020 18:18:11 +0000 Received: from mail-yb1-f179.google.com (209.85.219.179) by CO1NAM11FT026.mail.protection.outlook.com (10.13.175.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25 via Frontend Transport; Thu, 26 Nov 2020 18:18:11 +0000 Received: by mail-yb1-f179.google.com with SMTP id r127so2344072yba.10 for ; Thu, 26 Nov 2020 10:18:11 -0800 (PST) From: Manu Abraham To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 26 Nov 2020 10:18:00 -0800 Subject: Re: [EE] Current Sense Project Thread-Topic: [EE] Current Sense Project Thread-Index: AdbEIbBaXbkXPwecSnGPTSUw/7Z1Sg== Message-ID: References: List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: 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: Pass (protection.outlook.com: domain of gmail.com designates 209.85.219.179 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.219.179; helo=mail-yb1-f179.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YQbppLzSIZheVTRSuaAy5YLCFyOx8g2AWZaL14THBPI=; b=GBbcpCA7R/NIR1nK8b+adoibH8PY3B9pv1kFM7pFO+6bEW3FaEU9xCQmGBfZceDyRL RS/ArxEhh+r4fELqJBpWVfuGR61Sj37DQsU0A8suvqUg8MOGfhSi0gg+kUkxZTEIwRJc W1e9Hq9vFTACEuoUU3EyrZeLLuNrjs+4SPnsRnC0A663gSU0vWNEavpUwEf5U3sBNj+F un9I4fKw0BSslAAC6E4G7vwA0V+3a6RovfpJE+dOatV90ph4yM5f6PHEnfIDB5MFNJ+i NX43R1+6DF5O4ddVYl5q7u7uR8zAsLn6PT8V4W99VBcnmlBxB9yLHljeNNuwMK7RXwPg FXoQ== authentication-results: spf=pass (sender IP is 209.85.219.179) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.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-received: by 2002:a25:680d:: with SMTP id d13mr6062199ybc.92.1606414690734; Thu, 26 Nov 2020 10:18:10 -0800 (PST) x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Thu, Nov 26, 2020 at 11:04 PM Josh Koffman wrote: > > Hi all, > > I'm thinking about throwing together a quick monitor for my block > heater. I'd like to know when I forget to plug the car in (because > let's be honest, it's going to happen...). I've got a small current > transformer on the way (5A/5mA). I'd like to trigger a relay that > lights up a 120V indicator light when the block heater is plugged in > and powered. > > My "current" thought is to run the transformer to an ADC on a micro > and use it to trigger a relay. Am I missing an easier solution? Could > I run the output of the current transformer to an opto that triggers > the relay? I would lose the "tweakability" of levels though. Option #1 Use a transistor and a pot to set the trip point. Option #2. Use a zener to set trip point, maybe a TL431 even Option #3 Use an opamp as a comparator, or maybe even a 555 timer Option #4 use a microcontroller with a builtin ADC Option #5 use a microcontroller with a builtin comparator Could be a lot more options, though. Cheers Manu --=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 .