/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: Dan
  • Date: 2011-11-16 23:08:59 UTC
  • Revision ID: dan@waxworlds.org-20111116230859-5poppsyhgyamw7h0
added initial propeller clock code

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
+12V and GND rails to prevent a lot of current flowing.  Lets work
25
25
this out (lets suppose that R is 1 ohm).
26
26
 
27
 
        V = IR, therefor I = V/R
 
27
        V = IR, therefore I = V/R
28
28
        P = VI = V(V/R) = (V^2)/R = ( 12 ^ 2 ) / 1 = 144W
29
 
        P = VI, therefor I = P/V = 144/12 = 12A
 
29
        P = VI, therefore I = P/V = 144/12 = 12A
30
30
 
31
31
That's a lot of current and a lot of power, flowing continuously, just
32
32
to provide 6V!
92
92
Wiring up multiple LEDs in parallel to a single arduino pin
93
93
===================================--======================
94
94
 
95
 
Image we have
 
95
Imagine we have this
96
96
 
97
97
             |
98
98
    Arduino  |     ___        ,,
99
99
            o-----|___|---+---►|---.
100
 
             |      R     |   D1   |
 
100
             |       R    |   D1   |
101
101
             |            |        |
102
102
             |            |   ,,   |
103
103
             |            '---►|---+--- GND
111
111
So, imagine we have this instead
112
112
 
113
113
             |
114
 
    Arduino  |        ___        ,,
 
114
    Arduino  |        ___     ,,
115
115
            o----+---|___|----►|---.
116
116
             |   |     R1     D1   |
117
117
             |   |                 |
144
144
                           ▼  D1
145
145
                           ¯``
146
146
                           |
147
 
             |             |
 
147
                           |
148
148
             |             ▼  D2
149
149
             |             ¯``
150
150
             |             |
185
185
             |             +-------+-------'
186
186
             |             |
187
187
    Arduino  |    ___    ,-|
188
 
            o----|___|--(|< )
 
188
            o----|___|--(|< ) T
189
189
             |     R1    `-|
190
190
             |             |
191
191
             |             '----- GND