Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/01/13 11:53] – [Connecting the Transistor to the ADP5250] Álmos Veres-Vitályostest-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 15: Line 15:
   * [[test-and-measurement:analog-discovery-pro-5250:start|]]   * [[test-and-measurement:analog-discovery-pro-5250:start|]]
   * [[https://www.diodes.com/assets/Datasheets/ZVN3310A.pdf|ZVN3310A]], or other transistor   * [[https://www.diodes.com/assets/Datasheets/ZVN3310A.pdf|ZVN3310A]], or other transistor
-  * 2x 10W 100Ω ceramic resistors+  * 2x 10W 51Ω ceramic resistors
  
 === Software === === Software ===
Line 49: Line 49:
 ===== Writing the Script ===== ===== Writing the Script =====
 <WRAP group> <WRAP group>
-The full script can be downloaded {{|here}}.+The full script can be downloaded {{ :test-and-measurement:analog-discovery-pro-5250:transistor.zip |here}}.
 </WRAP> </WRAP>
  
Line 63: Line 63:
 # parameters # parameters
 Vd_resolution = 500 # drain voltage resolution in mV Vd_resolution = 500 # drain voltage resolution in mV
-Vd_limit = 25       # maximum drain voltage in V+Vd_limit = 40       # maximum drain voltage in V
 Vg_resolution = 2   # gate voltage resolution in V Vg_resolution = 2   # gate voltage resolution in V
 Vg_limit = 12       # maximum gate voltage in V Vg_limit = 12       # maximum gate voltage in V
Line 111: Line 111:
             print("\tDrain voltage: " + str(drain_voltage) + "V")             print("\tDrain voltage: " + str(drain_voltage) + "V")
             # set the drain voltage             # set the drain voltage
-            supplies.switch_25V(device_handle, True, False, drain_voltage, 0)+            if drain_voltage > 25: 
 +                supplies.switch_25V(device_handle, True, True, drain_voltage - 25, -25) 
 +            else: 
 +                supplies.switch_25V(device_handle, True, True, 0, drain_voltage * (-1))
  
             # delay             # delay
Line 171: Line 174:
  
 </WRAP><WRAP half column> </WRAP><WRAP half column>
 +{{ :test-and-measurement:analog-discovery-pro-5250:output_zvn3310a.png?600 |}}
 </WRAP></WRAP> </WRAP></WRAP>
 ---- ----