Page 7 of 10 FirstFirst ... 2345678910 LastLast
Results 61 to 70 of 93

Thread: General question about powering an arduino

  1. #61
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    ahhh ok. Thanks again crenn, without you I don't know if this project would have even gotten off the ground!! +rep

  2. #62
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    like this then?

    Code:
    $ 1 4.9999999999999996E-5 1.6308177459886661 50 5.0 50
    z 224 272 224 176 1 1.2 5.1
    r 160 272 160 176 0 15.0
    c 192 272 192 320 2 10.0 0.0034025929640006517
    c 192 320 192 384 2 10.0 0.0034025929640006517
    w 192 384 288 384 0
    w 288 384 384 384 0
    w 384 192 384 176 0
    g 288 384 288 432 0
    w 224 272 192 272 0
    w 192 272 160 272 0
    w 160 176 192 176 0
    w 192 176 224 176 0
    R 272 80 272 32 0 0 40.0 5.0 0.0 0.0 0.5
    w 224 176 384 176 0
    s 192 112 272 112 0 0 false
    178 272 80 384 80 0 1 0.2 0.037499999999999964 0.05 1000000.0 0.0375 320.0
    w 272 128 272 304 0
    w 272 304 288 304 0
    w 288 304 288 384 0
    R 192 112 144 112 0 0 40.0 12.0 0.0 0.0 0.5
    x 421 292 458 295 0 10 Arduino
    x 461 115 531 118 0 10 5v to sense pin
    g 480 96 512 96 0
    181 384 256 384 272 0 1045.742863484448 100.0 4.0 0.4 0.4
    w 384 192 384 256 0
    w 384 272 384 384 0
    w 384 96 384 176 0
    w 480 96 416 96 0
    w 416 96 416 32 0
    r 416 32 352 32 0 1000.0
    w 352 32 272 80 0
    o 2 64 0 35 0.009765625 1.6 0 -1
    o 3 64 0 35 0.009765625 1.6 1 -1
    o 23 64 0 35 5.0 102.4 2 -1

  3. #63
    Fox Furry crenn's Avatar
    Join Date
    Apr 2005
    Location
    In the shadows behind you
    Posts
    4,067

    Default Re: General question about powering an arduino

    This is what I came up with, I'll look at yours in 2 ticks:

    Code:
    $ 1 4.9999999999999996E-5 1.6308177459886661 50 5.0 50
    z 336 320 336 224 1 1.2 5.1
    r 272 320 272 224 0 15.0
    r 496 240 496 432 0 100.0
    c 304 320 304 368 2 10.0 2.410060209449615
    c 304 368 304 432 2 10.0 2.410060209449615
    w 304 432 400 432 0
    w 400 432 496 432 0
    w 496 240 496 224 0
    g 400 432 400 480 0
    w 336 320 304 320 0
    w 304 320 272 320 0
    w 272 224 304 224 0
    w 304 224 336 224 0
    w 336 224 496 224 0
    178 384 128 496 128 0 1 0.2 0.011428027236798245 0.05 1000000.0 0.0114 1050.0
    R 128 144 80 144 0 0 40.0 12.0 0.0 0.0 0.5
    x 533 340 570 343 0 10 Arduino
    x 549 74 619 77 0 10 5v to sense pin
    w 496 144 496 224 0
    178 272 64 320 64 0 1 0.2 0.30000000000000004 0.05 1000000.0 0.02 20.0
    178 272 144 320 144 0 1 0.2 0.30000000000000004 0.05 1000000.0 0.02 20.0
    R 128 64 80 64 0 0 40.0 5.0 0.0 0.0 0.5
    w 128 64 176 64 0
    w 176 64 272 64 0
    w 320 80 384 80 0
    w 320 160 352 160 0
    w 352 160 384 160 0
    w 128 144 272 144 0
    w 128 144 128 176 0
    s 128 176 208 176 0 0 false
    w 208 96 208 176 0
    w 208 96 272 96 0
    w 272 112 240 112 0
    w 240 112 240 176 0
    w 240 176 272 176 0
    w 384 48 432 48 0
    r 432 48 512 48 0 100.0
    g 512 48 560 48 0
    x 237 36 353 39 0 10 Representation of a PSU
    x 139 197 205 200 0 10 On/Off Switch
    w 272 192 224 192 0
    w 384 176 320 176 0
    w 320 176 320 208 0
    w 320 208 224 208 0
    w 224 192 224 208 0
    g 224 208 224 240 0
    w 384 48 384 80 0
    w 384 80 384 128 0
    Like that, I'm not sure why yours isn't working fully (voltage on the bulb wasn't 5V straight away) however that's pretty much the setup.
    Antec Sonata II | Pioneer DVR-212
    Good news! You can follow my website or follow me on twitter!

  4. #64
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    alright so i got it boarded up...and it doesn't work. it's losing too much voltage through the relay apparently. I've got 5.01v out of the PSU, and only ~3.6v out of the relay, and thats not enough to power the arduino. I'm going to keep messing with it and see what I can do. maybe put 12v into the relay instead of 5 and use a resistor after the relay to et it to ~4 or ~5v?

  5. #65
    Fox Furry crenn's Avatar
    Join Date
    Apr 2005
    Location
    In the shadows behind you
    Posts
    4,067

    Default Re: General question about powering an arduino

    I'd say too dangerous. The voltage drop over the relay should be minimal :/
    Antec Sonata II | Pioneer DVR-212
    Good news! You can follow my website or follow me on twitter!

  6. #66
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    I think you were right...I think I fired my atmega328 chip. It won't run any loop and won't let me upload anything. the power led is on and everything though

    and another strange problem arose...when I disconnected the PSU the relay didn't turn off until I unhooked either the 5v or 12v ground

  7. #67
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    ok well upon further testing, it would seem that with anything over 4.5v total in the caps the relay won't close. I hooked up my multimeter, and with the caps charged to 4.6v I shut off the psu. it dropped to 4.53 before the relay shut. I charged the caps to 4.75, and it went to 4.5 before the relay shut. it's shutting though, and 4.5v should still be more than adequate to move the servo to the closed position

  8. #68
    Fox Furry crenn's Avatar
    Join Date
    Apr 2005
    Location
    In the shadows behind you
    Posts
    4,067

    Default Re: General question about powering an arduino

    If you power the arduino from USB, does it still work?
    Antec Sonata II | Pioneer DVR-212
    Good news! You can follow my website or follow me on twitter!

  9. #69
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    the power light comes on but it won't do anything. I tried USB, the 2.5mm jack and the 5v and gnd pins on the board. I'm hoping it's just the chip that's fried and not the whole board

  10. #70
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,865

    Default Re: General question about powering an arduino

    alright crenn I soldered up and tested it and it works great! I charged the caps up to full voltage (5.02) and shut off the PSU. The voltage trickled down from 5.02 to 3.37 before the relay finally clicked off. I'll have to wait for my new atmega328 to see if it'll be enough to move the servo. Maybe the draw of the servo itself will make the relay work right, who knows. I was thinking of working in a 5v relay that runs off the main relay and see if that will kill the 5v instantly. I'm not sure yet. oh well. I'll see what happens when I get my new chip in

Posting Permissions

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