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; Sun, 13 Sep 2020 05:52:26 -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 08DCgss1025203; Sun, 13 Sep 2020 08:43:16 -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 08DCgqFf025199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 13 Sep 2020 08:42:52 -0400 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 08DCgjFL029079 for ; Sun, 13 Sep 2020 08:42:52 -0400 Received: from oc11expo21.exchange.mit.edu (18.9.4.52) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 13 Sep 2020 08:42:36 -0400 Received: from oc11exhyb7.exchange.mit.edu (18.9.1.112) by oc11expo21.exchange.mit.edu (18.9.4.52) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sun, 13 Sep 2020 08:42:44 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by oc11exhyb7.exchange.mit.edu (18.9.1.112) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 13 Sep 2020 08:42:44 -0400 Received: from DM5PR11CA0012.namprd11.prod.outlook.com (2603:10b6:3:115::22) by SN6PR0102MB3615.prod.exchangelabs.com (2603:10b6:805:7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Sun, 13 Sep 2020 12:42:43 +0000 Received: from DM3NAM03FT007.eop-NAM03.prod.protection.outlook.com (2603:10b6:3:115:cafe::f8) by DM5PR11CA0012.outlook.office365.com (2603:10b6:3:115::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Sun, 13 Sep 2020 12:42:43 +0000 Received: from mail-pj1-f45.google.com (209.85.216.45) by DM3NAM03FT007.mail.protection.outlook.com (10.152.82.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Sun, 13 Sep 2020 12:42:43 +0000 Received: by mail-pj1-f45.google.com with SMTP id o16so4066094pjr.2 for ; Sun, 13 Sep 2020 05:42:43 -0700 (PDT) From: Justin Richards To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Sun, 13 Sep 2020 05:42:31 -0700 Subject: Re: [EE]: OpAmp Max differential input voltage GL358 Thread-Topic: [EE]: OpAmp Max differential input voltage GL358 Thread-Index: AdaJzLvSA9GpAVypTvqB16OTSpVvcw== Message-ID: References: <2A5576E9-E8C2-4B94-B050-50A632BCB8BD@interlog.com> 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.216.45 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.216.45; helo=mail-pj1-f45.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=Pu8aUPcj+qGGyFUBE2gU7DDigBOm8puhuiPohvt64zk=; b=TI+XZnFJQAlvZJv0DkQmPf7eN6m7Kus0mqQA0ndImQ6K4rNR3Ii/qCLjNB4ra6Ildl kyYICQ3H1JZfOKAPVKqOA6fa+0No8WeuKGAga4mh1buAXmPGb4UXWf/no43O/5Qre+G6 mix55JKWuyAXXzNo/wSNBNohuSTsWTVLvYLCA4U3hHu7ydPhxNDjp0iBNJOTD0eCtGxa doDC4/IpN+ZEWxOKXw9cPwE3Qv7sK4I0r6KqFVGBh1kIteZAfz9mFhp9zPHCmJkxt8TU 3BlxwAP2uiT5yTBxB2jwszJfhn/l8/NjFJjJvVYD5SL4s+B3FCQWr7S2sd4tofAylDk5 6n7Q== authentication-results: spf=pass (sender IP is 209.85.216.45) 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:a17:902:c38a:: with SMTP id g10mr10000888plg.23.1600000962362; Sun, 13 Sep 2020 05:42:42 -0700 (PDT) x-topics: [EE] x-content-filtered-by: Mailman/MimeDel 2.1.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Update: The system as proposed appears to be functioning as expected. The ADC readings are plagued with low level noise but this is generated from the ESP8266. I think this is while it is WIFI'ing, but it is so minimal I don't feel the need to chase it down. There was a minor gotcha. The OFF time before sampling needed to be increased to 1/50 * 1/2 +abit or slightly over 10mS worst case. This is because the TRIAC latches until the next zero crossing. At 50Hz this could remain latched for up to 10mS from when the ESP8266 output pin is tri-stated. Obviously a ADC sample while heating yields bogus readings so needed to be avoided. In reality, the system regulated ok without any concern with 'OFF time before sample' as the two events (i.e sampling and heating) rarely and randomly coincide and therefore the undesirable effect of sampling while heating averaged out. There are other approaches that could be taken to ensure that the sampling never coincides with heating but it does not seem to warrant the effort. Surprisingly, the random selection of feedback resistors, resistor dividers and the circuit in general produced ADC readings where ADC/2 was fairly (scarily) close to the actual temperature in degrees C at or around the normal solder melting temperature of 183degC. Was not expecting that. Thanks for all the input. Regards justin --=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 .