+ Reply to Thread
Results 1 to 5 of 5

Thread: Simple Wire Battery!

  1. #1
    Inactive Locklear is on a distinguished road Locklear's Avatar
    Join Date
    Oct 2007
    Posts
    32

    Thumbs up

    I've recently created a extremely simple yet powerful Wire ELECTRIC MOTOR!!!
    Anyway... I need a simple battery to operate it.
    Battery power is the constant which can be changed. Let's say it is like 300 units, so when the throttle is at 50, 300/50=6

    So at 50% throttle, the battery will lose 1& of charge every 6 seconds.
    But when it hits 0 it needs to stop, and output 1 to light up a red light.
    And so on, I could really use this help!

    Perhaps an expression gate?


    Thanks!

  2. #2
    Inactive -Gamah is on a distinguished road -Gamah's Avatar
    Join Date
    Oct 2007
    Posts
    392

    Default

    just a question...


    if the battery's dead, what's powering the red light? :P

  3. #3
    Inactive uoykcuf is on a distinguished road uoykcuf's Avatar
    Join Date
    Jul 2007
    Posts
    279

    Default

    E-gate

    Code:
    I@Throttle Recharge
    O@Empty Battery
    interval(1000)
    Minus = 17
    first() | Recharge -> Battery = 300;
    Throttle > 0 : Sec = Battery/Throttle ? Sec = 0
    clk() -> Time += 1;
    Time >= Sec -> Time = 0, Battery -= Minus;
    Empty = Battery <= 0
    
    Just change the battery = value to the number of units in the battery
    and the minus value to how much the battery should loose in X seconds.

    Actually, this E-Gate would be better since the other one would allow you to drive around and stop throttling at the right time and not have battery eaten.

    Code:
    I@Throttle Recharge
    O@Empty Battery
    interval(1000)
    Minus = 17
    first() | Recharge -> Battery = 300;
    Throttle -= (Minus / (Battery / Throttle)) * clk()
    Empty = Battery <= 0
    
    should work better
    works teh same as teh other
    Creator of this [url="http://www.wiremod.com/index.php?showtopic=1738"]Ram controller[/url]

    [url="http://profile.xfire.com/nluoykcuf"][img]http://miniprofile.xfire.com/bg/co/type/2/nluoykcuf.png[/img][/url]

    [b]Click here if u experience wiremod error [url="http://www.wiremod.com/index.php?showtopic=2941&st=0&gopid=27136&#entry27136"]Problems[/url][/b]

    92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature.

    98% of teens smoke, or have smoked before in their life. If you are part of the 2% that hasn&#39;t/doesn&#39;t, copy this into your sig.

    [quote]It ain&#39;t broken, it just lacks ducktape[/quote]

  4. #4
    Inactive starvinmarvin is on a distinguished road starvinmarvin's Avatar
    Join Date
    Mar 2007
    Location
    NRW, Germany
    Posts
    82

    Default

    I want a Hamster-in-Wheel-Stool

  5. #5
    Wirererer dnifan is on a distinguished road dnifan's Avatar
    Join Date
    Mar 2007
    Location
    Amersfoort, the Netherlands
    Posts
    334

    Default

    Get me a hamster model


    ^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
    intergrated into xbox live
    [03:34] <ITSBOT> no girlfriend for a pineapple under the Channels

+ Reply to Thread

Similar Threads

  1. My battery car
    By Warlord_1011 in forum Finished contraptions
    Replies: 2
    Last Post: 08-28-2007, 12:13 PM
  2. RC car battery
    By Warlord_1011 in forum Finished contraptions
    Replies: 2
    Last Post: 08-22-2007, 02:16 PM
  3. Battery Powered Car
    By Warlord_1011 in forum Finished contraptions
    Replies: 6
    Last Post: 08-14-2007, 04:37 AM
  4. Battery Powered Buggys!
    By -=Fox=- in forum Finished contraptions
    Replies: 8
    Last Post: 06-03-2007, 01:37 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
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots