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; Wed, 2 Sep 2020 13:34:49 -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 082KQ3Mm004003; Wed, 2 Sep 2020 16:26:19 -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 082KQ27p003971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 2 Sep 2020 16:26:02 -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 082KPm0G030839 for ; Wed, 2 Sep 2020 16:26:01 -0400 Received: from w92extsm1.exchange.mit.edu (18.7.74.52) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Wed, 2 Sep 2020 16:25:16 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92extsm1.exchange.mit.edu (18.7.74.52) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 2 Sep 2020 16:25:40 -0400 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.53) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 2 Sep 2020 16:25:40 -0400 Received: from MWHPR14CA0007.namprd14.prod.outlook.com (2603:10b6:300:ae::17) by DM6PR01MB5692.prod.exchangelabs.com (2603:10b6:5:150::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Wed, 2 Sep 2020 20:25:39 +0000 Received: from CO1NAM03FT030.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:ae:cafe::e9) by MWHPR14CA0007.outlook.office365.com (2603:10b6:300:ae::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Wed, 2 Sep 2020 20:25:39 +0000 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (40.92.45.41) by CO1NAM03FT030.mail.protection.outlook.com (10.152.80.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 2 Sep 2020 20:25:38 +0000 Received: from DM6NAM04FT028.eop-NAM04.prod.protection.outlook.com (2a01:111:e400:7ea3::4d) by DM6NAM04HT112.eop-NAM04.prod.protection.outlook.com (2a01:111:e400:7ea3::309) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.21; Wed, 2 Sep 2020 20:25:37 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com (2a01:111:e400:7ea3::40) by DM6NAM04FT028.mail.protection.outlook.com (2a01:111:e400:7ea3::355) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 2 Sep 2020 20:25:37 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::b8bc:100b:de02:82f]) by BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::b8bc:100b:de02:82f%6]) with mapi id 15.20.3348.015; Wed, 2 Sep 2020 20:25:33 +0000 From: Bob Blick To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Wed, 2 Sep 2020 13:25:33 -0700 Subject: Re: [EE] High Side LCD Backlight Control Thread-Topic: [EE] High Side LCD Backlight Control Thread-Index: AQHWfkYT+aatstZL3EC3/x1C4cLn+KlP0MNmgAX3FACAAAWbEQ== Message-ID: References: , List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: 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.45.41 as permitted sender) receiver=protection.outlook.com; client-ip=40.92.45.41; helo=NAM04-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=f1P24FHE0nhdiVQwGmzA1REpJG3Byfzgi7DqAmIJ2fg=; b=j9SBxXj/8+E1obqXf0Odl17F0FQa+BRR6RRPyarsr0akYsOpyd581Z/S3SjAk5xl9Iy2AgkmjzCkY+E3OrY6trqcQZRQOKsC+FXrWGXbv2w+dqUH+fkng+qg3P9giyfcaVUn8b7Kl6xTkDVVNCpbJs6SWhSbNcc6W3LZqKvhONLmXDhFncXP+MJx15w7FI43JvRmdiFBdATBWgg3uvrTEfWuVVUFV7edwyeBkrsnWIXV7ZTSb3Z5P5O9WZlfqdlyyIuho28Dzi/tCQx5MrLX4DW0jnLKS1wlDVb4FffmViR8bu7n6yVqRi9VpeGn3UM6qSt4w/dqCr/q+AQIdbJ2xQ== authentication-results: spf=pass (sender IP is 40.92.45.41) 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 082KQ27p003971 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Josh, I have used the AO3401A without a gate resistor when doing low-speed switch= ing. It has a fairly high amount of capacitance so if you were going to be = switching inductive loads I would use 47 or 100 ohms just to soften the edg= es from ringing and isolate the microcontroller a bit. The output resistanc= e of most 3.3 volt microcontrollers is more than a hundred ohms anyway so i= t's hardly worth it, switching speed is going to be at least a few microsec= onds already. But driving LED backlights isn't likely to present any weirdn= ess, just use the raw MOSFET directly. If you want to do dimming, keep the = PWM frequency under a few KHz and you'll be fine. I usually use 1KHz driven= from the same timebase as the system tick. Friendly regards, Bob ________________________________________ From: piclist-bounces@mit.edu on behalf of Josh K= offman=20 Sent: Wednesday, September 2, 2020 12:49 PM To: Microcontroller discussion list - Public. Subject: Re: [EE] High Side LCD Backlight Control On Sat, Aug 29, 2020 at 8:50 PM Bob Blick wrote: > Simplest is a P-channel Mosfet, recommend something from Alpha and Omega = Semiconductor, part number AO3-something. > Cheapest solution is probably a PNP transistor with a base resistor. > Either will be fine. Hard to say which I'd choose. Both will invert, so 0= is ON. Hi Bob, I'm leaning towards a P-channel MOSFET. I had forgotten about A&O, I will check out their offerings! Would I need a gate resistor? I have very little experience with P-channel parts. Thanks, Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams --=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 .