Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #466158
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle |
| Date | 2017-06-29 11:30 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <oj366s$4t3$1@dont-email.me> (permalink) |
| References | (4 earlier) <72f51530-466a-4092-9894-86b45f4095d9@googlegroups.com> <oj1lie$ko0$1@dont-email.me> <8706991d-1891-4399-a6df-035ddfd46a57@googlegroups.com> <oj1n8k$l5i$1@dont-email.me> <48ed63fb-6fd6-4032-b8d9-4b87aea8253e@googlegroups.com> |
tabbypurr@gmail.com wrote on 6/28/2017 10:36 PM: > On Thursday, 29 June 2017 03:09:00 UTC+1, rickman wrote: >> tabbypurr wrote on 6/28/2017 9:59 PM: >>> On Thursday, 29 June 2017 02:40:05 UTC+1, rickman wrote: >>>> tabbypurr wrote on 6/28/2017 9:16 PM: >>>>> On Thursday, 29 June 2017 02:02:10 UTC+1, rickman wrote: >>>>>> tabbypurr wrote on 6/28/2017 8:08 PM: >>>>>>> On Wednesday, 28 June 2017 22:02:25 UTC+1, artie wrote: >>>>>>>> In article <oj0ra8$475$1@dont-email.me>, sms >>>>>>>> <scharf.steven@geemail.com> wrote: >>>>>>> >>>>>>>>> What I want to do is to have a device that sounds an alarm when the car >>>>>>>>> is started (USB charging port turns on) but no device is plugged in.. >>>>>>>>> >>>>>>>>> So I want to detect the current flow from the USB +5 to the phone and if >>>>>>>>> there is no flow, sound the alarm. There is always some flow upon >>>>>>>>> power-up, even if the phone is charged, then it stops if the phone is >>>>>>>>> already topped off. >>>>>>> >>>>>>>> INA219, high side dc current (and voltage) sensor, available on a >>>>>>>> breakout board from Adafruit for around $10, and they have Arduino >>>>>>>> libraries to support it as well. Much cheaper unless you can get TI to >>>>>>>> send you the INA233 eval board for free (and even then, the Adafruit >>>>>>>> INA219 board is a lot smaller). >>>>>>>> >>>>>>>> Sense current flowing thru the port, as with the INA233. Another thing >>>>>>>> to look at would be sensing voltages on the USB data pins. They >>>>>>>> probably have resistor networks on them (commonly used to signal how >>>>>>>> much charging current is supported by the port), and will/might shift >>>>>>>> with a device plugged in. >>>>>>> >>>>>>> I sense a youngster. How does that make more sense than a 1 cent resistor & LM324 opamp? >>>>>> >>>>>> Maybe you should explain it to us like we are six year olds? >>>>> >>>>> LM324 input goes down to ground. So put an R in the -out line and use your 1/4 324 to see if current is flowing, with the other input terminal driven by a resistor divider. That stage output goes to the next through a diode. Stages 2&3 generate bleeps. When current flows, diode conducts so the bleeper is kept silent. Add an LED and a STFU switch too. Keep piezo drive voltage low, you don't want it anoying. Easiest done by making the pulses narrow & driving it through a resistor. I have no idea why anyone would use a computer to do that. >>>> >>>> I thought the INA2xx was an amp like your LM324 opamp, just designed >>>> specifically for current sensing, no? >>> >>> http://www.ti.com/lit/ds/symlink/ina219.pdf >>> It certainly is not a quad opamp and will not do what 'my' 324 does. But my objection was to the use of an arduino. A lot of folk will use an arduino just to sharpen a pencil. >> >> I stand corrected. I thought I recognized the part number. Guess not. >> Still, nothing wrong with twiddling a few bits to get a nice simple solution. > > An I2C bus and an arduino is far from a nice simple solution. It's a mad kludge. One man's mad kludge is another man's nice simple solution. https://s-media-cache-ak0.pinimg.com/736x/41/74/b3/4174b36c7d9962ecb608531fd555a495.jpg http://img.izismile.com/img/img6/20131115/640/funny_picdump_578_640_34.jpg -- Rick C
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-28 11:11 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Rob <nomail@example.com> - 2017-06-28 19:34 +0000
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 15:43 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-28 13:09 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-28 13:02 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 16:11 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 06:42 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 10:53 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-28 16:02 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 16:11 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-28 16:25 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 17:13 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-28 17:40 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 17:56 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-06-28 22:01 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-29 10:01 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-06-29 20:53 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-30 14:48 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-06-30 20:00 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-29 09:58 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 10:56 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-29 13:00 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-29 11:13 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-29 11:21 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle bitrex <bitrex@de.lete.earthlink.net> - 2017-06-29 14:33 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 17:19 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-29 17:51 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 19:02 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-29 19:46 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 23:16 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-29 20:32 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 13:50 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle artie <artie.m@gNOSPAMmail.com> - 2017-06-28 14:02 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 17:08 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 21:02 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 18:16 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 21:40 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 18:59 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-28 22:08 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 19:36 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 11:30 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 11:16 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 14:53 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 15:50 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 21:37 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 18:41 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 23:47 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 17:11 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 23:43 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-30 10:55 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-30 14:36 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-06-30 14:46 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-07-01 13:30 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-07-01 13:19 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle edward.ming.lee@gmail.com - 2017-07-01 18:19 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 15:36 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 15:52 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-29 16:08 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-29 17:06 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-29 23:41 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-06-30 14:20 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-30 14:41 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle rickman <gnuarm@gmail.com> - 2017-06-29 21:40 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Don Y <blockedofcourse@foo.invalid> - 2017-06-28 14:08 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle alan.yeager.2013@gmail.com - 2017-06-28 14:21 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle John Robertson <spam@flippers.com> - 2017-06-28 18:13 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle tabbypurr@gmail.com - 2017-06-28 18:18 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Rheilly Phoull <rheilly@bigslong.com> - 2017-06-29 09:25 +0800
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-06-28 21:57 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle mike <ham789@netzero.net> - 2017-06-28 18:55 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Mikko OH2HVJ <mikko.syrjalahti@nospam.fi> - 2017-06-29 09:01 +0200
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle jack4747@gmail.com - 2017-06-29 00:14 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle whit3rd <whit3rd@gmail.com> - 2017-06-30 15:33 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-30 15:46 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle sms <scharf.steven@geemail.com> - 2017-07-01 13:29 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle John Robertson <spam@flippers.com> - 2017-07-01 14:27 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-07-01 19:44 -0400
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle John Robertson <spam@flippers.com> - 2017-07-01 22:36 -0700
Re: Sense When No Phone is Plugged Into a USB Charger In Vehicle krw@notreal.com - 2017-07-02 09:53 -0400
csiph-web