Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Power Drain Sensor

  1. #11
    Newbie
    Join Date
    Sep 2008
    Posts
    21
    On "Analogue Input" i choose Port=8 , on debug window i can see 2.5V on Analogue Input #9 so

    where should i connect the sensor ?? now it is on the 9th holder counting from the side of digital pin's holder, that is i mean pin 9. is that Port 8?

    Panos

  2. #12
    Newbie
    Join Date
    Sep 2008
    Posts
    21
    ok from me it was [Vnominal - 2.5] X 25 and i can read the rigth value now.

    BUT it takes 6-8 secs to read the end value on the text label. I mean i can see the amperage increasing on the text label to the maximum (rigth) value (while i can see the end value on the multimeter) and it takes up to 8 secs.

    is it normal?

    Panos

  3. #13
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    that might be auto your "auto averaging" setting. It's a property of the input. and it's proabably set too high. I'd try setting it to false for now, or taking the value to 0 or really low.

  4. #14
    Newbie
    Join Date
    Sep 2008
    Posts
    21
    yes you are rigth, but without averaging i have values changing +- 100mah.

    I understand that i have to find an acceptable balance with some trials.

    thanks agn.

  5. #15
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by sv1cox View Post
    yes you are rigth, but without averaging i have values changing +- 100mah.

    I understand that i have to find an acceptable balance with some trials.

    thanks agn.
    this is because you are using the sensor to measure such a small load. electrical noise is picked up, as it only takes 0.005 volts of noise to register as 100ma.

  6. #16
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,034
    Quote Originally Posted by sv1cox View Post
    ok from me it was [Vnominal - 2.5] X 25 and i can read the rigth value now.

    BUT it takes 6-8 secs to read the end value on the text label. I mean i can see the amperage increasing on the text label to the maximum (rigth) value (while i can see the end value on the multimeter) and it takes up to 8 secs.

    is it normal?

    Panos
    Yup, that is auto-averaging. You have it set to 50 from your above screenshots, which means when it changes, only 1 of 50 values changes and are averaged together, making a smooth jump. Set it to 0, and any little noise it will rattle around constantly.

    I suggest auto-average of 4 to 8 should do the trick, but you may need to play to get it perfect.

    As to port8 = pin9, the software is all 0-index based. Meaning there is no port 10 and there is no pin 10. So the 1st port which is port 0 goes to the 1st pin which is pin 0.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  7. #17
    Newbie
    Join Date
    Sep 2008
    Posts
    21
    ..and port 8 should be pin 7... ehm... confused but its ok no problem to find a port/pin comb that works.

    thanks

    Panos

  8. #18
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,034
    Quote Originally Posted by sv1cox View Post
    ..and port 8 should be pin 7... ehm... confused but its ok no problem to find a port/pin comb that works.

    thanks

    Panos
    Basically just think of it like this... When you count, start at zero. So 0,1,2,3,4,5,6,7,8,9. That is 10 numbers, but 0-index based.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Page 2 of 2 FirstFirst 12

Similar Threads

  1. FAQ: Power Supplies Explained (Part 1)
    By Bugbyte in forum The FAQ Emporium
    Replies: 14
    Last Post: 06-10-2007, 07:45 AM
  2. FAQ: How to Wire an OPUS PSU
    By Quattro in forum The FAQ Emporium
    Replies: 74
    Last Post: 08-26-2006, 12:38 PM
  3. Micro Star Motherboard Problems with Power Switch/BIOS
    By Sidewalksalvage in forum General Hardware Discussion
    Replies: 3
    Last Post: 06-26-2006, 12:40 PM
  4. How to meter power drain? (dead battery issue)
    By XxAndyxX in forum General MP3Car Discussion
    Replies: 7
    Last Post: 05-20-2006, 12:43 PM
  5. standby power drain problem
    By aoLhaTer in forum General Hardware Discussion
    Replies: 3
    Last Post: 03-08-2004, 04:12 PM

Bookmarks

Posting Permissions

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