Skip to navigation Skip to content
  • 1800 266 6123
  • Customer Support
  • My Orders
  • Track your order
  • My Account
    • My Account
    • My Cart
    • Checkout
Robu.in | Indian Online Store | RC Hobby | Robotics
  • Shop by Brands
  • New Arrivals
  • SmartElex
    • SmartElex Development Boards
    • SmartElex Modules
      • SmartElex Relay Modules
      • SmartElex IOT & Wireless Modules
    • SmartElex Motor Drivers
      • SmartElex Motor Drivers
      • SmartElex Smart Motor Drivers
  • Electronic Components
    • Resistors
    • Capacitors
    • Inductors
    • Diodes
    • Crystal , Oscillators
    • Power Transistors
    • Component Kit
    • Semiconductor ICs
      • Microcontroller IC
      • Interface ICs
      • Clock & Timing IC
      • Sensor ICs
      • Optocoupler ICs
      • ADC & DAC Converter IC
      • Comparator ICs
      • Motor and Display Driver ICs
      • Audio Amplifier ICs
      • IC Base
    • LEDs and Panel Indicator Lights
      • LED Diode Kit
      • Panel Indicator Lights
      • LEDs with Multi Hole Holders
      • Through Hole DIP LEDs
      • SMD LED
    • Miscellaneous Component
      • Potentiometer & Trimmers
      • Fuse Kits
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • PCT Wire Connectors
    • RF Connectors
    • Interface Connector
    • FFC, FPC, Berg connectors
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange Electronic Hobby kits
    • DIY Hobby Project Parts
    • Robot Kits and Parts
    • Drone Kit
    • DIY 3D Printer Kits
    • Ebike Kit
    • Official Raspberry Pi Kits
    • Kits compatible with Arduino
    • Sensor Kits
    • Component Kit
  • Drone Parts
    • Kits
    • Frames and Accessories
    • Flight Controller & Accessories
    • Motors
    • Speed Controllers (ESC)
    • Drone Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Nuts and Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • Electric Vehicle Parts
    • E-Bike Parts
      • E-Bike Motors
      • E-Bike Controllers
      • HMI Display for E-Bikes
      • E-Bike Mechanical Accessories
      • E-Bike Electronics Accessories
      • E-Bike Batteries and Case
        • Ebike Battery
      • Ebike Kit
    • E-Rikshaw Parts
      • E-Rikshaw Motors
      • E-Rikshaw Controllers
    • E-Mini Tricycle Parts
      • E-mini Tricycle Motors
      • E-mini Tricycle Controllers
    • E-Wheelchair Parts
      • E-Wheelchair Motors
      • E-Wheelchair Controllers
    • E-Forklift Parts
      • E-forklift Motors
      • E-forklift Controllers
    • E-Gokarts Parts
      • E-GOKARTS Motors
      • E-GOKARTS Controllers
  • Laser Engraver and CNC Machines
    • Atomstack Laser Engraver
    • Two Trees Laser Engraver
    • Creality Laser Engraver
    • CNC Engraver Machines
  • 3D Printers and Parts
    • 3D Printer Filaments & Resins
      • eSun Resins
      • ESUN Filaments
      • Numakers Filaments
      • FlashForge Filaments
      • Creality Filaments
      • Sovol Filaments
      • ORANGE Premium Filaments
    • Prusa 3D Printers and Parts
    • Elegoo 3D Printers and Parts
    • Creality 3D Printers and Parts
    • BIQU 3D Printers and Parts
    • Bambu Lab 3D Printers
    • FlashForge 3D Printers
    • Goofoo 3D printer
    • Sovol 3D Printers
    • Other 3D Printers
    • 3D Printing Pen
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed Assembly
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Rail Guides
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Coupling
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • Orange LiPo Battery
      • 1 Cell (3.7-4.2)V
      • 2 Cell (7.4-8.4)V
      • 3 Cell (11.1-12.6)V
      • 4 Cell (14.8-16.8)V
      • 6 Cell (22.2-25.2)V
    • Micro LiPo Batteries
    • Lithium-Ion Batteries
      • 1 Cell Li-Ion Battery (3.6V~4.2V)
      • 2 Cell Li-Ion Battery (7.4V~8.4V)
      • 12V Li-Ion Battery (11.1V~12.6V)
      • 15V Li-Ion Battery (14.8V~16.8V)
      • 18V Li-Ion Battery (18.5V)
      • 24V Li-Ion Battery (22.2V~25.2V)
      • 36V Li-Ion Battery (36V~42V)
      • 48V Li-Ion Battery (46.8V~54.6V)
    • Orange Prismatic 1 cell (3.2V~3.6V) Battery
    • Other Batteries
      • Coin Cell Battery
      • CNC and PLC Machine Battery
    • Battery Accessories
      • Battery Protection Board
      • Battery Pack Accessories & Holders
      • Battery Chargers
      • Battery Connector
      • Battery Harness
      • Power Adapter and Cable
      • Lipo Voltage Checker
      • Parallel Charging Board
      • LiPO Battery Sack, Covers & Mats
  • Motors, Drivers, Actuators
    • DC Planetary Gear Motors
      • Orange High Torque Planetary Gears Motors
      • Orange Planetary Geared BLDC Motors
      • Cytron DC Planetary Geared Motors
    • Brushed DC Motor
      • Orange 12V Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Motor with Encoder
      • 25 GA Motors
      • Orange 12V OG 555 DC Gear Motor
      • RS 50 Geared Motor
      • Orange RS775 High RPM Base Motor
      • Orange PM33 Motor
      • Orange 12V Square Gear Box Motor
      • Orange 12V Rectangular Gearbox Motor
    • Other DC Motors
      • BO Motors
      • 12V DC Centre Shaft Metal Gear Motor
      • Plastic Gear Box Motors
      • Vibratory Motors
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Drivers
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Micro Metal Geared Motors
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
    • RC Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Hitec Servo Motors
      • TowerPro and Other Servo Motors
      • JR Servo Cable
      • Futaba Servo Cable
      • Pull and Push Rod for Servo
      • Other Servo Accessories
    • Mini Pumps and Accessories
      • Kamoer Peristaltic Pump
      • Generic Mini Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Actuators
    • Solenoids & Electromagnets
  • Development Board
    • Single Board Computer
      • Seeed Studio SBC
      • Khadas SBC
      • ODROID SBC
      • BBC MicroBit Board
      • Chipsee Mini PC
      • LATTEPANDA Boards
      • AAEON SBC
      • Intel SBC
    • Raspberry Pi
      • Official Boards and Hats
      • Official Raspberry Pi Accessories
      • Kits
      • Raspberry Pi Hats
      • Raspberry Pi Case
      • Display
      • Camera
      • Accessories
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 8051 Development Board
    • Teensy Board
    • Udoo Board
    • ARM Microcontroller
    • PIC Development board
    • PIC Programmer
    • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • Cables for Arduino
      • Displays
      • Case for Arduino
  • Raspberry Pi
    • Official Raspberry Pi Kits
    • Official Raspberry Pi Accessories
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Display modules
    • HMI LCD Display
    • TFT LCD Displays
    • OLED Display
    • e-Ink Paper Display
    • Seven Segment Display
    • LED Dot Matrix Display
  • Sensors Modules
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensors and Modules
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Other Proximity Sensor & Modules
      • LiDAR Sensor
      • Other Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Motion, Light and Sound
      • PIR / IR and Optical Sensor
      • RFID Card, Tags & Reader
      • Light/Color Sensor
      • Line Sensor
      • Sound Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage Sensor
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level Sensor
      • Vibration/Tilt Sensor and Modules
      • Load Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules
    • Other ESP WIFI Modules
    • IoT Development Boards
    • xBee Zigbee Module
    • LORA Module
    • Bluetooth and NRF Modules
    • GSM GPRS and GNSS Modules
    • Transmitter and Receivers
    • IoT WIFI Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • USB Interface Module
    • LED Module
    • LASER Module
    • RGB LED Strips and Drivers
    • Breakout Board
    • Relay Modules
    • Electronic Switches/Keypads Modules
    • Solar Panels and Controllers
    • Wearable Electronic
    • Real Time Module (RTC)
    • Audio Amplifier Module
    • Logic Level Converter
    • Buck Boost Voltage Regulators
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
    • Measuring Instruments
      • Digital Multimeters and Clampmeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Signal Generator Module & Oscilloscopes
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • Switch Mode Power Supply
      • Hi-Link Power Supply Module
    • Display modules
  • Wires and Cables
    • PVC and Silicone Wires
      • PVC Wire
      • 6 to 10 AWG
      • 12 to 16 AWG
      • 18 to 22 AWG
      • 24 to 30 AWG
    • Multi-Color Project Cables
      • DuPont / Jumper Cable
      • Interfacing and USB Cables
      • JR Servo cable
      • Futaba servo cable
      • FFC Cable
    • Heat Shrink Tubing / Sleeve
      • Heat Shrink Combos
      • 1 mm to 4 mm
      • 5 mm to 10 mm
      • 11 mm and Above
      • PVC Heat Shrink
    • Tools and Accessories
      • Wire Cutter / Stripper
      • Cable Ties
      • Sleeves and Drag Chain
  • Mechanical Parts and Workbench Tools
    • Mechanical Robotic Parts
      • Robot Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Rail Guides
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Robot Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • Mecanum Wheels
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts-Bolts and Spacers
      • Countersunk(CSK) Screws
      • Socket Set Screws (Allen Grub)
      • Socket Head Cap Screw (Allen Bolt)
      • CHHD Screws
      • Nut and Washers
      • Nylon Nuts and Bolts
      • Spacer and Standoff
    • Soldering Tools
    • Workbench Tools
  • Services
    • PCB Manufacturing Service
    • Custom Battery Pack
    • Online SLA 3D Printing Service
    • Online FDM 3D Printing Service
    • Metal Laser Cutting Service
    • Non-Metal Laser Cutting Service
  • Refurbished & Partial Working
    • Refurbished
    • Partial Working
  • SmartElex Environmental Sensors
  • SmartElex Line Tracing Sensors
  • SmartElex Temperature Sensors
  • SmartElex Humidity Sensors
  • SmartElex Weather Sensors
  • SmartElex Pressure Sensors
  • SmartElex Magnetometer Sensors
  • SmartElex Sound Sensors
