Skip to navigation Skip to content
  • 1800 266 6123
  •  [email protected].in
  • 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
  • Refurbished
  • Partial Working
  • Electronic Components
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillators
    • Semiconductor ICs
      • Microcontroller ICs
      • Interface ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler ICs
      • Converter ICs
      • Comparator ICs
      • Driver ICs
      • Encoder ICs
      • Audio ICs
      • IC Base
    • LEDs and Indicators
      • LEDs Kit
      • Pilot Lamp Indicator
      • LEDs with Holders
      • Through Hole LED
      • SMD LED
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • Mechanical Switches
    • Power Connectors
    • RF Connectors
    • Interface Connector
    • Berg / FPC / IDC Connector
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange DIY Mini Project 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)
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • E-Bike Parts
    • Ebike Kit
    • Ebike Motor and Controller
    • Ebike Battery
    • Mechanical Accessories
    • Electronics Accessories
  • 3D Printers and Parts
    • Creality 3D Printers
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors and Accessories
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed and Accessories
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Guide Rail
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
    • 3D Printer Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • 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
    • Micro LiPo Batteries
    • Lithium-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) & Above
    • 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
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
    • 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
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Other Servo motor
    • Pumps
      • Kamoer High Quality Pumps and Accessories
      • Generic Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Motor/Actuator
    • Solenoids & Electromagnets
    • Other DC Motors
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Vibration Motor
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Driver
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
  • Development Board
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 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
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Raspberry Pi
    • Official Boards and Hats
    • Official Accessories
    • Kits
    • Raspberry Pi Case
    • Display
    • Camera
    • Raspberry Pi Hats
    • Accessories
  • Displays
    • HMI LCD Display
    • LCD Displays
    • OLED Display
    • e-Ink Display
    • Seven Segment LED Display
    • LED Dot Matrix Display
  • Sensors
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • 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
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor and Modules
      • Load / Pressure / Force / Flex Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules and Development Boards
    • ESP WiFi Module
    • Development Board/Kit
    • xBee Zigbee Module
    • LORA WiFi
    • Bluetooth and NRF Modules
    • GSM / GPRS Modules
    • Transmitter and Receivers
    • Advance Controller Board
    • Wireless Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • Interface Module
    • LED Module
    • LASER Module
    • Addressable LED and Drivers
    • 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)
    • Measuring Instruments
      • Digital Multimeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Oscilloscope & Signal Generator
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • SMPS
      • Hi-Link Power Supply Module
    • Displays
  • 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
  • Mechanical Components and Workbench Tools
    • 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-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
