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
  • 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
    • 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
    • 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
  • 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
    • 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
    • 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
  • New Arrivals
  • Services
    • 3D Printing
      • FDM
      • SLA
    • Laser Cutting
      • Non-metal
      • Metal
    • PCB Manufacturing
    • Custom Battery Pack
  • B2B
  • Blogs
    • Tutorials
    • Videos
  • Careers
  • Support
  • Shop by Brands
  • New Arrivals
  • 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
    • 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
    • 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
  • Home
  • Shop
  • New Arrivals
  • Services
  • B2B
  • Blogs
  • Careers
  • Support
HomeBlogsOrange Raspberry Pi Pico Advanced Kit

Orange Raspberry Pi Pico Advanced Kit

Blogs, Orange Kits, Orange Raspberry Pi Pico, Raspberry Pi  0  comments  298 Views  Monday, January 24, 2022











Good day, and welcome back. In this blog, we will talk about The orange Raspberry Pi Pico Advanced Kit. This kit is only available on robu.in.
This kit contains a variety of components that will assist you in understanding all of the necessary concepts related to the raspberry Pi Pico board.

Raspberry-pi-pico-advance-Thumbnail

Orange Raspberry Pi Pico Advanced Kit - In the previous blog, we discussed the installation procedure and a few important topics , and I believe that information will be very useful for you to understand the basics of the raspberry pi pico board.If you haven't already, please check out that blog.

We will be covering so many new things about the Raspberry Pi Pico board in this blog and I am very excited to talk about those things, and I am pretty sure you will be as well.

So, without any further ado let's get started.

We have included a few advanced topics in this blog, that is why to simplify the learning process, I have divided this blog into increasing hierarchical sections.

In the first section of this blog, we will go over basic terms like interfacing the PIR sensor and LED with the Raspberry Pi Pico board.

This section will teach you the fundamentals of the raspberry pi pico board's GPIO section.

Following that, we will discuss the basic ports of the Raspberry Pi Pico board, followed by advanced ports such as I2C and SPI.

So, this is the roadmap of this blog. You can also refer to the booklets that come with this kit.

According to the roadmap, in the next part of the blog, we will learn how to connect the PIR sensor with the Raspberry Pi Pico.

PIR Sensor With The Raspberry Pi Pico

You may have heard of the burglar alarm system. These burglar alarms are programmed to detect motion.

When a moving object passes in front of these systems, they detect it and send high-level signals to the controller.

These sensors are used to detect infrared signals. It has two pyroelectric material slots.

The booklet contains more detailed information about the pyroelectric material. You can learn more about this material by reading the booklet.

pyroelectric material is the type of material that has the ability to produce a certain amount of voltage when heated or cold.

When the surrounding temperature of the material changes the material produces a certain amount of voltage and this changed voltage becomes normal if the previous change in the temperature remains constant. And this is the only reason, we should keep the PIR sensor on for two-three seconds before using it.

Talking about the PIR Sensor, it has two slots made up of this type of material.

After turning on the sensor, both slots detect the same amount of Temperature, which is the ambient amount radiated from the room, walls, or outdoors.

When a warm body, such as a human or animal, passes by, one half of the PIR sensor is intercepted, resulting in a positive differential change between the two halves.

And when the warm body moves away from the sensing area, the sensor produces a negative differential change. These pulses of change are what is detected.

This change in the output then will be given to the controller where the controller executes the required operations based on the input received.

So, this was about the working principle of the PIR sensor. In the next part of the blog, we will talk about the interfacing of the PIR sensor with raspberry pi pico.

Interfacing Of The PIR Sensor With The Raspberry Pi Pico

There are three output pins on the PIR sensor. One of these pins is a signal pin, while the others are power pins.

To use this PIR sensor, we must connect the signal pin of the PIR sensor to any GPIO pin of the Raspberry Pi Pico.