0 ₹ 0.00
All Categories
  • Shop by Brands
  • New Arrivals
  • SmartElex
    • SmartElex Development Boards
    • SmartElex Modules
      • SmartElex Relay Modules
      • SmartElex IOT & Wireless Modules
    • SmartElex Motor Drivers
      • SmartElex Motor Drivers
      • SmartElex Smart Motor Drivers
  • Electronic Components
    • Resistors
    • Capacitors
    • Inductors
    • Diodes
    • Crystal , Oscillators
    • Power Transistors
    • Component Kit
    • Semiconductor ICs
      • Microcontroller IC
      • Interface ICs
      • Clock & Timing IC
      • Sensor ICs
      • Optocoupler ICs
      • ADC & DAC Converter IC
      • Comparator ICs
      • Motor and Display Driver ICs
      • Audio Amplifier ICs
      • IC Base
    • LEDs and Panel Indicator Lights
      • LED Diode Kit
      • Panel Indicator Lights
      • LEDs with Multi Hole Holders
      • Through Hole DIP LEDs
      • SMD LED
    • Miscellaneous Component
      • Potentiometer & Trimmers
      • Fuse Kits
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • PCT Wire Connectors
    • RF Connectors
    • Interface Connector
    • FFC, FPC, Berg connectors
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange Electronic Hobby kits
    • DIY Hobby Project Parts
    • Robot Kits and Parts
    • Drone Kit
    • DIY 3D Printer Kits
    • Ebike Kit
    • Official Raspberry Pi Kits
    • Kits compatible with Arduino
    • Sensor Kits
    • Component Kit
  • Drone Parts
    • Kits
    • Frames and Accessories
    • Flight Controller & Accessories
    • Motors
    • Speed Controllers (ESC)
    • Drone Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Nuts and Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • Electric Vehicle Parts
    • E-Bike Parts
      • E-Bike Motors
      • E-Bike Controllers
      • HMI Display for E-Bikes
      • E-Bike Mechanical Accessories
      • E-Bike Electronics Accessories
      • E-Bike Batteries and Case
        • Ebike Battery
      • Ebike Kit
    • E-Rikshaw Parts
      • E-Rikshaw Motors
      • E-Rikshaw Controllers
    • E-Mini Tricycle Parts
      • E-mini Tricycle Motors
      • E-mini Tricycle Controllers
    • E-Wheelchair Parts
      • E-Wheelchair Motors
      • E-Wheelchair Controllers
    • E-Forklift Parts
      • E-forklift Motors
      • E-forklift Controllers
    • E-Gokarts Parts
      • E-GOKARTS Motors
      • E-GOKARTS Controllers
  • Laser Engraver and CNC Machines
    • Atomstack Laser Engraver
    • Two Trees Laser Engraver
    • Creality Laser Engraver
    • CNC Engraver Machines
  • 3D Printers and Parts
    • 3D Printer Filaments & Resins
      • eSun Resins
      • ESUN Filaments
      • Numakers Filaments
      • FlashForge Filaments
      • Creality Filaments
      • Sovol Filaments
      • ORANGE Premium Filaments
    • Prusa 3D Printers and Parts
    • Elegoo 3D Printers and Parts
    • Creality 3D Printers and Parts
    • BIQU 3D Printers and Parts
    • Bambu Lab 3D Printers
    • FlashForge 3D Printers
    • Goofoo 3D printer
    • Sovol 3D Printers
    • Other 3D Printers
    • 3D Printing Pen
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed Assembly
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Rail Guides
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Coupling
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • Orange LiPo Battery
      • 1 Cell (3.7-4.2)V
      • 2 Cell (7.4-8.4)V
      • 3 Cell (11.1-12.6)V
      • 4 Cell (14.8-16.8)V
      • 6 Cell (22.2-25.2)V
    • Micro LiPo Batteries
    • Lithium-Ion Batteries
      • 1 Cell Li-Ion Battery (3.6V~4.2V)
      • 2 Cell Li-Ion Battery (7.4V~8.4V)
      • 12V Li-Ion Battery (11.1V~12.6V)
      • 15V Li-Ion Battery (14.8V~16.8V)
      • 18V Li-Ion Battery (18.5V)
      • 24V Li-Ion Battery (22.2V~25.2V)
      • 36V Li-Ion Battery (36V~42V)
      • 48V Li-Ion Battery (46.8V~54.6V)
    • Orange Prismatic 1 cell (3.2V~3.6V) Battery
    • Other Batteries
      • Coin Cell Battery
      • CNC and PLC Machine Battery
    • Battery Accessories
      • Battery Protection Board
      • Battery Pack Accessories & Holders
      • Battery Chargers
      • Battery Connector
      • Battery Harness
      • Power Adapter and Cable
      • Lipo Voltage Checker
      • Parallel Charging Board
      • LiPO Battery Sack, Covers & Mats
  • Motors, Drivers, Actuators
    • DC Planetary Gear Motors
      • Orange High Torque Planetary Gears Motors
      • Orange Planetary Geared BLDC Motors
      • Cytron DC Planetary Geared Motors
    • Brushed DC Motor
      • Orange 12V Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Motor with Encoder
      • 25 GA Motors
      • Orange 12V OG 555 DC Gear Motor
      • RS 50 Geared Motor
      • Orange RS775 High RPM Base Motor
      • Orange PM33 Motor
      • Orange 12V Square Gear Box Motor
      • Orange 12V Rectangular Gearbox Motor
    • Other DC Motors
      • BO Motors
      • 12V DC Centre Shaft Metal Gear Motor
      • Plastic Gear Box Motors
      • Vibratory Motors
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Drivers
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Micro Metal Geared Motors
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
    • RC Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Hitec Servo Motors
      • TowerPro and Other Servo Motors
      • JR Servo Cable
      • Futaba Servo Cable
      • Pull and Push Rod for Servo
      • Other Servo Accessories
    • Mini Pumps and Accessories
      • Kamoer Peristaltic Pump
      • Generic Mini Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Actuators
    • Solenoids & Electromagnets
  • Development Board
    • Single Board Computer
      • Seeed Studio SBC
      • Khadas SBC
      • ODROID SBC
      • BBC MicroBit Board
      • Chipsee Mini PC
      • LATTEPANDA Boards
      • AAEON SBC
      • Intel SBC
    • Raspberry Pi
      • Official Boards and Hats
      • Official Raspberry Pi Accessories
      • Kits
      • Raspberry Pi Hats
      • Raspberry Pi Case
      • Display
      • Camera
      • Accessories
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 8051 Development Board
    • Teensy Board
    • Udoo Board
    • ARM Microcontroller
    • PIC Development board
    • PIC Programmer
    • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • Cables for Arduino
      • Displays
      • Case for Arduino
  • Raspberry Pi
    • Official Raspberry Pi Kits
    • Official Raspberry Pi Accessories
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Display modules
    • HMI LCD Display
    • TFT LCD Displays
    • OLED Display
    • e-Ink Paper Display
    • Seven Segment Display
    • LED Dot Matrix Display
  • Sensors Modules
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensors and Modules
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Other Proximity Sensor & Modules
      • LiDAR Sensor
      • Other Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Motion, Light and Sound
      • PIR / IR and Optical Sensor
      • RFID Card, Tags & Reader
      • Light/Color Sensor
      • Line Sensor
      • Sound Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage Sensor
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level Sensor
      • Vibration/Tilt Sensor and Modules
      • Load Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules
    • Other ESP WIFI Modules
    • IoT Development Boards
    • xBee Zigbee Module
    • LORA Module
    • Bluetooth and NRF Modules
    • GSM GPRS and GNSS Modules
    • Transmitter and Receivers
    • IoT WIFI Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • USB Interface Module
    • LED Module
    • LASER Module
    • RGB LED Strips and Drivers
    • Breakout Board
    • Relay Modules
    • Electronic Switches/Keypads Modules
    • Solar Panels and Controllers
    • Wearable Electronic
    • Real Time Module (RTC)
    • Audio Amplifier Module
    • Logic Level Converter
    • Buck Boost Voltage Regulators
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
    • Measuring Instruments
      • Digital Multimeters and Clampmeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Signal Generator Module & Oscilloscopes
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • Switch Mode Power Supply
      • Hi-Link Power Supply Module
    • Display modules
  • Wires and Cables
    • PVC and Silicone Wires
      • PVC Wire
      • 6 to 10 AWG
      • 12 to 16 AWG
      • 18 to 22 AWG
      • 24 to 30 AWG
    • Multi-Color Project Cables
      • DuPont / Jumper Cable
      • Interfacing and USB Cables
      • JR Servo cable
      • Futaba servo cable
      • FFC Cable
    • Heat Shrink Tubing / Sleeve
      • Heat Shrink Combos
      • 1 mm to 4 mm
      • 5 mm to 10 mm
      • 11 mm and Above
      • PVC Heat Shrink
    • Tools and Accessories
      • Wire Cutter / Stripper
      • Cable Ties
      • Sleeves and Drag Chain
  • Mechanical Parts and Workbench Tools
    • Mechanical Robotic Parts
      • Robot Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Rail Guides
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Robot Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • Mecanum Wheels
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts-Bolts and Spacers
      • Countersunk(CSK) Screws
      • Socket Set Screws (Allen Grub)
      • Socket Head Cap Screw (Allen Bolt)
      • CHHD Screws
      • Nut and Washers
      • Nylon Nuts and Bolts
      • Spacer and Standoff
    • Soldering Tools
    • Workbench Tools
  • Services
    • PCB Manufacturing Service
    • Custom Battery Pack
    • Online SLA 3D Printing Service
    • Online FDM 3D Printing Service
    • Metal Laser Cutting Service
    • Non-Metal Laser Cutting Service
  • Refurbished & Partial Working
    • Refurbished
    • Partial Working
  • SmartElex Environmental Sensors
  • SmartElex Line Tracing Sensors
  • SmartElex Temperature Sensors
  • SmartElex Humidity Sensors
  • SmartElex Weather Sensors
  • SmartElex Pressure Sensors
  • SmartElex Magnetometer Sensors
  • SmartElex Sound Sensors
  • Home
  • Shop
    • Shop
    • Featured Brands
    • Track your order
    • Payment Options
  • Forum
  • Bulk Enquiry
  • New Arrivals
  • ATL Kits Enquiry
  • Blogs
    • Blogs
    • Tutorials
    • Videos
  • BOM Tool
  • Careers
  • Sell on Robu
  • Shop by Brands
  • New Arrivals
  • SmartElex
    • SmartElex Development Boards
    • SmartElex Modules
      • SmartElex Relay Modules
      • SmartElex IOT & Wireless Modules
    • SmartElex Motor Drivers
      • SmartElex Motor Drivers
      • SmartElex Smart Motor Drivers
  • Electronic Components
    • Resistors
    • Capacitors
    • Inductors
    • Diodes
    • Crystal , Oscillators
    • Power Transistors
    • Component Kit
    • Semiconductor ICs
      • Microcontroller IC
      • Interface ICs
      • Clock & Timing IC
      • Sensor ICs
      • Optocoupler ICs
      • ADC & DAC Converter IC
      • Comparator ICs
      • Motor and Display Driver ICs
      • Audio Amplifier ICs
      • IC Base
    • LEDs and Panel Indicator Lights
      • LED Diode Kit
      • Panel Indicator Lights
      • LEDs with Multi Hole Holders
      • Through Hole DIP LEDs
      • SMD LED
    • Miscellaneous Component
      • Potentiometer & Trimmers
      • Fuse Kits
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • PCT Wire Connectors
    • RF Connectors
    • Interface Connector
    • FFC, FPC, Berg connectors
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange Electronic Hobby kits
    • DIY Hobby Project Parts
    • Robot Kits and Parts
    • Drone Kit
    • DIY 3D Printer Kits
    • Ebike Kit
    • Official Raspberry Pi Kits
    • Kits compatible with Arduino
    • Sensor Kits
    • Component Kit
  • Drone Parts
    • Kits
    • Frames and Accessories
    • Flight Controller & Accessories
    • Motors
    • Speed Controllers (ESC)
    • Drone Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Nuts and Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • Electric Vehicle Parts
    • E-Bike Parts
      • E-Bike Motors
      • E-Bike Controllers
      • HMI Display for E-Bikes
      • E-Bike Mechanical Accessories
      • E-Bike Electronics Accessories
      • E-Bike Batteries and Case
        • Ebike Battery
      • Ebike Kit
    • E-Rikshaw Parts
      • E-Rikshaw Motors
      • E-Rikshaw Controllers
    • E-Mini Tricycle Parts
      • E-mini Tricycle Motors
      • E-mini Tricycle Controllers
    • E-Wheelchair Parts
      • E-Wheelchair Motors
      • E-Wheelchair Controllers
    • E-Forklift Parts
      • E-forklift Motors
      • E-forklift Controllers
    • E-Gokarts Parts
      • E-GOKARTS Motors
      • E-GOKARTS Controllers
  • Laser Engraver and CNC Machines
    • Atomstack Laser Engraver
    • Two Trees Laser Engraver
    • Creality Laser Engraver
    • CNC Engraver Machines
  • 3D Printers and Parts
    • 3D Printer Filaments & Resins
      • eSun Resins
      • ESUN Filaments
      • Numakers Filaments
      • FlashForge Filaments
      • Creality Filaments
      • Sovol Filaments
      • ORANGE Premium Filaments
    • Prusa 3D Printers and Parts
    • Elegoo 3D Printers and Parts
    • Creality 3D Printers and Parts
    • BIQU 3D Printers and Parts
    • Bambu Lab 3D Printers
    • FlashForge 3D Printers
    • Goofoo 3D printer
    • Sovol 3D Printers
    • Other 3D Printers
    • 3D Printing Pen
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed Assembly
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Rail Guides
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Coupling
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • Orange LiPo Battery
      • 1 Cell (3.7-4.2)V
      • 2 Cell (7.4-8.4)V
      • 3 Cell (11.1-12.6)V
      • 4 Cell (14.8-16.8)V
      • 6 Cell (22.2-25.2)V
    • Micro LiPo Batteries
    • Lithium-Ion Batteries
      • 1 Cell Li-Ion Battery (3.6V~4.2V)
      • 2 Cell Li-Ion Battery (7.4V~8.4V)
      • 12V Li-Ion Battery (11.1V~12.6V)
      • 15V Li-Ion Battery (14.8V~16.8V)
      • 18V Li-Ion Battery (18.5V)
      • 24V Li-Ion Battery (22.2V~25.2V)
      • 36V Li-Ion Battery (36V~42V)
      • 48V Li-Ion Battery (46.8V~54.6V)
    • Orange Prismatic 1 cell (3.2V~3.6V) Battery
    • Other Batteries
      • Coin Cell Battery
      • CNC and PLC Machine Battery
    • Battery Accessories
      • Battery Protection Board
      • Battery Pack Accessories & Holders
      • Battery Chargers
      • Battery Connector
      • Battery Harness
      • Power Adapter and Cable
      • Lipo Voltage Checker
      • Parallel Charging Board
      • LiPO Battery Sack, Covers & Mats
  • Motors, Drivers, Actuators
    • DC Planetary Gear Motors
      • Orange High Torque Planetary Gears Motors
      • Orange Planetary Geared BLDC Motors
      • Cytron DC Planetary Geared Motors
    • Brushed DC Motor
      • Orange 12V Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Motor with Encoder
      • 25 GA Motors
      • Orange 12V OG 555 DC Gear Motor
      • RS 50 Geared Motor
      • Orange RS775 High RPM Base Motor
      • Orange PM33 Motor
      • Orange 12V Square Gear Box Motor
      • Orange 12V Rectangular Gearbox Motor
    • Other DC Motors
      • BO Motors
      • 12V DC Centre Shaft Metal Gear Motor
      • Plastic Gear Box Motors
      • Vibratory Motors
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Drivers
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Micro Metal Geared Motors
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
    • RC Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Hitec Servo Motors
      • TowerPro and Other Servo Motors
      • JR Servo Cable
      • Futaba Servo Cable
      • Pull and Push Rod for Servo
      • Other Servo Accessories
    • Mini Pumps and Accessories
      • Kamoer Peristaltic Pump
      • Generic Mini Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Actuators
    • Solenoids & Electromagnets
  • Development Board
    • Single Board Computer
      • Seeed Studio SBC
      • Khadas SBC
      • ODROID SBC
      • BBC MicroBit Board
      • Chipsee Mini PC
      • LATTEPANDA Boards
      • AAEON SBC
      • Intel SBC
    • Raspberry Pi
      • Official Boards and Hats
      • Official Raspberry Pi Accessories
      • Kits
      • Raspberry Pi Hats
      • Raspberry Pi Case
      • Display
      • Camera
      • Accessories
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 8051 Development Board
    • Teensy Board
    • Udoo Board
    • ARM Microcontroller
    • PIC Development board
    • PIC Programmer
    • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • Cables for Arduino
      • Displays
      • Case for Arduino
  • Raspberry Pi
    • Official Raspberry Pi Kits
    • Official Raspberry Pi Accessories
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Display modules
    • HMI LCD Display
    • TFT LCD Displays
    • OLED Display
    • e-Ink Paper Display
    • Seven Segment Display
    • LED Dot Matrix Display
  • Sensors Modules
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensors and Modules
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Other Proximity Sensor & Modules
      • LiDAR Sensor
      • Other Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Motion, Light and Sound
      • PIR / IR and Optical Sensor
      • RFID Card, Tags & Reader
      • Light/Color Sensor
      • Line Sensor
      • Sound Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage Sensor
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level Sensor
      • Vibration/Tilt Sensor and Modules
      • Load Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules
    • Other ESP WIFI Modules
    • IoT Development Boards
    • xBee Zigbee Module
    • LORA Module
    • Bluetooth and NRF Modules
    • GSM GPRS and GNSS Modules
    • Transmitter and Receivers
    • IoT WIFI Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • USB Interface Module
    • LED Module
    • LASER Module
    • RGB LED Strips and Drivers
    • Breakout Board
    • Relay Modules
    • Electronic Switches/Keypads Modules
    • Solar Panels and Controllers
    • Wearable Electronic
    • Real Time Module (RTC)
    • Audio Amplifier Module
    • Logic Level Converter
    • Buck Boost Voltage Regulators
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
    • Measuring Instruments
      • Digital Multimeters and Clampmeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Signal Generator Module & Oscilloscopes
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • Switch Mode Power Supply
      • Hi-Link Power Supply Module
    • Display modules
  • Wires and Cables
    • PVC and Silicone Wires
      • PVC Wire
      • 6 to 10 AWG
      • 12 to 16 AWG
      • 18 to 22 AWG
      • 24 to 30 AWG
    • Multi-Color Project Cables
      • DuPont / Jumper Cable
      • Interfacing and USB Cables
      • JR Servo cable
      • Futaba servo cable
      • FFC Cable
    • Heat Shrink Tubing / Sleeve
      • Heat Shrink Combos
      • 1 mm to 4 mm
      • 5 mm to 10 mm
      • 11 mm and Above
      • PVC Heat Shrink
    • Tools and Accessories
      • Wire Cutter / Stripper
      • Cable Ties
      • Sleeves and Drag Chain
  • Mechanical Parts and Workbench Tools
    • Mechanical Robotic Parts
      • Robot Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Rail Guides
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Robot Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • Mecanum Wheels
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts-Bolts and Spacers
      • Countersunk(CSK) Screws
      • Socket Set Screws (Allen Grub)
      • Socket Head Cap Screw (Allen Bolt)
      • CHHD Screws
      • Nut and Washers
      • Nylon Nuts and Bolts
      • Spacer and Standoff
    • Soldering Tools
    • Workbench Tools
  • Services
    • PCB Manufacturing Service
    • Custom Battery Pack
    • Online SLA 3D Printing Service
    • Online FDM 3D Printing Service
    • Metal Laser Cutting Service
    • Non-Metal Laser Cutting Service
  • Refurbished & Partial Working
    • Refurbished
    • Partial Working
  • SmartElex Environmental Sensors
  • SmartElex Line Tracing Sensors
  • SmartElex Temperature Sensors
  • SmartElex Humidity Sensors
  • SmartElex Weather Sensors
  • SmartElex Pressure Sensors
  • SmartElex Magnetometer Sensors
  • SmartElex Sound Sensors