0 ₹ 0.00
All Categories
  • Shop by Brands
  • New Arrivals
  • Refurbished
  • Partial Working
  • Electronic Components
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillators
    • Semiconductor ICs
      • Microcontroller ICs
      • Interface ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler ICs
      • Converter ICs
      • Comparator ICs
      • Driver ICs
      • Encoder ICs
      • Audio ICs
      • IC Base
    • LEDs and Indicators
      • LEDs Kit
      • Pilot Lamp Indicator
      • LEDs with Holders
      • Through Hole LED
      • SMD LED
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • Mechanical Switches
    • Power Connectors
    • RF Connectors
    • Interface Connector
    • Berg / FPC / IDC Connector
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange DIY Mini Project 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)
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • E-Bike Parts
    • Ebike Kit
    • Ebike Motor and Controller
    • Ebike Battery
    • Mechanical Accessories
    • Electronics Accessories
  • 3D Printers and Parts
    • Creality 3D Printers
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors and Accessories
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed and Accessories
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Guide Rail
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
    • 3D Printer Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • 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
    • Micro LiPo Batteries
    • Lithium-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) & Above
    • 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
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
    • 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
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Other Servo motor
    • Pumps
      • Kamoer High Quality Pumps and Accessories
      • Generic Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Motor/Actuator
    • Solenoids & Electromagnets
    • Other DC Motors
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Vibration Motor
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Driver
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
  • Development Board
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 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
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Raspberry Pi
    • Official Boards and Hats
    • Official Accessories
    • Kits
    • Raspberry Pi Case
    • Display
    • Camera
    • Raspberry Pi Hats
    • Accessories
  • Displays
    • HMI LCD Display
    • LCD Displays
    • OLED Display
    • e-Ink Display
    • Seven Segment LED Display
    • LED Dot Matrix Display
  • Sensors
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • 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
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor and Modules
      • Load / Pressure / Force / Flex Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules and Development Boards
    • ESP WiFi Module
    • Development Board/Kit
    • xBee Zigbee Module
    • LORA WiFi
    • Bluetooth and NRF Modules
    • GSM / GPRS Modules
    • Transmitter and Receivers
    • Advance Controller Board
    • Wireless Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • Interface Module
    • LED Module
    • LASER Module
    • Addressable LED and Drivers
    • 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)
    • Measuring Instruments
      • Digital Multimeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Oscilloscope & Signal Generator
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • SMPS
      • Hi-Link Power Supply Module
    • Displays
  • 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
  • Mechanical Components and Workbench Tools
    • 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-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
  • Home
  • Shop
    • Shop
    • Featured Brands
    • Bulk Enquiry
    • Track your order
    • Payment Options
  • Clearance Sale
  • New Arrivals
  • Services
    • 3D Printing
      • FDM
      • SLA
    • Laser Cutting
      • Non-metal
      • Metal
    • PCB Manufacturing
    • Custom Battery Pack
  • B2B
  • Blogs
    • Blogs
    • Tutorials
    • Videos
  • Careers
  • Support
  • Shop by Brands
  • New Arrivals
  • Refurbished
  • Partial Working
  • Electronic Components
    • Basic Electronic Components
      • Component Kit
      • Resistor
      • Inductor
      • Capacitor
      • Diode
      • Transistor
      • Crystal Oscillators
    • Semiconductor ICs
      • Microcontroller ICs
      • Interface ICs
      • Clock, Timer and Counter ICs
      • Sensor ICs
      • Optocoupler ICs
      • Converter ICs
      • Comparator ICs
      • Driver ICs
      • Encoder ICs
      • Audio ICs
      • IC Base
    • LEDs and Indicators
      • LEDs Kit
      • Pilot Lamp Indicator
      • LEDs with Holders
      • Through Hole LED
      • SMD LED
    • Miscellaneous Component
      • Potentiometer
      • Fuse
      • Buzzer/Speaker
      • Aluminium Heat Sink
      • Bread Board and Zero PCB
    • Mechanical Switches
    • Power Connectors
    • RF Connectors
    • Interface Connector
    • Berg / FPC / IDC Connector
  • DIY Learning and Robot Kits
    • Orange Premium Learning Kits
      • Orange Kits for Arduinos
      • Orange Kits for Raspberry Pi
      • Orange Electronic Component Kits
      • Orange DIY Mini Project 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)
    • Propellers
      • Upto 3 Inch
      • 3 Inch to 7 Inch
      • 8 Inch to 10 Inch
      • 11 Inch and Above
      • Carbon Fiber Propeller
      • Triblades
      • Propeller Accessories
    • Drone Transmitter & Receiver
    • Antennas
    • FPV Cameras
    • FPV Antennas and Trans-Receivers
    • Accessories
    • Camera Gimbal
  • E-Bike Parts
    • Ebike Kit
    • Ebike Motor and Controller
    • Ebike Battery
    • Mechanical Accessories
    • Electronics Accessories
  • 3D Printers and Parts
    • Creality 3D Printers
    • Electronics Parts
      • 3D Printer Display and Controllers
      • 3D Printer Extruder Kit
      • 3D Printer Extruder Parts and Fans
      • Stepper Motors and Accessories
      • 3D Printer Display and Controller
      • Limit Switch
    • Mechnical Parts
      • 3D Printer Heatbed and Accessories
      • 3D Printer Nozzle
      • Lead Screw and Nut
      • Linear Guide Rail
      • Aluminum Extrusion and Accessories
      • Smooth Rods
      • 3D Printer Couplings
      • Timing Belt and Pulley
      • Sleeves and Drag Chain
    • 3D Printer Filaments
      • ORANGE Premium Filaments
      • ESUN Filaments
      • Resins
  • Batteries, Chargers and Accessories
    • Custom Battery Pack
    • 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
    • Micro LiPo Batteries
    • Lithium-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) & Above
    • 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
    • Planetary Gear Motor
      • Orange Planetary Gears Motor
      • Orange Planetary BLDC Motors
      • Planetary Gear DC Motors
    • 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
    • N20 Micro Gear Motor
      • Micro Gear Motor with Encoder
      • Micro Gear Motor without Encoder
    • Stepper Motor
    • Servo Motors
      • Orange RC Servo Motors
      • Emax Servo Motor
      • Other Servo motor
    • Pumps
      • Kamoer High Quality Pumps and Accessories
      • Generic Pumps
      • Pneumatic Connectors and Valves
    • Cooling Fans
    • Linear Motor/Actuator
    • Solenoids & Electromagnets
    • Other DC Motors
      • BO Motors
      • Metal Gear Box Motor
      • Plastic Gear Box Motors
      • Vibration Motor
      • Drone Motor
    • Motor Drivers
      • Brushed DC Motor Driver
      • Servo Motor Driver
      • Stepper Motor Drivers
      • Brushless DC Motor Driver (ESC)
    • Motor Accessories
      • Motor Mounting Brackets
      • Bearings
      • Couplings
      • JR Servo Cable
      • Futaba Servo Cable
      • Push Rod
      • Other Accessories
  • Development Board
    • Official Arduino Boards
      • Original Arduino Boards
      • Official Arduino Shields
      • Official Arduino Kits
    • 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
  • Official Arduino Boards
    • Original Arduino Boards
    • Official Arduino Shields
    • Official Arduino Kits
  • Raspberry Pi
    • Official Boards and Hats
    • Official Accessories
    • Kits
    • Raspberry Pi Case
    • Display
    • Camera
    • Raspberry Pi Hats
    • Accessories
  • Displays
    • HMI LCD Display
    • LCD Displays
    • OLED Display
    • e-Ink Display
    • Seven Segment LED Display
    • LED Dot Matrix Display
  • Sensors
    • Sensor Kits
    • Ultrasonic and Proximity
      • MAXBOTIX Ultrasonic Sonar
      • Ultrasonic Sensor
      • 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
    • Load, Pressure, Flow & Vibration
      • Water TDS, pH, Flow, Level and Pressure Sensor
      • Vibration/Tilt Sensor and Modules
      • Load / Pressure / Force / Flex Sensor
  • Cameras
    • IoT Cameras
    • FPV Cameras
    • Smart Vision Camera
    • Thermal Cameras
    • Raspberry Pi Camera
  • IoT and Wireless
    • Ai Thinker ESP Modules and Development Boards
    • ESP WiFi Module
    • Development Board/Kit
    • xBee Zigbee Module
    • LORA WiFi
    • Bluetooth and NRF Modules
    • GSM / GPRS Modules
    • Transmitter and Receivers
    • Advance Controller Board
    • Wireless Smart Switches
  • Electronic Modules
    • Programming Module
    • Memory Interfacing
    • Communication Module
    • Bluetooth Interfacing
    • Ethernet Module
    • Interface Module
    • LED Module
    • LASER Module
    • Addressable LED and Drivers
    • 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)
    • Measuring Instruments
      • Digital Multimeter
      • Temperature Meter
      • Digital Voltage, Current and Frequency Meter
      • Oscilloscope & Signal Generator
      • Other Measuring Instrument
    • Power Supply
      • Transformers
      • SMPS
      • Hi-Link Power Supply Module
    • Displays
  • 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
  • Mechanical Components and Workbench Tools
    • 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-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
