capacitors and bateries

41 views
Skip to first unread message

John Robert

unread,
Mar 26, 2011, 1:54:56 PM3/26/11
to NYCResistors
I was wondering ... is it completely necessary to position a capacitor in between a DC power supply and a battery you're trying to charge?

Also, how do capacitors affect amps?

Thanks, in advance, for your help!


TJ

unread,
Mar 26, 2011, 7:28:27 PM3/26/11
to nycresistormi...@googlegroups.com
As far as my knowledge, putting a capacitor smothens the dc input to
the battery..
If your battery is lead-acid based, it's better to have pulsatating
dc, tat is a capacitor which has a lower value to reduce time
constant..

Putting a capacitor reduces the peak current flow into the battery..

Hope i answered atleast a tiny bit..

> --
> You received this message because you are subscribed to the Google Groups
> "NYCResistor:Microcontrollers" group.
> To post to this group, send email to
> nycresistormi...@googlegroups.com.
> To unsubscribe from this group, send email to
> nycresistormicrocon...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nycresistormicrocontrollers?hl=en.
>
>

--
Sent from my mobile device

Always Yours
Tejovanth
Tj n Spook

raphael

unread,
Mar 26, 2011, 8:34:40 PM3/26/11
to nycresistormi...@googlegroups.com
inside of /var/log I have over 20 GB tied up in some sort of log files.
messages, messages.1, kern.log, kern.log.1, syslog, syslog.1, and a
bunch of other smaller ones. Can I delete them? Why are my log files so
huge?


raphael

unread,
Mar 26, 2011, 8:43:02 PM3/26/11
to nycresistormi...@googlegroups.com
Shit! I hijacked the thread again. Sorry!

Anyway, still wondering about below.

Glen Duncan

unread,
Mar 26, 2011, 9:07:36 PM3/26/11
to nycresistormi...@googlegroups.com


On Mar 26, 2011 8:43 PM, "raphael" <rap...@teuthis.com> wrote:
>
> Shit! I hijacked the thread again. Sorry!
>
> Anyway, still wondering about below.
>
>
> On 03/26/2011 08:34 PM, raphael wrote:
>>
>> inside of /var/log I have over 20 GB tied up in some sort of log files.
>> messages, messages.1, kern.log, kern.log.1, syslog, syslog.1, and a
>> bunch of other smaller ones. Can I delete them?

Yes. Then issue "/etc/init.d/syslog restart" (your distro may vary)

>>Why are my log files so huge?

Genetics? Try reading them. They tell things about your system.

You may also want to tune your syslogd.conf and log rotate policy if what the logs say is of no concern.

-spec

Matt Joyce

unread,
Mar 26, 2011, 9:08:14 PM3/26/11
to nycresistormi...@googlegroups.com
man logrotate

There are configurations you can set for this.  The one you might want to do is gzip the rotated logs.  That will massively reduce use.

raphael

unread,
Mar 26, 2011, 9:12:11 PM3/26/11
to nycresistormi...@googlegroups.com
That implies that it rotates out files with numbers at the end, right?
These are single files that re 5GB each. No number at the end. Does the
log rotator deal with that too?

On 03/26/2011 09:08 PM, Matt Joyce wrote:
> man logrotate
>
> There are configurations you can set for this. The one you might want
> to do is gzip the rotated logs. That will massively reduce use.
>
> On Sat, Mar 26, 2011 at 5:43 PM, raphael <rap...@teuthis.com
> <mailto:rap...@teuthis.com>> wrote:
>
> Shit! I hijacked the thread again. Sorry!
>
> Anyway, still wondering about below.
>
>
> On 03/26/2011 08:34 PM, raphael wrote:
>
> inside of /var/log I have over 20 GB tied up in some sort of log
> files.
> messages, messages.1, kern.log, kern.log.1, syslog, syslog.1, and a
> bunch of other smaller ones. Can I delete them? Why are my log
> files so
> huge?
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "NYCResistor:Microcontrollers" group.
> To post to this group, send email to
> nycresistormi...@googlegroups.com

> <mailto:nycresistormi...@googlegroups.com>.


> To unsubscribe from this group, send email to
> nycresistormicrocon...@googlegroups.com

> <mailto:nycresistormicrocontrollers%2Bunsu...@googlegroups.com>.

Eugene Ventimiglia

unread,
Mar 26, 2011, 9:17:48 PM3/26/11
to nycresistormi...@googlegroups.com

Logrotate copies logfile.n to logfile.n+1 and logfile to logfile.1 you can also configure how many old ones to keep, and when to rotate (by size or time period) man pages can be quite terse, so google "logrotate howto" and you'll find quite a few examples

Glen Duncan

unread,
Mar 26, 2011, 9:25:20 PM3/26/11
to nycresistormi...@googlegroups.com


On Mar 26, 2011 9:12 PM, "raphael" <rap...@teuthis.com> wrote:
>

> That implies that it rotates out files with numbers at the end, right? These are single files that re 5GB each. No number at the end. Does the log rotator deal with that too?

Syslog specifies the log size. Logrotate controls how many remain in history.

If you dont have multiple numbered copies, you're not likely running log rotate.

-spec

George Bishop

unread,
Mar 26, 2011, 6:53:22 PM3/26/11
to nycresistormi...@googlegroups.com
Long time lurker... I thought I would give you my $.02.

No, I don't think you need capacitors in that situation. Usually
they're only used to reduce ripple to sensitive components. I would
however put some sort of charge controller between the DC power supply
and battery so you don't cause a fire.

Capacitors only affect the amp draw at startup, known as inrush
current. After they're charged to the voltage they're placed across
they won't draw any net amps.

-George

Sumaya Robin Andy

unread,
Mar 28, 2011, 12:33:20 PM3/28/11
to George Bishop, nycresistormi...@googlegroups.com
Hi every body we have summer boot camp in United Arab Emarets about semiconductor our target is from Gr8 - Gr 12 we look for trainers & experts to train the Students who interesting to work with us This July send the cv to : g...@cka.ae
Empower your Business with BlackBerry® and Mobile Solutions from Etisalat

Kevin Anthony

unread,
Mar 28, 2011, 2:08:02 PM3/28/11
to nycresistormi...@googlegroups.com
that depends alot on your DC power supply. it's it's just a
transformer and bridge rectifier, then you defiantly do, otherwise
your power will fluctuate. where V is your peak voltage comming out of
the transformer, and DeltaT is the AC frequency in hertz, your DC
power supply will look like ABSVAL( V*sin(DeltaT)). the capacitors
will smooth it out, and give you a much faster charge. also depending
on the battery, pulsing power to the battery can damage it.

--
Thanks
Kevin Anthony
www.NoSideRacing.com

Reply all
Reply to author
Forward
0 new messages