Robu.in | Indian Online Store | RC Hobby | Robotics
  • Search
  • 0
  • Home
  • Shop
  • Forum
  • Bulk Enquiry
  • New Arrivals
  • ATL Kits Enquiry
  • Blogs
  • BOM Tool
  • Careers
  • Sell on Robu
HomeBlogsMicrocontrollerArduinoChange Fan Speed with Temperature – Easy and Affordable

Change Fan Speed with Temperature – Easy and Affordable

Arduino, Blogs, Microcontroller  0  comments  283 Views  Monday, July 29, 2024











Hello, everyone. In this blog I’ll show you how you can control fan speed with accordance with temperature using BME 280. And we’ll use the BME 280 sensor with Arduino

Fan Speed

Hello, everyone. In this blog I'll show you how you can control fan speed with accordance with temperature using BME 280. And we'll use the BME 280 sensor with Arduino and also a oled display to display temperature and some other stats too.

So, lets get started

  • How we gonna change Fan Speed ?
  • What is Arduino ?
  • What is BME 280 ?
  • Transistor and Fan
  • Hardware Requirements of this Project
  • Software Requirements of this Project
  • Circuit Diagram and Hardware Interfacing
    • Circuit Diagram
    • Hardware Interfacing
      • Arduino Nano
  • Coding
    • main code
    • fan_bitmap.h
  • Working Principle
  • Conclusion