Robu.in | Indian Online Store | RC Hobby | Robotics
  • Search
  • 0
HomeBlogsDevelopment boardsRaspberry PiRaspberry Pi Ultrasonic Sensor Interface Tutorial

Raspberry Pi Ultrasonic Sensor Interface Tutorial

Raspberry Pi, Sensors  1  comments  4065 Views  Monday, March 9, 2020











In this article, we discuss the interfacing of ultrasonic sensors with Raspberry Pi.

Ultrasonic Sensor with Raspberry Pi 4

Hi geek, As I ensured in my previous article, I am back with an article on ultrasonic interfacing with Raspberry Pi GPIO. In our earlier article, we talked about the Raspberry Pi GPIO pinouts. If you haven't gone through it, I request you take a look, here is the link. In this article, we will discuss the interfacing of ultrasonic sensors with Raspberry Pi and a little description of the "Python code for ultrasonic sensor". 

Using Ultrasonic Sensors With Raspberry Pi GPIO

As you know ultrasonic sensors are used for distance measurement purposes. Typically, we use ultrasonic sensors in obstacle prevention robots and DIY radar projects. Similar sensors like IR sensor, LIDAR, sonar sensor are also available in the market which can be used for similar purposes but in this article, we are not talking about them. I will write about them in my upcoming articles.  