Because the PIR Sensor's output will be either HIGH or LOW, we won't need to use any communication ports. The output pin can be connected to any standard GPIO pin. And we can use the normal GPio Read function to read the output of the sensor.

Please see the image below to understand the interfacing diagram.

PIR Sensor With The Raspberry Pi Pico
PIR Sensor With The Raspberry Pi Pico

Python Code For PIR Sensor

So, here is the Python code for communicating with the PIR Sensor.

from machine import Pin
import utime

pir_sensor = Pin(16, Pin.IN)
utime.sleep(2)

while True:
   if pir_sensor.value() == 1:
       print("Motion Detected")
       utime.sleep(3)
   else:
       print("No Motion")
       utime.sleep(1)
utime.sleep(0.1)

In this code, we are instructing the PICO board to read the output and turn on the LED whenever the surrounding temperature changes.

Now you can upload the above code to your raspberry Pi Pico board. If you have any doubts then please mention your doubts in the comment section.

Okay, so this was about connecting the PIR sensor to the Raspberry Pi Pico.

If you have any questions about this section, please leave them in the comments section.

In the following section of this blog, we will learn how to connect the buzzer module to the Raspberry Pi Pico.

Buzzer With The Raspberry Pi Pico

This Orange Raspberry Pi Pico kit includes an active buzzer. As we all know, an active buzzer contains an oscillator that generates sound signals based on the input it receives.

The buzzer module's interface with the Raspberry Pi Pico is a very simple part. It has two pins, one of which has a negative sign on it and can be connected to the board's GND pin and the other to any GPIO pin on the Raspberry Pi Pico.

Please refer to the image below and make the connection as shown.

Buzzer Module Interfacing WIth The Raspberry Pi Pico Board
Buzzer Module Interfacing WIth The Raspberry Pi Pico Board

So this was all about connecting the buzzer module to the Raspberry Pi Pico.

Now we'll get into the coding of the Buzzer module.

Python Code For Active Buzzer Module

from machine import Pin
import time

buzzer = Pin(15, Pin.OUT)

while True:
    buzzer.value(1)
    time.sleep(1)
    buzzer.value(0)

The While loop in the code is used to read the output from the switch. When we press the switch, we get a zero-level output, and when we let go of the pressed switch, we get a high-level signal.

And, based on the input from the switch module, we activate the buzzer module.

So, we learned how to connect the Buzzer module to the Raspberry Pi Pico board in this tutorial.

If you have any comments or questions about this section, please leave them in the section below.

We will learn how to connect the 16 RGB LED to the Raspberry Pi Pico in the following section.

16 RGB LED Ring With The Raspberry Pi Pico

This is a brand-new item included in this kit. We can use the product to create various colour patterns.

It has 16 RGB LED pins that are controlled by only three output pins.

One of these three pins is a data pin, while the other two are power pins.

We can connect the data pin to any GPIO pin on the Raspberry Pi and the power pins to the Raspberry Pi Pico board's power port.

Please see the image below to better understand the interfacing diagram.

RGB Ring Interfacing With The Raspberry Pi Pico
RGB Ring Interfacing With The Raspberry Pi Pico

So this is was about the interfacing, Now we'll get into the coding of the Raspberry Pi Pico.

Python Code For 16 RGB LED Ring

import array, time
from machine import Pin
import rp2

#
############################################
# RP2040 PIO and Pin Configurations
############################################
#
# WS2812 LED Ring Configuration
led_count = 16 # number of LEDs in ring light
PIN_NUM = 13 # pin connected to ring light
brightness = 1.0 # 0.1 = darker, 1.0 = brightest

@rp2.asm_pio(sideset_init=rp2.PIO.OUT_LOW, out_shiftdir=rp2.PIO.SHIFT_LEFT,
             autopull=True, pull_thresh=24) # PIO configuration