How we gonna change Fan Speed ?

So basically we'll be using a temperature sensor along with Arduino Nano, or any of the Arduino Board. And the Arduino will be controlling the base of a transistor to control the flow of the current to the 5v fan, through which we'll be able to control the speed of the fan.

We can replace the transistor with MOSFET to improve efficiency when controlling fan with higher current rating. As BJT's tends to get hot at those higher amps. But for this purpose we'll stick to BJT's i.e. BC547.

What is Arduino ?

Arduino is an open-source electronics platform based on easy-to-use hardware and software. 
Arduino boards are able to read inputs - light on a sensor, a finger on a button, and turn it into an output activating a motor, turning on an LED, publishing something online and many more. 

And here we'll be using Arduino Nano specifically, you can use any other board of the Arduino family.
Some of the Arduino Nano's features -

  • Microcontroller: ATmega328
  • SRAM: 2 KB 
  • Digital I/O Pins: 22
  • PWM Pins: 6 
  • Analog Input Pins: 8 
  • Clock Speed: 16 MHz

What is BME 280 ?

It is mainly used for temperature compensation of the pressure and humidity sensors, and can also be used for estimating ambient temperature. The BME 280 supports a full range of operating modes which provide the flexibility to optimize the device for power consumption, resolution and filter performance of its intended operation. 

