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
    • 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
    • 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
    • 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
    • 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
  • 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
    • 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
HomeBlogsIOT and WirelessGSM and GPRSInterfacing Sim800L with Arduino

Interfacing Sim800L with Arduino

GSM and GPRS, Tutorials  0  comments  13687 Views  Thursday, January 9, 2020











The blog covers a step by step guide for interfacing the SIM800L GSM module with Arduino.

Sim800l Module
In this blog, we are going to play with the SIM800L GSM module and on completing this blog  you will be knowing what is sim800l, how to play with it and a few more interesting stuff about SIM800L.  Today we are living in the world of IoT, remotely controlling an object has become a craze and time saving for many processes. IoT is playing a very important role in many sectors like industry, public sector and private sectors. In this section, I am going to put a small part of this huge IoT in front of you and for this, we are using an Arduino, Sim800l module and some Du-Pont cables. So let's begin.

What is SIM800L? 

      This is the GSM module similar to the one which is on your phone. And I can assume that every one of you knows the application of GSM module. Speaking of SIM800L module, it is a small chip that uses serial-communication to communicate with any microcontroller or microprocessor. It has an in-built onboard antenna and an onboard SIM slot for SIM insertion purposes.  The SIM800L module has 12 total pins that are used to establish connections with the microcontroller. For your simplicity, here I have shared a detailed pinout of the SIM800L and a function of each pin. 

Sim800L PinOut:

  •  Ring

As the name itself suggests, this pin is used for indication purpose. This pin produces an interrupt signal when we receive an SMS or a phone call.
  • DTR

We can call this pin an enable pin. This pin plays an important role in saving electricity. If you make this pin high, the module enters sleep mode by disabling serial communication and if you make it low, the module turns on. In the case, if SIM800L is not working, it may be the reason that you are accidentally making this pin high. 
  • Mic+, Mic-, SPK+ & SPK- 

These are the pins where you can connect the microphone and speaker.  
  • NET

Here you can attach that helical shape antenna. 
  • RST 

This pin is used to reset the sim800l module. If your module is not responding to the AT command, possibly due to a baud rate problem, you can make this pin high for 100ms to reset the SIM800L. 
  • VCC and GND  

You can power SIM800l using these pins but the voltage should not be more than 3.3V and Current should not be less than 1A. 
  • RX and TX

These pins are used for Serial communication Rx for receiving commands from the controller and Tx for sending out the data.  This was the introduction part of Sim800L Module if you want to know more about this you can mail us at [email protected].  Next, we are going to learn about setting the baud rate, Network Scan, Sending and receiving SMS and Answering and Dialling the call. 

Components You Will Need 

Hardware Parts

  •  Arduino Uno 
  •  SIM800l module 
  •  Connecting cables 
  •  2G Sim card (Please note SIM800l is a 2g GSM module, this means that the 4G sim card will not work with this module. If you are looking for 4G GSM module then click on this link) 
  •  Resistors (1k and 2.2k)  
  •  3.7V battery  
  •  Breadboard 
 Note-    If you are using an Arduino as a microcontroller and not using a resistor divider Ckt then you will damage the Sim800l module. 

Softwares

  • Arduino IDE 
  • Software serial.h Library   
This is the part list you will need when working on a SIM800l module. Now, we've got all the things that will help us to play with sim800l module. Now it's time to hook up this module with the microcontroller. Here we are using Arduino UNO as a microcontroller. To demonstrate it I have shared the interfacing diagram please take a look [caption id="attachment_660008" align="aligncenter" width="843"]SIM800L Fig. Interfacing Diagram[/caption]

SIM800L Interfacing with Arduino Uno

Now you are all set to play with Sim800l. After interfacing, when you power this module, you will see that the onboard LED is on and blinking in different patterns. This blinking pattern of the onboard LED tells us the working status of the SIM800l module. 
[caption id="attachment_648234" align="aligncenter" width="200"]Scanning network Searching network[/caption] [caption id="attachment_648180" align="aligncenter" width="200"]Sim800l Connection Established Connection Established[/caption] [caption id="attachment_648254" align="aligncenter" width="200"]SIM800L GPRS connection GPRS Enabled[/caption]
Pattern1: LED is blinking after each 1s this means that SIM800l is turned 'ON' but not established the connection.  Pattern2: LED is blinking after each 3S. It means sim800l has successfully established the connection.  Pattern3: LED is blinking after each 2S. It means the GPRS feature is turned on.   Troubleshooting SIM800L Module  In the above section, we have learned about the blinking pattern of the onboard LED and by analyzing this factor, we can find out if the module is working or not but it is not enough if the problem is in the UART port. To test the functionality of the port and SIM we can shoot some AT commands and for this, we can use the following troubleshooting AT commands. 

Using At Commands to Test the SIM800L Module

