CPS-Lab / Mbed 2 deprecated p442-lab02

Dependencies:   mbed

Fork of Lab2 by CPS Lab

report.txt

Committer:
kmhatre
Date:
2018-03-03
Revision:
1:9fe22ab77011

File content as of revision 1:9fe22ab77011:

 
Circuit 1 ideal analysis:
    V1 = 2.5V
    V2 = 1.719V
    R1 = 1k ohm
    R2 = 2.2k ohm
    RT = 3.2k ohm
    I = 781.25 uA
    
    
    
Circuit 1 Measurement:
    V1 = 2.501V
    V2 = 1.717V
 
 
 
Circuit 2 ideal analysis:
    V1 = 2.1V
    R1 = 1k ohm
    
    R2 = 2.2k ohm
    V2 = 1.354V 
    
    R3 = 10k ohm
    R4 = 470 ohm
    R5 = 1.5k ohm
    
Circuit 2 Measurement:
    V1 = 2.1V
    V2 = 1.352V
    V3 = 0.047V
    
    
The major difficulty in this assignment was to figure out the adjusting the multiplying number to get the right output.
I tried different methods but finally played around with the range given to us 0x7FFF.
I divided this into two and added one tenth of it by trial and error in the lab.
So the final adjustment is multiplying 60% of 0x7FFF to the given voltage.