zoukankan      html  css  js  c++  java
  • rcurrent measurement of STC51 Single Chip Test

    /////////////////////////////////////////

    Led lighten's current: set P1^0=0; connect Ampere Device in series with P1^0 and led1.

    Led is lightening.

    Current=4.7mA

    one pin sink current can be 4.7 mA. 

     a STC51 cannot offer a 100mA sink current in one pin.  (100mA is too large for a single chip)

    //////////////////////////////////////////

    //////////////////////////////////////////

    Motor's running current: the same connection in series like above. 

    5v    80~90mA

    12v  160mA

    mA is monotone increasing with voltage.

    motor running  needs 100mA class, nearly 10 times of pin sink can afford.

    That means even we set a pin equal to 0 and regards it as GND (GND means no matter how large the current is, he can absorb).

    But in real test, we find that this "GND" pin can not afford 100mA current flow in, and it doesn't work as GND.

    The fact observed is the pin set to 0 has been pulled up to +5v by the outside circuit (voltage source, motor) and motor cannot run.

    current measurement:

    p1^7=0,  make it as GND.

    +5v Voltage Source ---------- Motor --------- Ampere Metre ---------- p1^7

    Measurement: 13.8 mA

    P1^7 = 5v (has been pulled up)

    That means P1^7 becomes High-resistance when current increase more than 10 mA.

    13.8mA is his largest sink current.

    Resistance of High-resistance state = 362 Ohm

    Another conclusion is that when motor is static,  his resistance almost = 0.

    ---------------------------------------------------

    ---------------------------------------------------

    Voltage Source ------ Motor ------- Ampere 

    current measurement: 100mA

    (surprisingly enough, but motor obviously rotates slower. as slow as 4.0v bare input)

  • 相关阅读:
    vc 获得文件相对路径
    C#关闭MessageBox消息框(转)
    ip地址及地理位置查询
    WinDbg关联dump文件
    国外程序员推荐:每个程序员都应读的书
    [转]史上最全的C位域总结201036 2:58:00
    android 屏幕保持唤醒 不锁屏
    [转]win7如何共享
    一些DirectUI方面的资料
    计算器程序,可以计算正实数范围内的任何数据的加减乘除括号,混合运算
  • 原文地址:https://www.cnblogs.com/stevenxiu/p/5811059.html
Copyright © 2011-2022 走看看