And it also has wide operating range of temperature from -40 to +85 C. Which makes it ideal of wide range of applications.

Transistor and Fan

In here, we've choose a 5V fan  which is 80*80 mm in size and BC547 for the transistor to control the current flowing into the fan, indirectly controlling the speed of the fan.

Hardware Requirements of this Project

  • Arduino Nano
  • BME 280
  • SSD1306 Oled Display
  • 5V Fan
  • BC547
  • Jumper Wires
  • Breadboard
  • Lighter (For testing only)

Software Requirements of this Project

  • Arduino IDE
  • Adafruit Libraries for SSD1306 display and BME 280 sensor

Circuit Diagram and Hardware Interfacing

Circuit Diagram

BME 280

Hardware Interfacing

Arduino Nano

Arduino Nano

BME 280

A4

SDA

A5

SCL

5V

VCC

GND

GND

Arduino Nano

SSD 1306

A4

SDA

A5

SCL

5V

VCC

GND

GND

Coding

Copy the following code into your Arduino IDE and upload it to your Arduino Board. And before uploading make sure to select the appropriate Arduino Board and the port on which it  is present up at the top.

And make sure that the "fan_bitmap.h" file is save with that name as exact. Otherwise you'll need to change it in the main code also.

main code

#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include "fan_bitmap.h"

