/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to electronics-information

  • Committer: edam
  • Date: 2011-11-04 15:07:26 UTC
  • Revision ID: edam@waxworlds.org-20111104150726-0evv5cetrckzg9do
cleaned-up info

Show diffs side-by-side

added added

removed removed

192
192
 
193
193
Here, R3 = R4 = R5 = 340Ω, as usual.  The numbher of LEDs is limited
194
194
only by the current that can be drawn from the power supply.
195
 
 
196
 
 
197
 
RC CIRCUITS
198
 
===========
199
 
 
200
 
An RC (resistor capacitor) curcuit is a basic low-pass filter. Here
201
 
we're talking about giving it a pulse wave signal (a voltage that
202
 
oscillates between 0V and approx. 5V).
203
 
              ___
204
 
    Vin o----[___]----+-----o Vc
205
 
                R     |
206
 
                      |
207
 
                     ===
208
 
                      | C
209
 
                      |
210
 
     0V o-------------+-----o
211
 
 
212
 
If the resistor weren't there, the capacitor on it's own would act
213
 
like an open circuit to a pulse wave (or to an AC power supply). This
214
 
is because the capacitor would charge to the voltage supplied across
215
 
it and discharge almost immediately. The purpose of the resistor is to
216
 
limit the current that is available to charge the capacitor, so it
217
 
charges slowly and it takes some time before Vc becomes almost equal
218
 
to Vin.
219
 
 
220
 
With a pulse wave on Vin, Vc would look something like this:
221
 
 
222
 
    5V
223
 
             _           _           _           _
224
 
          ,'' \       ,'' \       ,'' \       ,''
225
 
         /     \     /     \     /     \     /
226
 
    0V  /       ',,_/       ',,_/       ',,_/
227
 
 
228
 
If you were to draw the tangent to the curve at time=0 (so, the
229
 
initial rate of change of charging), and you note the time that this
230
 
line crossed 5V, then this time is T. That is to say, time T is the
231
 
time it would take the capacitor to charge to the target voltage if it
232
 
charged constantly at the rate it actually initially charges at. Then
233
 
this equation applies
234
 
 
235
 
    T = RC
236