battery drainage bug

Go To Last Post
20 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Everybody i want a bug to drain the battery quickly any ideas plz

Last Edited: Sun. Nov 18, 2012 - 09:45 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
to drain the batter quickly
What kind of batter is it? What are you cooking with it?

Is the batter pretty liquid or thick?

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sorry for the mess spelling of battery. I am looking to have a bug where it discharges the battery quickly then it's given time.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Connect PB0 and PB1:

DDRB = 3;
PORTB = 2;

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sorry didn't get that can u plz put some more lights to it

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you want to take some time and formulate your question better giving enough details or do you want people to either ignore your post or give you silly answers?

Assuming a 12V 500A battery needs to be discharged fast, how fast is fast? 1 minute? 1 hour? 1 day?

Do you care if the wiring melts when doing this or the battery explodes hurting or killing people? Maybe destroying the car?

Or are you talking about a single 1.5V AAA battery? :roll:

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Also if you intensionally want to drain the battery it is not a bug, but normal operation.

you could put a socket wrench between + and - if it is a car battery. It will turn very hot, but should be a good drain on the battery.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is a 10 cell (12VDC) 4500mAhr Rechargeable NiMH battery pack. it is used to power up a 4WD Robot all i want is to have something to reduce the charge of the battery quicker then the normal time it has. it should be done through a process or something similar hope this is clear enough

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you know Ohm's Law? It says that current flowing in a circuit is related to the voltage and resistance. Say you want to drain 4500mAh in 1 hour then you obviously need 4.5A to flow. Ohm says:

V = IR

which rearranged becoms:

R = V / I

You know V=12 and we just established that I=4.5 so:

R = 12 / 4.5

or

R = 2.6

So you need to pit a 2.6Ohm resistor across the battery terminals (and it must be capable of handling 4.5*12=54W flowing through it). You cannot buy a 2.6Ohm resistor but you can achieve it by using standard size resistors in parallel (which helps to spread the heat disappation too).

BTW if you own a large NiMh pack I'm guessing you also own a delta-peak charger for it? It's kind of unusual for such a charger not to offer a discharge facility. In fact for the memory effect in NiMh most such chargers have a facility to cycle charge a pack a few times.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks a lot say if don't have physical access to this robot which has the battery is it possible to lunch a bug/virus to the robot so it discharges the battery quickly maybe try an infinite loop or something.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just changing the opcode executed on a CPU is going to have very little (if any) difference. I suppose you might be able to change power consumption my 1mA that way. Discharging 4500mAh with an additional 1ma will take 4,500 hours so that's no use.

One thing you could try (though this could seriously damage the robot) is that if it has servos write code to drive them to their mechanical limit so they "stall". a stalled servo can draw almost 1A so this could help but it could also fry the electronics and irrevocably damage the servo itself.

Similarly if this thing has driving motors then drive it against a wall so it cannot move but the motors try to still srive it forward at full speed. This could consume SERIOUS amounts of current but serious amounts of current likely mean serious amounts of heat dissipation possibly to the point where the smoke is released.

But I'll come back to my previous point about battery chargers. Surely the battery terminals of this robot are exposed somewhere as that's how you connect the battery charger to it when the batteries ARE drained? Can the charger really not do discharge too? Maybe you need a better battery charger?

For example this is $16:

http://www.hobbyking.com/hobbyki...

It does NiMh delta-peak and it offers both charge and discharge. Admittedly its max discharge is 1A so it'll take 4.5 hours to drain your battery from a full charge.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So is this your robot, or maybe someone else's that you want to put your bug/virus into...hehe :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
Do you want to take some time and formulate your question better giving enough details or do you want people to either ignore your post or give you silly answers?

https://www.avrfreaks.net/index.p...

OP keeps the style.

No RSTDISBL, no fun!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
is it possible to lunch a bug/virus to the robot so it

Benefit of the doubt: Perhaps there is a language issue here.

Otherwise: One is not likely to receive much assistance in writing virus code, or in learning how to disseminate the code, from the members of this site.

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think the intent here is to cheat in a robot battle thing... The guy wants to sabotage his opponent's robot, obviously because he doesn't have the know-how to make a better robot. Because if he did he would know there is nothing he can do unless he has physical access to the robot.

Lame...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe watching the movie "Independence day" could give the OP a few ideas on how to deploy a virus, it worked for Jeff Goldblum ... :?

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It always made me chuckle that Goldblum was able to code, compile and remotely deploy a virus from his ThinkPad into an alien mothership... ;)

Intel must have a bigger market share than i thought...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ThinkPad? It was a Mac

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Even better... lol.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

He could use an EMP !