Shop OBEX P1 Docs P2 Docs Learn Events
basic math #2 — Parallax Forums

basic math #2

japerjaper Posts: 105
edited 2005-09-14 00:17 in Learn with BlocklyProp
i have another dumb question,hoping for some direction
chapter 4, basic analog and digital
i understand more than i dont. the problem i am having is
when we look at step voltage an 8 bit system we end up with step voltage rounded off to "20mv"
with the resistive ladder and d/a convertion we use an 4 bit system our step voltage increases to "200mv"
the Calc_volt subroutine seems to be the same,
what am i missing?
i understand the circuit and how the code works but trying to make sence of the multible of ten on the step voltage
the one thing i did not consider was the circuit math itself.
is this were i should be looking ?
thanks for all your help
jasper

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-09-11 16:03
    japer,

    ·· Which version of the manual are you using?· Please list version and page number when referring to the manuals.· I cannot seem to find what you refer to in Basic Analog and Digital V1.3.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • japerjaper Posts: 105
    edited 2005-09-14 00:17
    Ok i finally figure it out, but had to dig, probably for the best

    Basic Analog and Digital V1.3. page 73 figure 4-3

    first the amps 20 ma basic stamp output
    then the resistors 13k the circuit to binary #1
    now the volts 5 a given on my board

    20 ma X 13k = 26
    5 / 26 = .190 volts per step (+- 10 %)
    the answer was in the circuit

    needed to buy cheap "dvom"
Sign In or Register to comment.