How Does the Ultrasonic Sensor Works?

As you are from the DIY community, I'm pretty sure you know how an ultrasonic sensor works. If you know about it then you can skip this part of this blog and go to the coding section. But if you are new to this then you can continue this section. 

So, ultrasonic sensor work is somewhat similar to radar sensor work. In radar, the transmitter generates radio waves (sound waves), an electromagnetic wave that travels in the air and returns when it hits an object in their path. The distance is then calculated using a simple high-school formula which is given below. 

  Distance = Time x Speed 

Time – Time that is taken by the sound wave to reach the receiver 

Speed – Speed of the sound wave. 

Interesting Note –  

  1. Speed of sound changes due to the change in temperature and change in humidity. 

  1. The speed of sound, however, is 4.3 times as fast in water as in air 

Interfacing Of The Ultrasonic Sensor With The Raspberry PI 4 GPIO-

As discussed earlier, ultrasonic sensors have a transmitter (Trigger) that can be used to transmit infrared sound waves and have a receiver that receives reflected sound waves(ECHO pin). 

And it has power pins which are VCC and GND. The following picture shows the pinout of the ultrasonic sensor and its interface with the Raspberry Pi. 

Ultrasonic sensor interfacing with raspberry pi 4

Components that you will require:

  1. Voltage Level Converter
  2. Ultrasonic Sensor
  3. 5v 3Amp Raspberry Pi Power Adapter
  4. Raspberry Pi 4

 

Python Code For The Ultrasonic Sensor

Here begins the most awaited section of this article and that is the Python code for ultrasonic sensors. Here I have tried to broaden every line we use in this code, but if I have messed up something here, please let me know in the comments section. 

So, the first line of this code starts from importing modules that can be used to work with the raspberry pi GPIO pins.  

import RPi.GPIO as GPIO 
import time 

RPi.GPIO - This module helps us to talk with the GPIO pins of Raspberry Pi. 

Time - We are using the Time Module to add a delay between transmitting infrared sound waves and receiving it. 

GPIO.setmode(GPIO.BCM)

The GPIO SetMode is used to define the numbering scheme used to work on the Raspberry Pi GPIO and there are two ways to define the numbering scheme which are GPIO.board and GPIO.BCM.

Before I tell more about GPIO.Board and GPIO.BCM, I request you to take a look at the following image. 

raspberry pi GPIO

 

GPIo.Board - If you want to refer to the pin with the number indicated in the circle, you can use the GPIO.setmode (GPIO.board) method 

 GPIO.setmode(GPIO.BCM) - BCM is an acronym for Broadcom chip-specific number.  If you want to refer to a pin number representing a rectangle you can use GPIO.SetMode (GPIO.BCM). 

Personally, I like to use GPIO.setmode(GPIO.BCM) method because it comes in handy when working on communication protocols such as Serial, SPI, I2C, etc. 

GPIO_ECHO = 13 

GPIO_TRIG = 11 

These lines of code are used for initialization of PINs, to which we will connect the ultrasonic sensor.  

GPIO.setup(GPIO_ECHO, GPIO.IN) 

GPIO.setup(GPIO_TRIG, GPIO.OUT)

If you have worked on the Arduino board before then you may be familiar with the pinMode function, this line of code does the same thing. Using this line of code, we can configure the Raspberry Pi's pins as input pins or OUTPUT pins. 

