Led limiting resistor


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: Led limiting resistor

    In which case, I'd not be going dicking about with hw comparators (that said when you think about it, ADC'ing a signal and then comparing against a preset level in software is a comparator...a sw comparator), RMS to DC converters etc....just tap off some reduced AC from each element feed (obviously 5V 'peak to peak' max, but at least here when your element is only drawing 1A there'll still be 1V AC peak to peak - more than enough to work with) ...squirt the 16 tapoffs into a PIC's ADC pins (use two PICs to get around the 'not enough ADC channels' problem). Then step through each pin all sequentially, staying on each pin for long enough to ensure you capture a 'non zero' reading (note: 'zero' here being half your VCC, so for 8 bits, and a VCC of say 5V, 2.5V = 127.....so say any ADC reading less than 110 or more than 144 means there's AC present....if so move on, if not then latch a red led, then move on etc)
    Last edited by HankMcSpank; - 5th June 2011 at 23:12.

  2. #2
    Join Date
    Jun 2011
    Posts
    25


    Did you find this post helpful? Yes | No

    Default Re: Led limiting resistor

    Thank you very much.
    I am going now to set up a bread board and try it
    Regards
    Ion

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Led limiting resistor

    I'm following where Hank is going, but how will you go from 110V to 5V?

    I saw mention of the ACS712 above, I'm just curious on the details of the schematics.
    Last edited by Demon; - 7th June 2011 at 05:09.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts