We talked about transistors and how they can only pass a limited amount of current because of their gain. We first built a circuit which uses a small transistor with low gain to turn on a incandescent 12v bulb. The light is unable to fully illuminate because of the limit of the small transistor. If we use a single larger transistor, the PICAXE is unable to provide enough current to fully "turn on" the transistor. The dimly lit bulb:


As you can see, much more current gets to the bulb. However, this dual transistor arrangement is commonly used, so we can use an already manufactured transistor called a darlington transistor which is the same thing in a single transistor package.
I used this transistor along with the PIC to control the motors on my fish.
After that I looked at the PWM capabilities of the pic and then serial interfacing with the computer. I wrote a program that allows the computer key presses to send data to the pic which would return the data to the screen. This required building a circuit that could switch between program mode and serial interface mode:

No comments:
Post a Comment