10% Off For Your First Order, Code:Elephant10

Arduino Project: Triode Controlled Motor Drive

Posted by Fiona Su on


In this project, we use TIP122 Triode, which is an NPN Triode. Connect D3 to the triode B pole, when D3 is high level, the triode C pole and E pole are conducting, so the motor rotates.


Hardware Required:

  • Arduino Board *1
  • USB Cable *1
  • TIP122 Triode*1
  • 9V Battery *1
  • 1 KΩ Resistor *1
  • Fan Motor *1
  • Fan Leaf *1
  • Bread Board *1
  • Breadboard Jumper Wires

Connection for REV4:


Connection for Arduino Mega 2560 R3:


Sample Code:

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 33 as an output.
  pinMode(3, OUTPUT);

// the loop function runs over and over again forever
void loop() {
  digitalWrite(3, HIGH);   // turn the motor on (HIGH is the voltage level)
  delay(2000);              // wait for 2 seconds
  digitalWrite(3, LOW);    // turn the motor off by making the voltage LOW
  delay(3000);              // wait for 3 second

Motor rotates for 2 seconds, and stops for 3 seconds, then cycles on.









Leave a comment

Please note, comments must be approved before they are published