To test the module, connect the SIM800l module to your system with the help of Arduino ==> Open Arduino IDE after this select the com port ==> Open the serial monitor ==> Enter the following AT commands.  AT:  If the Sim800l module is functioning properly then Sim800l will reply OK after receiving this module.  AT+CBC-  This command is used to check the battery Voltage. AT+ CSQ- Sim800l module tells the strength of the signal after receiving this AT command  AT+CREG- You can use this AT command to register the network if your SIM800l module is abruptly losing network and taking a long time to scan the network.  AT+COPS?- If you put this command, SIM800l will tell you about its network status. AT+COPS=? - Sim800l tell us the networks available after receiving this AT command.  [caption id="attachment_647981" align="aligncenter" width="598"]SIM800l AT commands Network Status Check[/caption]  

Setting the Baud Rate

SIM800L supports a 9600 standard baud rate as the default baud rate but you can configure it to any baud rate using the following AT command.   ​
[caption id="attachment_660014" align="alignnone" width="500"]SIM800l AT commands Baud Rate Setting[/caption]   [caption id="attachment_651871" align="alignright" width="407"]sim800l baud rate Baud Rate AT Commands[/caption]
     

Scanning Network  

By default, module scans the network automatically, but if it is not scanning automatically then you can use the following AT command to manually scan the network.  [caption id="attachment_651883" align="aligncenter" width="1073"]https://robu.in/wp-content/uploads/2019/12/Sim800L-network-scan The response of AT+COPS command.[/caption]  

Dialling a Number using SIM800L

Making a Call Using Serial Monitor

     
[caption id="attachment_655166" align="alignright" width="450"] AT Command Set For Dialing The Number[/caption] [caption id="attachment_655421" align="alignnone" width="352"] Calling Screen-Shot[/caption]
 

Arduino Sample Code For Sim800L

In the section below, I have shared some sample codes for SIM800L, using these codes you will be able to send and receive SMS. 

Troubleshooting Guide 

If you use the following code, then your module should work, but it is not working then there may be the following reasons: 

 1 Out of Coverage Area: 

  In this case, you can run the AT + COPS command to check if it is connected to the network.    There can be another reason and that is the issue of power. To make sure you can run AT + CSQ and AT + CBC.    AT + CSQ will tell you the signal strength and AT + CBC will tell you the percentage of the battery. 

  2 Functionality is Enabled 

  If all the above works are working and you have followed this blog from the beginning and still it is not sending SMS then the issue may be here.    To overcome this problem you can run the following command    AT + CFUN = 1    This command enables the functionality of the module. 

Sample Code For Dialing a Number:

#include <SoftwareSerial.h>

String inputString = "";

String fromGSM = "";

SoftwareSerial mySerial(3, 2);

char sim800l[255];

int sim800lIndex = 0;
 
void setup()

{

// put your setup code here, to run once:

Serial.begin(9600);

mySerial.begin(9600);

inputString.reserve(200);

fromGSM.reserve(200);

Serial.println(" Command --> AT ");

mySerial.print("AT");

mySerial.print("\r");

delay(100);

Serial.print(" Response --> ");

while (mySerial.available())

{

sim800l[sim800lIndex] = mySerial.read();

sim800lIndex++;

Serial.print( sim800l[sim800lIndex - 1]);

}

sim800lIndex = 0;

Serial.println("");

Serial.println(" Command --> ATEO ");

Serial.print(" Response --> ");

mySerial.print("ATE0");

mySerial.print("\r");

delay(100);

while (mySerial.available())

{

sim800l[sim800lIndex] = mySerial.read();

sim800lIndex++;

Serial.print( sim800l[sim800lIndex - 1]);

}

sim800lIndex = 0;

Serial.println("");

Serial.println(" Command --> AT+CFUN=1 ");
Serial.print(" Response --> ");
mySerial.print("AT+CFUN =1");
mySerial.print("\r");
delay(100);
while (mySerial.available())
{
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex - 1]);
}
sim800lIndex = 0;
Serial.println("");

mySerial.print("ATD8888844444;"); // enter number ATD<number>
mySerial.print("\r");
while ( !(mySerial.available()) );
while (mySerial.available())
{
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex - 1]);
}
sim800lIndex = 0;
Serial.println(" ");
Serial.println(" Enter 'ATH' command to End the call ");

}

void loop()
{
while (1)
{
while (Serial.available())
{
sim800l[sim800lIndex] = Serial.read();
sim800lIndex++;
mySerial.print( sim800l[sim800lIndex - 1]);
}
while (mySerial.available())
{
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
if (sim800l[sim800lIndex - 4] == 'R' && sim800l[sim800lIndex - 3] == 'I' && sim800l[sim800lIndex - 2] == 'N' && sim800l[sim800lIndex - 1] == 'G')
{
delay(8000);
mySerial.print("ATA"); // AT command to answer the call.
mySerial.print("\r");
}
Serial.print( sim800l[sim800lIndex - 1]);
}
}
}

