Skip to navigation Skip to content
  • 1800 266 6123
  •  [email protected]
  • 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
  • Creality 3D Printers
  • Orange Premium Learning Kits
    • Orange Kits for Arduinos
    • Orange Kits for Raspberry Pi
    • Orange Electronic Component Kits
    • Orange DIY Mini Project Kits
  • Learning and Robotic Kits
    • Learning and Robotic Kits
      • DIY Hobby Project Parts
      • Robot Kits
      • Drone Kit
      • 3D Printer Kits
      • Ebike Kit
      • Official Raspberry Pi Kits
      • Kits compatible with Arduino
      • Sensor Kits
      • Component Kit
  • Drone Parts
    • Drone Assembly Parts
      • Kits
      • Motors
      • Frames and Accessories
      • FPV Cameras
      • Antennas
      • FPV/Telemetry Trans-Receiver
      • Accessories
      • Camera Gimbal
    • Controllers
      • Flight Controller & Accessories
      • Speed Controllers (ESC)
      • Drone Transmitter & Receiver
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
  • E-Bike Parts
    • Title-menu
    • e-Bike Parts and Kits
      • Ebike Kit
      • Ebike Motor and Controller
      • Ebike Battery
      • Mechanical Accessories
      • Electronics Accessories
  • 3D Printer Parts
    • 3D Printers and Kits
    • Electronics Parts
      • 3D Printer Heatbed and Accessories
      • Limit Switch
      • Stepper Motors and Accessories
      • 3D Printer Display and Controllers
      • Stepper Motor Drivers
    • Mechanical Parts
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Bearings
      • Timing Belt and Pulley
      • Nut Insert
      • Sleeves and Drag Chain
      • Linear Guide Rail
    • Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Lithium Batteries
    • Lemon Premium Li-PO Battery
      • 2S Lipo (7.4V ~ 8.4V)
      • 3S Lipo (11.1V ~ 12.6V)
      • 4S Lipo (14.8V ~ 16.8V)
      • 6S LiPo (22.2V ~ 25.2V)
    • 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
    • Orange Li-Ion Batteries
      • 1 cell (3.7V~4.2V)
      • 2 Cell (7.4V~8.4V)
      • 3 Cell (11.1V~12.6V)
      • 4 Cell (14.8V~16.8V)
      • 5 Cell (18.5V) & 6 cell (22.2V)
    • Orange Premium BMS
    • Other Batteries
      • TX/RX Li-PO Batteries
      • LifePO4 Battery
      • 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
    • Brushed DC Motor
      • Orange Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Geared Motor with Encoder
      • 25 GA Motors
      • Orange OG 555 DC Motor
      • RS 50 Geared Motor
      • Orange RS 775 DC Motor
      • Orange PM33 Motor
      • Orange Square Gear Box Motor
      • Orange Rectangular Gearbox Motor
    • Miscellaneous Motors
      • Servo Motors
      • AC Motor
      • Stepper Motor
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Drone Motor
      • Solenoids & Electromagnets
      • Linear Motor/Actuator
      • Cooling Fans
      • Pumps
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
    • Motor Drivers
      • Brushed DC Motor Driver
      • Brushless DC Motor Driver (ESC)
      • Stepper Motor Drivers
      • Servo Motor Driver
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
      • Vibration Motor
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
  • Development Board
    • Raspberry Pi, 8051 & Other Boards
      • Raspberry Pi
      • 8051 Board
      • Single Board Computer
      • Teensy Board
      • Udoo Board
      • ARM Microcontroller
      • PIC Development board
      • Programmers
      • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • USB Cables for Arduino
      • Displays
      • Case for Arduino
  • Original Arduino Boards
    • Original Arduino Mega/Uno/Nano Boards
      • Arduino Mega2560 MCU Rev3
      • Arduino Uno Rev 3
      • Arduino UNO WiFi REV2
      • Arduino Nano
      • Arduino Nano 33 IOT
      • Arduino Nano Every
      • ARDUINO NANO 33 BLE
      • Arduino Nano 33 BLE Sense
    • Other Arduino Board
      • Arduino OPLÀ IoT Kit
      • Arduino Tiny Machine learning Kit
      • Arduino Due Board
      • Arduino Portenta Vision Shield
      • Arduino Portenta Vision Shield – LORA
      • Arduino Portenta H7
      • Arduino MKR Wifi 1010
      • ARDUINO MKR WAN 1300
      • Arduino Micro without Headers
  • Raspberry Pi
    • Raspberry Pi
      • Official Boards and Hats
      • Official Accessories
      • Kits
      • Raspberry Pi Case
      • Display
      • Camera
      • Raspberry Pi Hats
      • Accessories
  • Sensors
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Generic Proximity Sensor
    • Distance and Vision
      • LiDAR Sensor
      • RFID Card, Tags & Reader
      • Sound Sensor
      • Generic Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Light and Sound
      • Light/Color Sensor
      • PIR and IR Sensor
      • Line Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor
      • Load / Pressure / Force / Flex Sensor
    • Sensor Kits
      • Sensor Kits Link and Image
  • Cameras
    • Cameras
      • IoT Cameras
      • FPV Cameras
      • Smart Vision Camera
      • Thermal Cameras
      • Raspberry Pi Camera
  • IoT and Wireless
    • IoT and Wireless
      • Ai Thinker ESP Wifi Modules
      • ESP WiFi Module
      • Development Board/Kit
      • xBee Zigbee Module
      • LORA WiFi
      • Bluetooth and NRF Modules
      • GSM / GPRS
      • Transmitter and Receivers
      • Advance Controller Board
      • Wireless Smart Switches
  • Electronic Modules
    • Displays
      • Seven Segment LED Display
      • LCD Displays
      • HMI LCD Display
      • OLED Display
      • LED Dot Matrix Display
      • e-Ink Display
    • Interface Module
      • Programming Module
      • Ethernet Module
      • Bluetooth Interfacing
      • Communication Module
      • Memory Interfacing
    • LED and Laser Modules
      • LED Module
      • LASER Module
      • Addressable LED and Drivers
    • Miscellaneous Modules
      • Breakout Board
      • Relay Switch Modules
      • Electronic Switches/Keypads
      • Solar Panels and Controllers
      • Wearable Electronic
      • Real Time Module (RTC)
      • Audio Module/ Amplifier
      • Mux-DeMux & Logic Converter
    • Voltage Regulator
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
  • Electronic Components
    • Semiconductor ICs
      • Microcontroller IC
      • Amplifier ICs
      • Interface IC
      • WiFi ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler IC
      • Other Semicondutor ICs
      • IC Base
    • LED | Plugs / Connectors
      • LEDs Kit
      • LEDs
      • Through Hole LED
      • SMD LED
      • RF Connectors
      • Berg / FPC / IDC Connector
      • Power Connector
      • Interface Connector
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillator
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Mechanical Switches
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
  • 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
    • Cables
      • DuPont / Jumper Cable
      • Interfacing 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
  • Instruments & Tools
    • Measuring Instruments & Tools
      • Oscilloscope & Signal Generator
      • Ammeter, Voltmeter and Multimeter
      • Other measuring Instruments
      • Soldering Tools and Kits
      • Glue Gun & Sticks
      • Workbench Accessories
    • Power Supply
      • SMPS
      • Transformers
      • Hi-Link Power Supply Module
  • Mechanical
    • Mechanical Robotic Parts
      • Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Guide Rail
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Wheels
      • Mecanum Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts and Bolts
      • 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
