博文

13.Arduino learning notebook--four-bit digital tube experiment

图片
13.Arduino learning notebook--four-bit digital tube experiment                     Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino) This experiment uses   the arduino to drive a four-bit digital tube.   It is  necessary to drive the current-limiting resist a nce of the digital tube. There are two ways  of current-limiting resist a nce, one is connecting to the d1-d4 anode . The benefit of this method is that the resistance demanded is less,  produce s   that different n umbers will produce  different brightness in each number . 1 is brightest and 8 is the darkest.The other method is connecting to  the other eight pins, which show s  uniform  brightness , but needs  more resistance.This experiment us es   eight  220 Ω res...