Table of Contents

Advertisement

Now R2 now sees a build-up of electrons with energy (i.e. voltage) at the top end and cur-
rent starts to flow through R2 according to the voltage difference between the two.
Fig A10
according to 5v divided by the sum of R1 and R2 [Fig A10]. Similarly, the voltage between
R1 and R2 stabilizes at Volts x R2/(R1+R2):

Simulation

resSim can simulate the voltages and currents on a number of resistors in series. This
version uses 16-bit integer (whole-number) arithmetic and is usable, but not very accurate.
You must first find two free pages of Flash (by using
pages that are clear). Then load resSim from the website using
resSim00.hex
and r
flash by rebooting FIGnition and typing:
Now type
(n+1) load <exe>
<exe>
. A list of numbers will appear, these are the voltages and currents at the bottom of
each resistor. By default the simulation feeds 5v into a 10Ω resistor followed by a 15Ω re-
sistor (this is similar to the potential divider used to convert the AVR's 5v signals to the
memory chip 3v signals). The initial numbers will go:
Volts1!
Current1! Volts2!
0.00!
0.50!
0.50!
0.45!
0.95!
0.41!
10
'Eventually' is really very quick - within nanoseconds!
The current flow through both resistors eventually
esSim01.hex
. After each
to load resSim and then you run it by typing
Current2
0.00!
0.00
0.00!
0.00
0.01!
0.03
n edit <exe>
.hex
file is loaded you will need to copy it to
-1 n cp <exe>
10
reaches equilibrium
until you find two
avrdude
to download
.
resSim

Advertisement

Table of Contents
loading

Table of Contents