0 ₹ 0.00
All Categories
  • Shop by Brands
  • New Arrivals
  • Creality 3D Printers
  • Orange Premium Learning Kits
    • Orange Kits for Arduinos
    • Orange Kits for Raspberry Pi
    • Orange Electronic Component Kits
    • Orange DIY Mini Project Kits
  • Learning and Robotic Kits
    • Learning and Robotic Kits
      • DIY Hobby Project Parts
      • Robot Kits
      • Drone Kit
      • 3D Printer Kits
      • Ebike Kit
      • Official Raspberry Pi Kits
      • Kits compatible with Arduino
      • Sensor Kits
      • Component Kit
  • Drone Parts
    • Drone Assembly Parts
      • Kits
      • Motors
      • Frames and Accessories
      • FPV Cameras
      • Antennas
      • FPV/Telemetry Trans-Receiver
      • Accessories
      • Camera Gimbal
    • Controllers
      • Flight Controller & Accessories
      • Speed Controllers (ESC)
      • Drone Transmitter & Receiver
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
  • E-Bike Parts
    • Title-menu
    • e-Bike Parts and Kits
      • Ebike Kit
      • Ebike Motor and Controller
      • Ebike Battery
      • Mechanical Accessories
      • Electronics Accessories
  • 3D Printer Parts
    • 3D Printers and Kits
    • Electronics Parts
      • 3D Printer Heatbed and Accessories
      • Limit Switch
      • Stepper Motors and Accessories
      • 3D Printer Display and Controllers
      • Stepper Motor Drivers
    • Mechanical Parts
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Bearings
      • Timing Belt and Pulley
      • Nut Insert
      • Sleeves and Drag Chain
      • Linear Guide Rail
    • Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Lithium Batteries
    • Lemon Premium Li-PO Battery
      • 2S Lipo (7.4V ~ 8.4V)
      • 3S Lipo (11.1V ~ 12.6V)
      • 4S Lipo (14.8V ~ 16.8V)
      • 6S LiPo (22.2V ~ 25.2V)
    • 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
    • Orange Li-Ion Batteries
      • 1 cell (3.7V~4.2V)
      • 2 Cell (7.4V~8.4V)
      • 3 Cell (11.1V~12.6V)
      • 4 Cell (14.8V~16.8V)
      • 5 Cell (18.5V) & 6 cell (22.2V)
    • Orange Premium BMS
    • Other Batteries
      • TX/RX Li-PO Batteries
      • LifePO4 Battery
      • 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
    • Brushed DC Motor
      • Orange Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Geared Motor with Encoder
      • 25 GA Motors
      • Orange OG 555 DC Motor
      • RS 50 Geared Motor
      • Orange RS 775 DC Motor
      • Orange PM33 Motor
      • Orange Square Gear Box Motor
      • Orange Rectangular Gearbox Motor
    • Miscellaneous Motors
      • Servo Motors
      • AC Motor
      • Stepper Motor
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Drone Motor
      • Solenoids & Electromagnets
      • Linear Motor/Actuator
      • Cooling Fans
      • Pumps
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
    • Motor Drivers
      • Brushed DC Motor Driver
      • Brushless DC Motor Driver (ESC)
      • Stepper Motor Drivers
      • Servo Motor Driver
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
      • Vibration Motor
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
  • Development Board
    • Raspberry Pi, 8051 & Other Boards
      • Raspberry Pi
      • 8051 Board
      • Single Board Computer
      • Teensy Board
      • Udoo Board
      • ARM Microcontroller
      • PIC Development board
      • Programmers
      • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • USB Cables for Arduino
      • Displays
      • Case for Arduino
  • Original Arduino Boards
    • Original Arduino Mega/Uno/Nano Boards
      • Arduino Mega2560 MCU Rev3
      • Arduino Uno Rev 3
      • Arduino UNO WiFi REV2
      • Arduino Nano
      • Arduino Nano 33 IOT
      • Arduino Nano Every
      • ARDUINO NANO 33 BLE
      • Arduino Nano 33 BLE Sense
    • Other Arduino Board
      • Arduino OPLÀ IoT Kit
      • Arduino Tiny Machine learning Kit
      • Arduino Due Board
      • Arduino Portenta Vision Shield
      • Arduino Portenta Vision Shield – LORA
      • Arduino Portenta H7
      • Arduino MKR Wifi 1010
      • ARDUINO MKR WAN 1300
      • Arduino Micro without Headers
  • Raspberry Pi
    • Raspberry Pi
      • Official Boards and Hats
      • Official Accessories
      • Kits
      • Raspberry Pi Case
      • Display
      • Camera
      • Raspberry Pi Hats
      • Accessories
  • Sensors
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Generic Proximity Sensor
    • Distance and Vision
      • LiDAR Sensor
      • RFID Card, Tags & Reader
      • Sound Sensor
      • Generic Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Light and Sound
      • Light/Color Sensor
      • PIR and IR Sensor
      • Line Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor
      • Load / Pressure / Force / Flex Sensor
    • Sensor Kits
      • Sensor Kits Link and Image
  • Cameras
    • Cameras
      • IoT Cameras
      • FPV Cameras
      • Smart Vision Camera
      • Thermal Cameras
      • Raspberry Pi Camera
  • IoT and Wireless
    • IoT and Wireless
      • Ai Thinker ESP Wifi Modules
      • ESP WiFi Module
      • Development Board/Kit
      • xBee Zigbee Module
      • LORA WiFi
      • Bluetooth and NRF Modules
      • GSM / GPRS
      • Transmitter and Receivers
      • Advance Controller Board
      • Wireless Smart Switches
  • Electronic Modules
    • Displays
      • Seven Segment LED Display
      • LCD Displays
      • HMI LCD Display
      • OLED Display
      • LED Dot Matrix Display
      • e-Ink Display
    • Interface Module
      • Programming Module
      • Ethernet Module
      • Bluetooth Interfacing
      • Communication Module
      • Memory Interfacing
    • LED and Laser Modules
      • LED Module
      • LASER Module
      • Addressable LED and Drivers
    • Miscellaneous Modules
      • Breakout Board
      • Relay Switch Modules
      • Electronic Switches/Keypads
      • Solar Panels and Controllers
      • Wearable Electronic
      • Real Time Module (RTC)
      • Audio Module/ Amplifier
      • Mux-DeMux & Logic Converter
    • Voltage Regulator
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
  • Electronic Components
    • Semiconductor ICs
      • Microcontroller IC
      • Amplifier ICs
      • Interface IC
      • WiFi ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler IC
      • Other Semicondutor ICs
      • IC Base
    • LED | Plugs / Connectors
      • LEDs Kit
      • LEDs
      • Through Hole LED
      • SMD LED
      • RF Connectors
      • Berg / FPC / IDC Connector
      • Power Connector
      • Interface Connector
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillator
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Mechanical Switches
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
  • 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
    • Cables
      • DuPont / Jumper Cable
      • Interfacing 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
  • Instruments & Tools
    • Measuring Instruments & Tools
      • Oscilloscope & Signal Generator
      • Ammeter, Voltmeter and Multimeter
      • Other measuring Instruments
      • Soldering Tools and Kits
      • Glue Gun & Sticks
      • Workbench Accessories
    • Power Supply
      • SMPS
      • Transformers
      • Hi-Link Power Supply Module
  • Mechanical
    • Mechanical Robotic Parts
      • Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Guide Rail
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Wheels
      • Mecanum Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts and Bolts
      • 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
  • Home
  • Shop
    • Shop
    • Featured Brands
    • Bulk Enquiry
    • Track your order
    • Payment Options
  • Laser Cutting
    • Non-metal
    • Metal
  • Custom Battery Pack
  • 3D Printing
  • B2B
  • Blogs
    • Tutorials
    • Videos
  • Support
  • Shop by Brands
  • New Arrivals
  • Creality 3D Printers
  • Orange Premium Learning Kits
    • Orange Kits for Arduinos
    • Orange Kits for Raspberry Pi
    • Orange Electronic Component Kits
    • Orange DIY Mini Project Kits
  • Learning and Robotic Kits
    • Learning and Robotic Kits
      • DIY Hobby Project Parts
      • Robot Kits
      • Drone Kit
      • 3D Printer Kits
      • Ebike Kit
      • Official Raspberry Pi Kits
      • Kits compatible with Arduino
      • Sensor Kits
      • Component Kit
  • Drone Parts
    • Drone Assembly Parts
      • Kits
      • Motors
      • Frames and Accessories
      • FPV Cameras
      • Antennas
      • FPV/Telemetry Trans-Receiver
      • Accessories
      • Camera Gimbal
    • Controllers
      • Flight Controller & Accessories
      • Speed Controllers (ESC)
      • Drone Transmitter & Receiver
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
  • E-Bike Parts
    • Title-menu
    • e-Bike Parts and Kits
      • Ebike Kit
      • Ebike Motor and Controller
      • Ebike Battery
      • Mechanical Accessories
      • Electronics Accessories
  • 3D Printer Parts
    • 3D Printers and Kits
    • Electronics Parts
      • 3D Printer Heatbed and Accessories
      • Limit Switch
      • Stepper Motors and Accessories
      • 3D Printer Display and Controllers
      • Stepper Motor Drivers
    • Mechanical Parts
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Bearings
      • Timing Belt and Pulley
      • Nut Insert
      • Sleeves and Drag Chain
      • Linear Guide Rail
    • Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Lithium Batteries
    • Lemon Premium Li-PO Battery
      • 2S Lipo (7.4V ~ 8.4V)
      • 3S Lipo (11.1V ~ 12.6V)
      • 4S Lipo (14.8V ~ 16.8V)
      • 6S LiPo (22.2V ~ 25.2V)
    • 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
    • Orange Li-Ion Batteries
      • 1 cell (3.7V~4.2V)
      • 2 Cell (7.4V~8.4V)
      • 3 Cell (11.1V~12.6V)
      • 4 Cell (14.8V~16.8V)
      • 5 Cell (18.5V) & 6 cell (22.2V)
    • Orange Premium BMS
    • Other Batteries
      • TX/RX Li-PO Batteries
      • LifePO4 Battery
      • 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
    • Brushed DC Motor
      • Orange Johnson Geared Motor
      • Johnson Geared Motor (Grade B)
      • DC Geared Motor with Encoder
      • 25 GA Motors
      • Orange OG 555 DC Motor
      • RS 50 Geared Motor
      • Orange RS 775 DC Motor
      • Orange PM33 Motor
      • Orange Square Gear Box Motor
      • Orange Rectangular Gearbox Motor
    • Miscellaneous Motors
      • Servo Motors
      • AC Motor
      • Stepper Motor
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Drone Motor
      • Solenoids & Electromagnets
      • Linear Motor/Actuator
      • Cooling Fans
      • Pumps
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
    • Motor Drivers
      • Brushed DC Motor Driver
      • Brushless DC Motor Driver (ESC)
      • Stepper Motor Drivers
      • Servo Motor Driver
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
      • Vibration Motor
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
  • Development Board
    • Raspberry Pi, 8051 & Other Boards
      • Raspberry Pi
      • 8051 Board
      • Single Board Computer
      • Teensy Board
      • Udoo Board
      • ARM Microcontroller
      • PIC Development board
      • Programmers
      • Advance Development Boards
    • Compatible with Arduino Boards
      • Boards
      • Shields
      • USB Cables for Arduino
      • Displays
      • Case for Arduino
  • Original Arduino Boards
    • Original Arduino Mega/Uno/Nano Boards
      • Arduino Mega2560 MCU Rev3
      • Arduino Uno Rev 3
      • Arduino UNO WiFi REV2
      • Arduino Nano
      • Arduino Nano 33 IOT
      • Arduino Nano Every
      • ARDUINO NANO 33 BLE
      • Arduino Nano 33 BLE Sense
    • Other Arduino Board
      • Arduino OPLÀ IoT Kit
      • Arduino Tiny Machine learning Kit
      • Arduino Due Board
      • Arduino Portenta Vision Shield
      • Arduino Portenta Vision Shield – LORA
      • Arduino Portenta H7
      • Arduino MKR Wifi 1010
      • ARDUINO MKR WAN 1300
      • Arduino Micro without Headers
  • Raspberry Pi
    • Raspberry Pi
      • Official Boards and Hats
      • Official Accessories
      • Kits
      • Raspberry Pi Case
      • Display
      • Camera
      • Raspberry Pi Hats
      • Accessories
  • Sensors
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • Orange Proximity Sensor
      • Autonics Proximity Sensor
      • Generic Proximity Sensor
    • Distance and Vision
      • LiDAR Sensor
      • RFID Card, Tags & Reader
      • Sound Sensor
      • Generic Ultrasonic Sensors
    • Temp., Humidity, Gas & Environmental
      • Temperature & Humidity Sensor
      • Environmental Sensors
      • Gas and Dust Sensor
      • Thermoelectric Cooler
    • Light and Sound
      • Light/Color Sensor
      • PIR and IR Sensor
      • Line Sensor
    • Biometric, Rotation, and Current
      • Biometric/ECG/EMG Sensor
      • Rotary Encoder
      • Current and Voltage
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor
      • Load / Pressure / Force / Flex Sensor
    • Sensor Kits
      • Sensor Kits Link and Image
  • Cameras
    • Cameras
      • IoT Cameras
      • FPV Cameras
      • Smart Vision Camera
      • Thermal Cameras
      • Raspberry Pi Camera
  • IoT and Wireless
    • IoT and Wireless
      • Ai Thinker ESP Wifi Modules
      • ESP WiFi Module
      • Development Board/Kit
      • xBee Zigbee Module
      • LORA WiFi
      • Bluetooth and NRF Modules
      • GSM / GPRS
      • Transmitter and Receivers
      • Advance Controller Board
      • Wireless Smart Switches
  • Electronic Modules
    • Displays
      • Seven Segment LED Display
      • LCD Displays
      • HMI LCD Display
      • OLED Display
      • LED Dot Matrix Display
      • e-Ink Display
    • Interface Module
      • Programming Module
      • Ethernet Module
      • Bluetooth Interfacing
      • Communication Module
      • Memory Interfacing
    • LED and Laser Modules
      • LED Module
      • LASER Module
      • Addressable LED and Drivers
    • Miscellaneous Modules
      • Breakout Board
      • Relay Switch Modules
      • Electronic Switches/Keypads
      • Solar Panels and Controllers
      • Wearable Electronic
      • Real Time Module (RTC)
      • Audio Module/ Amplifier
      • Mux-DeMux & Logic Converter
    • Voltage Regulator
      • Boost Converter (Step-Up )
      • Buck Converter (Step-Down)
  • Electronic Components
    • Semiconductor ICs
      • Microcontroller IC
      • Amplifier ICs
      • Interface IC
      • WiFi ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler IC
      • Other Semicondutor ICs
      • IC Base
    • LED | Plugs / Connectors
      • LEDs Kit
      • LEDs
      • Through Hole LED
      • SMD LED
      • RF Connectors
      • Berg / FPC / IDC Connector
      • Power Connector
      • Interface Connector
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillator
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Mechanical Switches
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
  • 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
    • Cables
      • DuPont / Jumper Cable
      • Interfacing 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
  • Instruments & Tools
    • Measuring Instruments & Tools
      • Oscilloscope & Signal Generator
      • Ammeter, Voltmeter and Multimeter
      • Other measuring Instruments
      • Soldering Tools and Kits
      • Glue Gun & Sticks
      • Workbench Accessories
    • Power Supply
      • SMPS
      • Transformers
      • Hi-Link Power Supply Module
  • Mechanical
    • Mechanical Robotic Parts
      • Chassis
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • Lead Screw
      • Linear Guide Rail
      • Couplings
      • Bearings
      • Motor Mounting Brackets
      • Gears
    • Wheels
      • Mecanum Wheels
      • Omni Wheels
      • Heavy Duty Wheel
      • RC Car Wheel
      • Pulley Wheel & Track Belt
      • Caster Wheels
    • Carbon Fiber
      • Carbon Fiber Sheets and Strips
      • Carbon Fiber Tubes and Rods
    • Nuts and Bolts
      • 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
Robu.in | Indian Online Store | RC Hobby | Robotics
  • Search
  • 0
  • Home
  • Shop
  • Laser Cutting
  • Custom Battery Pack
  • 3D Printing
  • B2B
  • Blogs
  • Support
HomeBlogsDevelopment boardsAdvance Development BoardInterfacing IR Sensor With STM32 Discovery Board

Interfacing IR Sensor With STM32 Discovery Board

Advance Development Board, Blogs, Sensors  0  comments  630 Views  Friday, June 25, 2021











STM32 Boards have 23 interrupt sources. In this article, we will see how STM32 handles interrupts at a primitive level.

Hello, we have already gone through the introduction of the STM32 discovery board. Today we are going to interface the Infrared Sensor with STM Board. If you are a beginner in using STM programming, you will understand the interrupt handling and use of GPIO pins. Let's get started!

Components Required:

  • STM32F407 Discovery Board 
  • Infrared Sensor
  • LEDs
  • Breadboard
  • Jumpers
  • USB type A to Mini B Cable.

Interfacing Diagram:

The following picture depicts the interfacing between the IR module and STM32 DISC Board. PA1 pin introduces interrupt as IR sensor detects an obstacle. The LED connected at PD1 indicates the interrupt status.

Pinout:

  • LED1- PD0 (Pin 0 of Port D)
  • LED2- PD1 (Pin 1 of Port D)
  • IR (5V)- 5V of STM Board
  • IR (Gnd)- GND of STM
  • IR (Dout)- PA1 (Pin 1 of Port A)

Software:

Let's move towards code writing and deployment. I have used Atollic Truestudio for the programming of the board. The initial steps are software installing and selecting the board. After that, go to Files-->New Project-->C project and the perspective of the new project will open, as you can see in the following image.

  • Step 1: Create New Project.
  • Step 2: Write Code.
  • Step 3: Save.
  • Step 4: Build Project.
  • Step 5: Debug.

In the Debugger perceptive, press the resume button to run the code on STM32 Board.

Code:

STM32F GPIO pins are classified as Port A, Port B, Port C etc. All these ports are inactive by default. However, if we have to use them, we must enable the clock at a particular GPIO.

RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); //Enable GPIOD clock 
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA, ENABLE); //Enable  GPIOA clock 
RCC_AHB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE); // Enable SYSCFG clock 
GPIO_InitLed.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; // GPIOs as output push-pull to drive external GPIO_InitLed.GPIO_Mode = GPIO_Mode_OUT; // Define as output port.
GPIO_InitLed.GPIO_Speed = GPIO_Speed_50MHz;

The speed at these pins cannot be exact 50MHz. But, by using this line, we are trying to get the maximum possible speed at it.

GPIO_Init(GPIOD, &GPIO_InitLed);// Apply all above configurations.

Normally, STM32 boards have a total of 23 interrupt sources which can be classified into two sections. One section is for GPIO pins from P0 to P15 on each port, and the other is for RTC, Ethernet and USB interrupts. As PA0 and PB0 are connected to Line 0, we can not use them simultaneously. However, PA2 and PA6 can be used at a time as they are connected to different lines.

SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOA, EXTI_PinSource1);//Connect EXTI at Line1 to PA1 pin 

/*Configuration of EXTI at Line1.*/

EXTI_InitSensor.EXTI_Line = EXTI_Line1;
EXTI_InitSensor.EXTI_Mode = EXTI_Mode_Interrupt;
EXTI_InitSensor.EXTI_Trigger = EXTI_Trigger_Rising;
EXTI_InitSensor.EXTI_LineCmd = ENABLE;
EXTI_Init(&EXTI_InitSensor);


NVIC_InitSensor.NVIC_IRQChannel = EXTI1_IRQn;// Selection of interrupt

The below lines sets the priority level of interrupt. i.e., the highest priority interrupt has a lower number from 0x00 to 0x0F.

NVIC_InitSensor.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitSensor.NVIC_IRQChannelSubPriority = 0;
NVIC_InitSensor.NVIC_IRQChannelCmd = ENABLE;// enable interrupt.
void EXTI1_IRQHandler(void) // interrupt Handler for pin1 connected to line 1
{
	if(EXTI_GetITStatus(EXTI_Line1) != RESET)
	{
		GPIO_WriteBit(GPIOD, GPIO_Pin_1, Bit_SET);
		Delay(33600000);
		GPIO_WriteBit(GPIOD, GPIO_Pin_1, Bit_RESET);
          }
} // Interrupt handler
EXTI_ClearITPendingBit(EXTI_Line1);// Clear the EXTI line pending bit.

