This short program will use voltage measurements on the base and collector of a transistor and resistor values entered to calculate the current gain. Of course different value resistors will result in different beta values. I tried to use the smallest collector resistor possible without causing the collector voltage to rise too much. I used the USB (5V) output for the collector resistor, so make sure the collector voltage doesn't rise over 3.3V or I think bad things will happen.

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:1dd4e19ed08e

Name Size Actions
[up]
main.cpp 912 Revisions Annotate
mbed.bld 66 Revisions Annotate