Adafruit_BME280 bme;
#define BME280_ADDRESS 0x76

#define OLED_RESET     -1 
#define SCREEN_ADDRESS 0x3C
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);

void setup() {
  Serial.begin(9600);
  pinMode(3, OUTPUT);

  if (!bme.begin(BME280_ADDRESS)) {
    Serial.println("Could not find a valid BME280 sensor, check wiring!");
    while (1);
  }

  if(!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
    Serial.println("SSD1306 allocation failed");
    while (1);
  }

  Serial.println("BME280 sensor initialized successfully.");
  Serial.println("SSD1306 display initialized successfully.");

  display.display();
  delay(2000); 
  display.clearDisplay();
}

void loop() {
  int x = 50;

  for(int i = 0; i < 4; i++) {

    float temperature = bme.readTemperature();
    float humidity = bme.readHumidity();
    float pressure = bme.readPressure() / 100.0F;
    
    display.clearDisplay();
    
    display.setTextSize(1);      
    display.setTextColor(WHITE); 

    display.setCursor(0, 0);   
    display.print("Temp(C):");
    display.setCursor(50, 0);   
    display.print(temperature);

    display.setCursor(0, 20);   
    display.print("Humidity:");
    display.setCursor(55, 20);   
    display.print(humidity);

    display.setCursor(0, 40);   
    display.print("Pressure:");
    display.setCursor(55, 40);   
    display.print(pressure);

    if(temperature >= 30){
      display.drawBitmap(98, 0, fanBitmaps[i], 30, 31, WHITE);
      analogWrite(3, map(temperature, 30, 50, 100, 255));
      if(temperature >= 50)
        analogWrite(3, 255);
    }
    else{
      display.drawBitmap(98, 0, fanBitmaps[0], 30, 31, WHITE);
      analogWrite(3, 0);
    }

    display.display();
    delay(x);
  
  }
}