Reading SMS Automatically:     


#include <SoftwareSerial.h>

String inputString = "";

String fromGSM = "";

SoftwareSerial mySerial(3, 2);

char Sim800L[255], SMS[255], smsMemory[5], SmS_Index[5];

int Sim800LIndex = 0, SMS_Index = 0, S_Index = 0;

bool NewSMSArrived = 0, SMSmemory = 0;

void setup()

{

Serial.begin(9600);

mySerial.begin(9600);

inputString.reserve(200);

fromGSM.reserve(200);

Serial.println(" Command --> AT ");

mySerial.print("AT");

mySerial.print("\r");

delay(100);

Serial.print(" Response --> ");

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

Sim800LIndex = 0;

Serial.println("");

Serial.println(" Command --> ATEO ");

Serial.print(" Response --> ");

mySerial.print("ATE0");

mySerial.print("\r");

delay(100);

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

Sim800LIndex = 0;

Serial.println("");

Serial.println(" Command --> AT+CFUN=1 ");

Serial.print(" Response --> ");

mySerial.print("AT+CFUN =1");

mySerial.print("\r");

delay(100);

// while( ! (mySerial.available()) );

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

Sim800LIndex = 0;

Serial.println("");

Serial.println(" Command --> AT+CMGF=1 ");

Serial.print(" Response --> ");

mySerial.print("AT+CMGF =1");

mySerial.print("\r");

delay(100);

// while( ! (mySerial.available()) );

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

Serial.println(" Command --> AT+CSCS=\"GSM\"");

Serial.print(" Response --> ");

mySerial.print("AT+CSCS =\"GSM\"");

mySerial.print("\r");

delay(100);

// while( ! (mySerial.available()) );

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

Serial.println(" Command --> AT+CPMS=\"SM\"");

Serial.print(" Response --> ");

mySerial.print("AT+CPMS =\"SM\"");

mySerial.print("\r");

delay(100);

// while( ! (mySerial.available()) );

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

}

/*

Serial.println(" Command --> AT+CMGS=\"8669026867\"");

Serial.print(" Response --> ");

mySerial.print("AT+CMGS=\"8669026867\"");

mySerial.print("\n");

delay(100);

//while( ! (mySerial.available()) );

while(mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex-1]);

}

mySerial.print(" ENTER THE TXT YOU WISH TO SEND IN THE SMS ");

mySerial.write(0x1A);

*/

Serial.print(" CHECK THE DESTINATION DEVICE ");

}

void loop()

{

while (1)

{

while (Serial.available())

{

Sim800L[Sim800LIndex] = Serial.read();

Sim800LIndex++;

mySerial.print( Sim800L[Sim800LIndex - 1]);

}

while (mySerial.available())

{

Sim800L[Sim800LIndex] = mySerial.read();

Sim800LIndex++;

Serial.print( Sim800L[Sim800LIndex - 1]);

if (Sim800L[Sim800LIndex - 6] == '+' && Sim800L[Sim800LIndex - 5] == 'C' && Sim800L[Sim800LIndex - 4] == 'M' && Sim800L[Sim800LIndex - 3] == 'T' && Sim800L[Sim800LIndex - 2] == 'I' && Sim800L[Sim800LIndex - 1] == ':')

{

SMSmemory = 1;

NewSMSArrived = 1;

}

if (SMSmemory == 1)

{

if (Sim800L[Sim800LIndex - 1] == ',')

{

smsMemory[0] = Sim800L[Sim800LIndex - 4] ;

smsMemory[1] = Sim800L[Sim800LIndex - 3] ;

smsMemory[2] = '\0' ;

SMSmemory = 0;

}

}

delay(5);

} // end of while mySerial.available()

if (NewSMSArrived == 1)

{

int j = 0;

while (Sim800L[j] != '\0')

{

j++;

}

for (int i = 0; i < j ; i++)

{

SMS[i] = Sim800L[i];

}

NewSMSArrived = 0;

Serial.println(SMS);

while (SMS[j - 1] != ',')

{

j--;

}

int i = 0;

while (SMS[j - 1] != '\0' )

{

SmS_Index[i] = SMS[j];

i++;

j++;

}

Serial.println("SMS index is as follow ");

Serial.println(SmS_Index);

Serial.println("SMS Memory is as follow ");

Serial.println(smsMemory);

Serial.println("");

Serial.println(" NEW SMS ARRIVED ");

Serial.println("");

mySerial.print("AT+CMGR=");

mySerial.print(SmS_Index);

mySerial.print("\r");

}

}

}

 
 
     

