Fan_Module_DFR0332-DFRobot

Fan module

Introduction

This is a Fan module. You could make some interesting project with this module.

Specification

Connection Diagram

DFR0332_connection.png

Sample Code

//Arduino Sample Code for Fan Module
//www.DFRobot.com
//Version 1.0

#define Fan 3    //define driver pins

void setup()
{
  pinMode(Fan,OUTPUT);
  Serial.begin(9600);    //Baudrate: 9600
}
void loop()
{
  int value;
  for(value = 0 ; value <= 255; value+=5)
  {
    analogWrite(Fan, value);   //PWM
    Serial.println(value);
    delay(30);
  }
}

More Documents

DFshopping_car1.png Get Fan Module (DFR0332) from DFRobot Store or DFRobot Distributor.

Turn to the Top