fan_bitmap.h

#ifndef FAN_BITMAP_H
#define FAN_BITMAP_H

const unsigned char fan_0[] PROGMEM = {
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0xc0, 0x0c, 0x00, 
	0x03, 0x00, 0x03, 0x00, 0x06, 0x1f, 0xc1, 0x80, 0x0c, 0x3f, 0xe0, 0xc0, 0x18, 0x7f, 0xf0, 0x40, 
	0x10, 0x7f, 0xf8, 0x60, 0x20, 0x7f, 0xf8, 0x20, 0x20, 0x7f, 0xe0, 0x30, 0x20, 0x3f, 0xc0, 0x10, 
	0x60, 0x1f, 0x80, 0x10, 0x43, 0x87, 0xbf, 0x18, 0x47, 0xed, 0xbf, 0x98, 0x47, 0xfc, 0xbf, 0x98, 
	0x47, 0xf7, 0xbf, 0x98, 0x47, 0xf8, 0x7f, 0x98, 0x27, 0xfe, 0xff, 0x90, 0x23, 0xfe, 0xff, 0x10, 
	0x23, 0xfc, 0xff, 0x20, 0x11, 0xfc, 0xfe, 0x20, 0x10, 0xf8, 0xf8, 0x40, 0x08, 0x70, 0x60, 0xc0, 
	0x04, 0x00, 0x01, 0x80, 0x02, 0x00, 0x03, 0x00, 0x01, 0x80, 0x06, 0x00, 0x00, 0x70, 0x38, 0x00, 
	0x00, 0x0f, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

const unsigned char fan_1[] PROGMEM = {
	0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0x38, 0x1c, 0x00, 0x00, 0xc0, 0x03, 0x00, 
	0x01, 0x80, 0x01, 0x80, 0x02, 0x0f, 0x80, 0xc0, 0x04, 0x3f, 0xc0, 0x60, 0x0c, 0x7f, 0xc0, 0x30, 
	0x08, 0xff, 0xc0, 0x10, 0x11, 0xff, 0x8f, 0x18, 0x11, 0xff, 0x9f, 0x88, 0x31, 0xff, 0x3f, 0xc8, 
	0x20, 0xfd, 0xbf, 0xc8, 0x20, 0x7b, 0xdf, 0xcc, 0x20, 0x1e, 0x5f, 0xcc, 0x20, 0x02, 0xdf, 0xcc, 
	0x20, 0xfb, 0xff, 0xc8, 0x21, 0xfc, 0x1f, 0xc8, 0x11, 0xff, 0xcf, 0x88, 0x10, 0xff, 0xc7, 0x88, 
	0x10, 0xff, 0xc6, 0x10, 0x08, 0xff, 0xc0, 0x10, 0x0c, 0x7f, 0xc0, 0x20, 0x06, 0x3f, 0xc0, 0x60, 
	0x03, 0x0f, 0x80, 0xc0, 0x01, 0x80, 0x01, 0x80, 0x00, 0xe0, 0x06, 0x00, 0x00, 0x3f, 0xf8, 0x00, 
	0x00, 0x07, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00
};

const unsigned char fan_2[] PROGMEM = {
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x00, 0x00, 0x70, 0x38, 0x00, 
	0x01, 0x80, 0x06, 0x00, 0x03, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x80, 0x0c, 0x18, 0x38, 0x40, 
	0x08, 0x7c, 0x7c, 0x20, 0x11, 0xfc, 0xfe, 0x20, 0x13, 0xfc, 0xff, 0x10, 0x23, 0xfd, 0xff, 0x10, 
	0x27, 0xfd, 0xff, 0x90, 0x67, 0xf8, 0x7f, 0x88, 0x67, 0xf7, 0xbf, 0x88, 0x67, 0xf4, 0xff, 0x88, 
	0x67, 0xf6, 0xdf, 0x88, 0x63, 0xf7, 0x87, 0x08, 0x20, 0x07, 0xe0, 0x18, 0x20, 0x0f, 0xf0, 0x10, 
	0x30, 0x1f, 0xf8, 0x10, 0x10, 0x7f, 0xf8, 0x10, 0x18, 0x7f, 0xf8, 0x20, 0x08, 0x3f, 0xf8, 0x60, 
	0x0c, 0x1f, 0xf0, 0xc0, 0x06, 0x0f, 0xe1, 0x80, 0x03, 0x00, 0x03, 0x00, 0x00, 0xc0, 0x0c, 0x00, 
	0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};


const unsigned char fan_3[] PROGMEM = {
	0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x3f, 0xf8, 0x00, 0x00, 0xc0, 0x0e, 0x00, 
	0x03, 0x00, 0x03, 0x00, 0x06, 0x03, 0xe1, 0x80, 0x0c, 0x07, 0xf8, 0xc0, 0x08, 0x07, 0xfc, 0x60, 
	0x10, 0x07, 0xfe, 0x20, 0x10, 0xc7, 0xfe, 0x10, 0x23, 0xc7, 0xfe, 0x10, 0x23, 0xe7, 0xff, 0x10, 
	0x27, 0xf0, 0x7f, 0x08, 0x27, 0xff, 0xbe, 0x08, 0x67, 0xf6, 0x80, 0x08, 0x67, 0xf4, 0xf0, 0x08, 
	0x67, 0xf7, 0xbc, 0x08, 0x27, 0xfb, 0x7e, 0x08, 0x27, 0xf9, 0xff, 0x18, 0x23, 0xf3, 0xff, 0x10, 
	0x31, 0xe3, 0xff, 0x10, 0x10, 0x07, 0xfe, 0x20, 0x18, 0x07, 0xfc, 0x60, 0x0c, 0x07, 0xf8, 0x40, 
	0x06, 0x03, 0xe0, 0x80, 0x03, 0x00, 0x03, 0x00, 0x01, 0x80, 0x06, 0x00, 0x00, 0x70, 0x38, 0x00, 
	0x00, 0x0f, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00
};

const unsigned char* fanBitmaps[] = { fan_0, fan_1, fan_2, fan_3 };

#endif // FAN_BITMAP_H

Working Principle

There's not much to say in here, we're reading temperature, humidity and pressure off the sensor and displaying on the OLED display. And side by side we're checking for the temperature also, and if the temperature exceeds lets say 30C.

Then we're switching the transistor on lowest possible value and as the temperature rises we'll increase the fan's speed accordingly. And if the temperature is above 50C then we're switching the transistor fully on.

And as for the bitmap we're displaying on the OLED display, we've used "image to cpp" website to generate 4 bitmaps of a fan's image rotating at 0, 90, 180, 270 degree respectively. And we're selecting the images in order to give a visual representation of the fan is spinning when the temp is over 30C.

Conclusion

If upto this point, you haven't faced any errors and the fan is spinning in accordance with the temperature. Then congratulations you've successfully learned how to control fan with rise and fall in temperature. 
And also learned how to interface multiple devices over I2C. If you're facing any issues or difficulties. Feel free to ask down below.

If you want to see the video of this project, follow this link - Change Fan Speed with Temperature

- For more such Arduino and Raspberry Pi based projects,
   check out our Arduino Playlist and Raspberry Pi Playlist


- And for other more interesting projects, check our main YouTube Channel


Tags : arduino , arduino nano , sensors

Share This Article


About Robu

Robu Single Logo

India's biggest robotics E-commerce company. Robu deals with Arduino, Raspberry Pi, Sensors, Drone parts, 3D printer parts, E-bike accessories and Electronics components etc. Click here to explore range of Robotics products available at Robu. Also, do not forget to follow us on Facebook, Instagram and YouTube because we are constantly contributing to the community by creating content around Arduino, Raspberry Pi, Drones, Sensors etc.


Related Posts

card image
Internet of Things - IoT Advantages and Disadvantages - 2021

 Monday March 1, 2021      4530 Views

IoT connects the physical world to the internet, which allows us to use things remotely with ease of access.... Read More

card image
Interfacing Soil Sensor With The Arduino

 Sunday August 16, 2020      2969 Views

The blog covers, how moisture sensor works and step by step guide of interfacing sensor with Arduino.... Read More

card image
Orange Arduino Pro Mini Starter Kit

 Wednesday January 19, 2022      963 Views

Hello there, and welcome back. In this blog, we will discuss the orange Arduino Pro Mini Kit. In this kit, we will discuss how to use the Arduino Pro Mini as well as how to connect the LED, LDR, Switc... Read More

card image
How to choose Li-Ion and Li-Po Batteries for drone and RC- Features, Comparison.

 Friday July 19, 2024      377 Views

Hey everyone! Are you confused to choose between Li-ion and Li-Po batteries for your Drones and RCs? In this Blog, we’ll break down the differences, features, and best uses for... Read More

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

Search Post


Related Posts

Hand Wash Timer Using Arduino
Arduino Nano ESP32 and DFRobot Gravity I2C Non-contact IR Temperature Measuring Device
Introducing Arduino Uno R4 Minima And Arduino Uno R4 WIFI: Empowering Makers, Revolutionizing Possibilities!
Interfacing of Nokia display with an Arduino


Subscribe to our Newsletter
to get promotional offers & discounts
Robu.in | Indian Online Store | RC Hobby | Robotics
Got Questions ? Call us between 9:15 AM to 6:15 PM Monday-Saturday 1800 266 6123, 020 68197600

Information

  • Track Your Order
  • Videos
  • FAQ
  • Careers

My Account

  • Cart
  • Checkout
  • My Account
  • Payment Options

Services

  • ABOUT US
  • Contact Us
  • Robu B2B

Policies

  • Investor Relations
  • MACFOS CSR
  • Privacy policy
  • Terms of Service
  • Shipping & Refund
  • E-Waste Collection

Download Our App

google-play-badge
iOS App Link
© Robu.in is registered trademark of MACFOS LIMITED - All Rights Reserved

Subscribe to our Newsletter

Information

  • Track Your Order
  • Videos
  • FAQ
  • Careers

My Account

  • Cart
  • Checkout
  • My Account
  • Payment Options

Why Choose us

  • ABOUT US
  • Contact Us
  • Robu B2B

Policies

  • ABOUT US
  • Shipping & Refund Policy
  • Terms of Service
  • Privacy policy
  • Shipping Time / Delivery Time
  • Guarantee/Warranty
  • Changing or Canceling An Order
  • Payment Options
  • MACFOS LIMITED CSR
  • Investor Relations

Download Our App

google-play-badge
Robu.in | Indian Online Store | RC Hobby | Robotics
Got Questions ? Call us between 9:15 AM to 6:15 PM Monday-Saturday 1800 266 6123, 020 68197600

Plese Fill this details