Sending the SMS Using SIM800L

#include <SoftwareSerial.h>
String inputString="";
String fromGSM="";
SoftwareSerial mySerial(3,2);
char sim800l[255],SMS[255];
int sim800lIndex=0,SMS_Index=0;
bool NewSMSArrived=0;

void setup() 
{
Serial.begin(9600);
mySerial.begin(9600);
Serial.println(" Command --> AT ");
mySerial.print("AT");
mySerial.print("\r");
delay(100);
Serial.print(" Response --> ");
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}
sim800lIndex=0;
Serial.println("");
Serial.println(" Command --> ATEO ");
mySerial.print("ATE0");
mySerial.print("\r");
delay(100);
Serial.print(" Response --> ");
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}
sim800lIndex=0;
Serial.println("");

Serial.println(" Command --> AT+CFUN=1 ");
mySerial.print("AT+CFUN =1");
mySerial.print("\r");
delay(100);
Serial.print(" Response --> ");
// while( ! (mySerial.available()) );
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}
sim800lIndex=0;
Serial.println("");

Serial.println(" Command --> AT+CMGF=1 ");
Serial.print(" Response --> ");
mySerial.print("AT+CMGF =1");
mySerial.print("\r");
delay(100);
// while( ! (mySerial.available()) );
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}

Serial.println(" Command --> AT+CSCS=\"GSM\"");
Serial.print(" Response --> ");
mySerial.print("AT+CSCS =\"GSM\"");
mySerial.print("\r");
delay(100);
// while( ! (mySerial.available()) );
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}

Serial.println(" Command --> AT+CPMS=\"SM\"");
Serial.print(" Response --> ");
mySerial.print("AT+CPMS =\"SM\"");
mySerial.print("\r");
delay(100);
// while( ! (mySerial.available()) );
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}

Serial.println(" Command --> AT+CMGS=\"4444444444\"");
Serial.print(" Response --> ");
mySerial.print("AT+CMGS=\"4444444444\"");
mySerial.print("\n");
delay(100);
// while( ! (mySerial.available()) );
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
Serial.print( sim800l[sim800lIndex-1]);
}
mySerial.print(" ENTER THE TXT YOU WISH TO SEND IN THE SMS "); // txt msg
mySerial.write(0x1A);

Serial.print(" CHECK THE DESTINATION DEVICE ");

}

void loop() 
{ 
while(1)
{
while(Serial.available())
{ 
sim800l[sim800lIndex] = Serial.read();
sim800lIndex++;
mySerial.print( sim800l[sim800lIndex-1]);
}
while(mySerial.available())
{ 
sim800l[sim800lIndex] = mySerial.read();
sim800lIndex++;
/* if(sim800l[sim800lIndex-5]=='+'&&sim800l[sim800lIndex-4]=='C'&&sim800l[sim800lIndex-3]=='M'&&sim800l[sim800lIndex-2]=='T'&&sim800l[sim800lIndex-1]=='I')
{
NewSMSArrived=1; 
} */
Serial.print( sim800l[sim800lIndex-1]);
}

/* if(NewSMSArrived == 1)
{
for(int i=0;i= (sim800lIndex-1);i++)
{
SMS[i] = sim800l[i];
}
NewSMSArrived=0;
Serial.print(SMS);
} */
} 
} 






    So, we have talked about what sim800l is, SIM800l's interface with Arduino and we learned troubleshooting guides. Congratulations!! You are now well versed in sim800l operations. I hope this blog helps in your project. If there is any questions, please let us know in the comment section.

Tags : sim800l , sim800l with arduino , what is sim800l

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
Interfacing ADXL335 Accelerometer Sensor with Arduino Uno

 Wednesday January 22, 2020      5098 Views

In this blog, we will see what is an accelerometer and how to interface the ADXL335 accelerometer sensor with Arduino UNO.... Read More

card image
How to Build a Brushed Quadcopter: A Step by Step Guide

 Tuesday December 8, 2020      4694 Views

The brushed quadcopter is the rare one which is used as an indoor quadcopter. This guide will give you step by step instructions on how to assemble it.... Read More

card image
How to Setup Naze 32 Flight Controller

 Monday April 20, 2020      3127 Views

This guide takes you through the steps involved in setting up a Naze 32 Flight Controller... Read More

card image
How to operate the SmartElex Motor Driver in RC Mode

 Friday January 24, 2020      2953 Views

SmartElex Motor Driver operates in 4 modes. RC mode is one of them. read on to find how to use this mode to control motors.... Read More

Leave a comment Cancel reply

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

Search Post


Related Posts

How to Connect Raspberry Pi to Laptop
How To Connect Raspberry Pi 4 To Relay
Installing OpenCV using CMake in Raspberry Pi
Connecting things together and Flying !!


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