The complete program is as follows.

#include "stm32f4xx.h"
#include "stm32f4_discovery.h"

GPIO_InitTypeDef GPIO_InitLed;
EXTI_InitTypeDef EXTI_InitSensor;
NVIC_InitTypeDef NVIC_InitSensor;

void Delay(__IO uint32_t nCount)

{
	while(nCount--)
	{

	}
}

int main(void)
{
	RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);
	RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA, ENABLE);

    RCC_AHB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);

	GPIO_InitLed.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1;
	GPIO_InitLed.GPIO_Mode = GPIO_Mode_OUT;
	GPIO_InitLed.GPIO_OType = GPIO_OType_PP;
	GPIO_InitLed.GPIO_PuPd = GPIO_PuPd_NOPULL;
	GPIO_InitLed.GPIO_Speed = GPIO_Speed_50MHz;
        GPIO_Init(GPIOD, &GPIO_InitLed);

	GPIO_InitLed.GPIO_Pin = GPIO_Pin_1;
	GPIO_InitLed.GPIO_Mode = GPIO_Mode_IN;
	GPIO_InitLed.GPIO_Mode = GPIO_OType_PP;
	GPIO_InitLed.GPIO_PuPd = GPIO_PuPd_DOWN;
	GPIO_InitLed.GPIO_Speed = GPIO_Speed_50MHz;
	GPIO_Init(GPIOA, &GPIO_InitLed);


	SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOA, EXTI_PinSource1);

	EXTI_InitSensor.EXTI_Line = EXTI_Line1;
	EXTI_InitSensor.EXTI_Mode = EXTI_Mode_Interrupt;
	EXTI_InitSensor.EXTI_Trigger = EXTI_Trigger_Rising;
	EXTI_InitSensor.EXTI_LineCmd = ENABLE;
	EXTI_Init(&EXTI_InitSensor);

	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);

	NVIC_InitSensor.NVIC_IRQChannel = EXTI1_IRQn;
	NVIC_InitSensor.NVIC_IRQChannelPreemptionPriority = 0;
	NVIC_InitSensor.NVIC_IRQChannelSubPriority = 0;
	NVIC_InitSensor.NVIC_IRQChannelCmd = ENABLE;
	NVIC_Init(&NVIC_InitSensor);

	while (1)
  {
	GPIO_WriteBit(GPIOD, GPIO_Pin_0, Bit_SET);
	Delay(16800000);
	GPIO_WriteBit(GPIOD, GPIO_Pin_0, Bit_RESET);
	Delay(16800000);
  }
}
void EXTI1_IRQHandler(void)
{
	if(EXTI_GetITStatus(EXTI_Line1) != RESET)
	{
		GPIO_WriteBit(GPIOD, GPIO_Pin_1, Bit_SET);
		Delay(33600000);
		GPIO_WriteBit(GPIOD, GPIO_Pin_1, Bit_RESET);
		EXTI_ClearITPendingBit(EXTI_Line1);
     }

}