# define WS2812 parameters
def ws2812():
    T1 = 2
    T2 = 5
    T3 = 3
    wrap_target()
    label("bitloop")
    out(x, 1)               .side(0)    [T3 - 1]
    jmp(not_x, "do_zero")   .side(1)    [T1 - 1]
    jmp("bitloop")          .side(1)    [T2 - 1]
    label("do_zero")
    nop()                   .side(0)    [T2 - 1]
    wrap()


# Create the StateMachine with the ws2812 program, outputting on pre-defined pin
# at the 8MHz frequency
sm = rp2.StateMachine(0, ws2812, freq=8_000_000, sideset_base=Pin(PIN_NUM))

# Activate the state machine
sm.active(1)

# Range of LEDs stored in an array
ar = array.array("I", [0 for _ in range(led_count)])
#
############################################
# Functions for RGB Coloring
############################################
#
def pixels_show(brightness_input=brightness):
    dimmer_ar = array.array("I", [0 for _ in range(led_count)])
    for ii,cc in enumerate(ar):
        r = int(((cc >> 8) & 0xFF) * brightness_input) # 8-bit red dimmed to brightness
        g = int(((cc >> 16) & 0xFF) * brightness_input) # 8-bit green dimmed to brightness
        b = int((cc & 0xFF) * brightness_input) # 8-bit blue dimmed to brightness
        dimmer_ar[ii] = (g<<16) + (r<<8) + b # 24-bit color dimmed to brightness
    sm.put(dimmer_ar, 8) # update the state machine with new colors
    time.sleep_ms(10)

def pixels_set(i, color):
    ar[i] = (color[1]<<16) + (color[0]<<8) + color[2] # set 24-bit color
        
def breathing_led(color):
    step = 5
    breath_amps = [ii for ii in range(0,255,step)]
    breath_amps.extend([ii for ii in range(255,-1,-step)])
    for ii in breath_amps:
        for jj in range(len(ar)):
            pixels_set(jj, color) # show all colors
        pixels_show(ii/255)
        time.sleep(0.02)

red = (255,0,0)
green = (0,255,0)
blue = (0,0,255)
yellow = (255,255,0)
cyan = (0,255,255)
white = (255,255,255)
blank = (0,0,0)
colors = [blue,yellow,cyan,red,green,white]

while True: # loop indefinitely
    for color in colors: 
        breathing_led(color)
        time.sleep(0.1) 

The above code can be used to control the RGB ring. The LEDs of the RGB Ring are turned on in a pattern using the code above. Please use the code and let me know if you run into any issues.

Max7219 8*8 LED Matrix Display With The Raspberry Pi Pico Board

You may have seen 8*8 LED Matrix displays in the market. These displays are primarily used for advertising and a variety of other purposes.

Prior to the invention of the dot matrix display, it was extremely difficult to design a display similar to the dot matrix display.

Back then, in order to create a display similar to a dot matrix display, we had to connect 16 pins to a microcontroller, which was a difficult task.

So, a few curious engineers like you and me stepped forward to solve the problem, and they created the unique design of the dot matrix display by combining a few common electronic technologies like multiplexing.

You've probably heard of multiplexing. If not, don't worry, I'll let you know.

Assume you've been asked to work on an embedded project, but there are some constraints on the pin.

You only have six pins, but your project requires twelve. In that case, you may be thinking that you will use communication protocols, but suppose there are none available on the system.

Isn't it true that the problem has grown in size? What are your thoughts on a possible solution to this?

Here you can use multiplexing. Multiplexing is a process that is processed by a circuit called a multiplexer.

Multiplexing is the process of combining two or more signals and sending them to an output device. You might think that combining two or more signals would distort the information, but this is not the case.

True, multiple signals are mixed in multiplexing, but guard bands are added between each burst to prevent the signals from being mixed.

So, this is what multiplexing is.

As I told you earlier, the 8*8 dot matrix display also uses the same technique to blink the LEDs.

In the dot matrix display, the LEDs are connected in columns and rows. To turn on any particular led, we will have to power the correct column and row.

The following image will clear all your doubts about the above concept.

