A darlington transistor can be used as a solid state switch controlled by a low current PICAXE output and able to switch a higher current load that a PICAXE output could not handle directly.
Darlington Transistor
Schematic
PCB
Activate a transistor
The following program will activate a transistor connected to output B.1 for a second every five seconds.
- Code Example:
-
main: high B.1 ; Switch on output B.1 pause 1000 ; Wait 1 second low B.1 ; Switch off output B.1 pause 5000 ; Wait 5 seconds goto main ; Loop back to start
Copy Code Submit an Example
Create Module
The BCX38C darlington transistor create module can control many diffrent devices, such as the buzzer shown here.
Bill of Materials
Description | Code | Qty | |
---|---|---|---|
BCX38C Darlington driver transistor | TRT002 | 1 | Buy Now |
1N4001 Diode | RES041 | 1 | Buy Now |
1k resistor (pack 100) | RES1K | 1 | Buy Now |
Simulation
Submit Your Own Code!
You must be logged in to submit code examples. Login now.
Share