Output:

Final Words:

Hope you found this article informative. If you are interested to learn more about it, let us know your thoughts in the comment section.


Tags : Interfacing of IR sensor , Interrupt , STM32

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
What is Laser Cutting? – Complete Guide In 2021

 Tuesday May 11, 2021      599 Views

Laser cutting techniques use lasers to slice material. This technique is very fond of hobbyists and is also widely used in industrial use. In this blog we will learn what is Laser cutting and its diff... Read More

card image
Orange Basic Kit For Arduino Beginners

 Tuesday June 15, 2021      589 Views

Orange Basic Kit!! Here the quest to learn Arduino will end.... Read More

card image
Selecting Quadcopter Motor: A Detailed Guide 2021

 Wednesday December 16, 2020      1400 Views

This guide will give you a better understanding of how to select the quadcopter motor and the parameters on which they're selected.... Read More

card image
Types of Proximity Sensor

 Thursday February 27, 2020      13881 Views

In this blog we will learn about the different types of the proximity sensor, their specifications and working.... Read More

Leave a comment Cancel reply

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

Search Post


Related Posts

5 Pros and 5 Cons of Raspberry Pi
3D Printer Filament Types
Introduction to STM32F407 Discovery Kit
Orange ESP-32 Cam IoT Kit


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 All Days 1800 266 6123, 020 68197600

Information

  • Track Your Order
  • Videos
  • FAQ
  • Careers

My Account

  • Cart
  • Checkout
  • My Account
  • Payment Options

Why Choose Us?

  • Support
  • ABOUT US
  • Contact Us
  • Robu B2B

Policies

  • Privacy policy
  • Terms of Service
  • Shipping & Refund Policy
  • E-Waste Collection Points
  • FAQ

Download Our App

google-play-badge
© Robu.in is registered trademark of MACFOS PRIVATE 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

  • Support
  • 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

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 All Days 1800 266 6123, 020 68197600