Dot Matrix Display Internal Structure
Dot Matrix Display Internal Structure

Interfacing The Dot Matrix Display With The Raspberry Pi Pico Board

So, now that you understand the fundamentals of the dot matrix display, we can move on to the display's interfacing with the Raspberry Pi Pico Board.

In the image below, we have connected the dot-matrix display to the Raspberry Pi Pico. Please look into it.

Dot Matrix Display Interfacing With Raspberry Pi Pico
Dot Matrix Display Interfacing With Raspberry Pi Pico

Python Code For Dot Matrix Display

You can use the Following code, to start working with the Dot Matrix Display.

from machine import Pin, SPI, ADC
import max7219
from utime import sleep

MAX7219_NUM = 4
MAX7219_INVERT = False
MAX7219_SCROLL_DELAY = 0.15
cs_pin = 5

spi = SPI(0)
display = max7219.Matrix8x8(spi=spi, cs=Pin(cs_pin), num=MAX7219_NUM)
display.brightness(2)
     
p = MAX7219_NUM * 8
to_volts = 3.3 / 65535
temper_sensor = ADC(4)  #Get the voltage value of the temperature sensor from ADC(4)

while True:
   temper_volts = temper_sensor.read_u16() * to_volts  # acquire the temperature depend on it's voltage
   celsius_degrees = 27 - (temper_volts - 0.706) / 0.001721    # Calculated celsius
   text = 'Temp:'+str(round(celsius_degrees,2))   # Take 2 decimal
   
   for p in range(MAX7219_NUM * 8, len(text) * -8 - 1, -1):
       display.fill(MAX7219_INVERT)
       display.text(text, p, 1, not MAX7219_INVERT)    # Display in the x, y position(string, x, y, color=1) 
       display.show()
       sleep(MAX7219_SCROLL_DELAY) 

So, In this way, we learned how to connect the dot matrix display to the Raspberry Pi Pico board in this manner.

If you encounter any difficulties, please let us know in the comments section. comment section.

I2C Backpack LCD With The Raspberry Pi Pico Board

We've covered the fundamentals up to this point; in this section, we'll learn how to connect the I2C backpack LCD Backpack to the Raspberry Pi.

There are two kinds of LCDs available on the market (Based on the Interface).

I2C Backpack LCD and normal LCD. The difference between these two LCDs is that a standard LCD requires up to 9-10 pins to interface with any microcontroller, whereas an I2C backpack only requires four pins to establish communication between the LCD and the microcontroller.

In the following image you can see the interfacing of the LCD with the Raspberry Pi Pico.

I2C LCD Interfacing With The Raspberry Pi Pico
I2C LCD Interfacing With The Raspberry Pi Pico

Here, we've connected the LCD's SCL and SDA pins to the Raspberry Pi Pico's I2C communication port.

Okay, now that our interfacing portion is complete, we can move on to the coding portion.

If you want to learn more about I2C communication, please download the booklet. We went over everything in great detail in that booklet.

Python Code For I2C Backpack LCD

In the preceding code, we are determining the product's I2C address. Each slave device in I2C communication has a unique I2C address, which is used by the master device to distinguish between two slave devices and send data to the correct slave device.

And if we do not provide the correct I2C address to the controller, the slave device will not receive the necessary information from the microcontroller, which is why determining the correct address becomes necessary.

from machine import I2C, Pin
from time import sleep
from pico_i2c_lcd import I2cLcd
i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=400000)

I2C_ADDR = i2c.scan()[0]
lcd = I2cLcd(i2c, I2C_ADDR, 2, 16)
while True:
    print(I2C_ADDR)
    lcd.blink_cursor_on()
    lcd.putstr("Orange Kits")
    sleep(2)
    lcd.clear()
    lcd.putstr("Hello From Robu.in")
    sleep(2)
    lcd.clear()
    

The above code will return the module's I2C address, which you must enter in the following code.