Distance Calculation Python Code

GPIO.output(GPIO_TRIG, GPIO.LOW) 

Time.sleep(2)

 As mentioned in the datasheet of this ultrasonic sensor we are using the above line of code to make the GPIO pin low for 2 milliseconds.  

Time.sleep(2) -  This line of code introduces the delay in the process.  

GPIO.output(GPIO_TRIG, GPIO.HIGH) 

time.sleep(0.00001) 

GPIO.output(GPIO_TRIG, GPIO.LOW)

 As per the datasheet of the sensor we are introducing the delay in between making GPIO_TRIG pin high and low.  

while GPIO.input(GPIO_ECHO)==0: 

                start_time = time.time() 

while GPIO.input(GPIO_ECHO)==1: 

               Bounce_back_time = time.time() 

pulse_duration = Bounce_back_time - start_time 

distance = round(pulse_duration * 17150, 2) 

print (f"Distance: {distance} cm")

Note – If you are not using Python 3.0 or higher version then the above print function will not work. in that case, you can modify the print line with the following line. 

print ("Distance:",distance,"cm")

 In the above line of code, we are calculating the time taken by the pulse to return to the receiver after hitting an object, and for this purpose, we have initialized the pulse duration variable. This variable stores the duration that is taken by the sound wave to return. 

If you add all the above lines of code you will get the following code. 

 

import RPi.GPIO as GPIO 

import time 

GPIO.setmode(GPIO.BCM) 

GPIO_TRIG = 11 

GPIO_ECHO = 18

GPIO.setup(GPIO_TRIG, GPIO.OUT) 

GPIO.setup(GPIO_ECHO, GPIO.IN) 

GPIO.output(GPIO_TRIG, GPIO.LOW) 

Time.sleep(2) 

GPIO.output(GPIO_TRIG, GPIO.HIGH) 

Time.sleep(0.00001) 

GPIO.output(GPIO_TRIG, GPIO.LOW) 

while GPIO.input(GPIO_ECHO)==0: 

start_time = time.time() 

while GPIO.input(GPIO_ECHO)==1: 

Bounce_back_time = time.time() 

pulse_duration = Bounce_back_time - start_time 

distance = round(pulse_duration * 17150, 2) 

print (f"Distance: {distance} cm") 

GPIO.cleanup() 
 

Conclusion -  

In this article, we learned the interfacing of ultrasonic sensors with Raspberry Pi GPIO 4 pins. If you liked this article or have any doubt then let me know in the comment section. In our next article, we will discuss on the relay module and its interfacing with the raspberry GPIO  4. Stay Tuned!! 

 

Tags : Raspberry pi , raspberry pi 4 India , Raspberry Pi Article , raspberry pi GPIO , ultrasonic sensor

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
Orange Raspberry Pi Zero 2W Basic Kit

 Tuesday January 25, 2022      276 Views

Hello and welcome to this blog where we will be discussing the orange Raspberry Pi Zero 2W Basic Kit. This kit is only available at Robu.in. ... Read More

card image
What is Raspberry Pi?

 Thursday April 30, 2020      1114 Views

The article tells you about the Raspberry Pi.... Read More

card image
Face tracking using Raspberry Pi.

 Tuesday December 21, 2021      276 Views

Hey guys, In this blog we will be making a simple face tracking device using Raspberry Pi.... Read More

card image
How to Connect Raspberry Pi to Laptop

 Wednesday April 29, 2020      3772 Views

A step by step guide for connecting Raspberry Pi to a Laptop.... Read More

Leave a comment Cancel reply

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

Comments (1)

    Bimal sabu
    May 18, 2020

    very informative for my projects… thanku sir

    Reply

Search Post


Related Posts

Sun Tracking Solar Panel Using Arduino Project - Step by Step Guide with Code
IR (Infrared) And PIR Motion Sensor With Arduino And With Raspberry PI
Best Raspberry Pi Apps for Electronics Engineers
How to Uninstall Apps(Packages) on Raspberry Pi


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

Why Choose Us?

  • Support
  • ABOUT US
  • Contact Us
  • Robu B2B

Policies

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

Download Our App

google-play-badge
© 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

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