The above code will display the message "Hello From Robu.in" on the LCD. We have explained everything about the code in the booklet, so please read it if you want to learn more about it.

In the following section of the blog, we will discuss how to interface the servo motor with the Raspberry Pi Pico.

Servo Motor With The Raspberry Pi Pico

We've all seen servo motors, which are known for their precise and accurate shaft moment. In this section, we will learn how to connect the servo motor to the Raspberry Pi Pico.

The servo motor is a more powerful version of the DC motor. Yes, you read that correctly! Unlike the DC motor, the construction of the servo motor is the same. The only difference between the servo motor and the DC motor is that the servo motor has an encoder built in, whereas the DC motor requires an external encoder.

Servo Motor
Servo Motor

What exactly is an Encoder? The encoder is a device that calculates the rotations of the motor.

There are various types of encoders available on the market, which I have mentioned in the booklet. If you want to learn more about those types, please read the blog's booklet.

Servo Motor Interfacing With Raspberry Pi Pico
Servo Motor Interfacing With Raspberry Pi Pico

So, that was the basic introduction to the servo motor; in the next section of the blog, we will discuss python code.

Python Code For Controlling The Servo Motor

In the code below, we generate PWM signals to control the servo motor. To control the servo motor, use the code below.

from machine import Pin, PWM

import utime; 
Mid = 1500000
Min = 100000
Max = 200000
pwm = PWM(Pin(0))
pwm.freq(50)
Pwm.duty_ns(MID)
while True:
    pwm.duty_ns(Min)
    utime.sleep(1)
    pwm.duty_ns(Min)
    utime.sleep(1)
    pwm.duty_ns(Max)
    utime.sleep(1)
    pwm.duty_ns(Mid)
    utime.sleep(1)

ok So now when you upload the code to the Raspberry Pi Pico board the servo will start spinning.

In the preceding code, we use the machine module to communicate with the servo motor. That machine module is divided into two classes: Pwm and Pin.

We already know how to use the pin class. This class is used to configure the pin's modes.

In terms of the PWM class, it is used to generate the frequency on a specific pin.

In this case, we're using this class to generate a 50hz frequency with a delay.

So in this way, we learned how to connect the servo motor to the Raspberry Pi Pico.

If you have any questions about the code, please leave them in the comments section.

Conclusion:

So, we have covered all of the topics of the Orange Raspberry Pi Pico Advance, and we hope that you have learned a few new things from this blog. If you have any questions, please leave them in the comments section.


Tags : interfacing , orange kits , PIR sensor , Raspberry pi , Raspberry Pi Pico

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
Top 5 Development Boards in 2020

 Thursday April 2, 2020      1366 Views

The article covers the top 5 development boards in 2020 like, STM32, BeagleBone, Raspberry Pi, etc.... Read More

card image
Interfacing Fingerprint Sensor With Arduino - Complete Guide

 Friday May 21, 2021      1113 Views

This tutorial will learn how to interface the R307 fingerprint sensor with the Arduino, program it, and identify the fingerprint correctly using the Adafruit library.... Read More

card image
How to Use Raspberry Pi Imager

 Saturday March 7, 2020      1525 Views

The tool we have been waiting for. Everyone’s been using Win32Disk Imager and Balena etcher. I prefer Win32Disk Imager, but now I might have to reconsider. They’ve made a simpler... Read More

card image
Raspberry Pi Pico - Every Feature You Need in A Budget Friendly Microcontroller

 Thursday January 21, 2021      2688 Views

The Raspberry Pi Foundation has launched their first own dual-core ARM Cortex M0+ processor-based smallest-sized and budget-friendly Single Board Computer named as Raspberry Pi Pico.... Read More

Leave a comment Cancel reply

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

Search Post


Related Posts

ESP32 Cam Video Streaming and Face Detection with Arduino IDE
IR Sensor Working and Applications
Design Considerations for 3D printing - Things To Know in 2021
How to Use Raspberry Pi Imager


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