Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›AI Vision Sensors

Component guide · Beginner · 4 min read

AI Vision Sensors

DFRobot HuskyLens and HUSKYLENS 2 Microscope, MU Vision, Pixy2.1 and Pan-Tilt, Seeed reCamera, Sipeed Maix, RP2040 and Artemis Camera Kits

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the HuskyLens, Pixy2 and AI vision sensors isHuskyLens, Pixy2 and AI vision sensors pinoutWiring the HuskyLens, Pixy2 and AI vision sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

AI vision sensors do the recognition on the camera and send simple results to your board: what was seen and where. HuskyLens learns faces, objects, colours, lines and tags with one button; Pixy2.1 tracks coloured objects and lines fast; the MU Vision sensor suits classrooms; and the Seeed reCamera and Sipeed Maix boards run Linux AI models. The RP2040 and Artemis kits are for TinyML experiments.

Key specs at a glance

Recognition
Faces, objects, colours, lines, tags, QR (model dependent)
Interface
I2C and UART (HuskyLens, Pixy, MU); network (reCamera)
Supply
3.3 to 5 V (HuskyLens, Pixy)
Display
Built-in screen on HuskyLens
Pan-tilt
Pixy kits with servos
Boards
Arduino, micro:bit, ESP32, Pi

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1DFRobot SEN0305 Gravity HuskyLens K210 AI Vision Sensor w/ Display₹4,009
  • Option 2DFRobot SEN0683 HUSKYLENS 2 Microscope Camera Module 30x Magnification₹1,461
  • Option 3DFRobot SEN0314 MU Vision Sensor ESP32 AI Camera₹7,279
  • Option 4Pixy 2.1 Smart Vision Sensor Object Tracking Camera₹10,048
  • Option 5Pixy Pan and Tilt Mechanism for Pixy2.1 Smart Vision Camera₹3,289
  • Option 6Pixy Pan and Tilt Mechanism for Pixy 1.0 & CMUcam5₹2,900
01

What the HuskyLens, Pixy2 and AI vision sensors is

An AI vision sensor is a camera with its own processor that recognises faces, colours, lines or tags and sends only the result to your board.

With HuskyLens, point it at an object and press the learn button; your Arduino then reads ID and box position. That makes object-following robots possible in an afternoon.

Pixy2.1 runs at 60 fps for colour and line tracking and drives its pan-tilt servos itself.

02

HuskyLens, Pixy2 and AI vision sensors pinout

The pins on the HuskyLens, Pixy2 and AI vision sensors and what each one does.

PinFunction
T / RUART TX and RX (HuskyLens) or I2C SDA and SCL
+ / -Power
ICSP / I2C (Pixy)Arduino connection cable
PinFunction
T / R
UART TX and RX (HuskyLens) or I2C SDA and SCL
+ / -
Power
ICSP / I2C (Pixy)
Arduino connection cable
03

Wiring the HuskyLens, Pixy2 and AI vision sensors

Set the protocol on HuskyLens to I2C for this wiring.

HuskyLens, Pixy2 and AI vision sensors pinHuskyLens pinArduino UnoESP32
T (SDA)A4GPIO 21
R (SCL)A5GPIO 22
+5 V3V3 or 5 V
-GNDGND
T (SDA)
HuskyLens pin:
A4
Arduino Uno:
GPIO 21
R (SCL)
HuskyLens pin:
A5
Arduino Uno:
GPIO 22
+
HuskyLens pin:
5 V
Arduino Uno:
3V3 or 5 V
-
HuskyLens pin:
GND
Arduino Uno:
GND
04

Example code

Pixy2 uses the Pixy2 library (pixy.ccc.getBlocks()).

Read learned objects from HuskyLens (DFRobot library) · Arduino C++Verify & upload in Electrolark
#include "HUSKYLENS.h"
#include <Wire.h>
HUSKYLENS hl;

void setup() {
  Serial.begin(115200);
  Wire.begin();
  while (!hl.begin(Wire)) { Serial.println("HuskyLens not found"); delay(1000); }
}

void loop() {
  if (hl.request() && hl.available()) {
    HUSKYLENSResult r = hl.read();
    Serial.printf("ID %d at x=%d y=%d w=%d h=%d\n", r.ID, r.xCenter, r.yCenter, r.width, r.height);
  }
  delay(100);
}
05

Setup and tuning

Pick the interface

use I2C or UART and set the same mode in the sensor's menu and in your code.

Teach in the real setting

train objects or faces under the lighting where the robot will run.

Mount steady

fix the sensor rigidly at the height and angle you will use; moving it changes what it sees.

Power

HuskyLens draws up to about 300 mA. Power it from the board's 5 V, not a weak 3.3 V pin.

Use the coordinates

read the box x, y, width and height to steer, for example keep the object in the centre.

06

What you need

Shop this list13 of 14 found in our store · ₹53,712

  • DFRobot SEN0305 Gravity HuskyLens K210 AI Vision Sensor w/ Display: the part this guide coversDFRobot SEN0305 Gravity HuskyLens K210 AI Vision Sensor w/ Display₹4,009
  • DFRobot SEN0683 HUSKYLENS 2 Microscope Camera Module 30x Magnification: another version this guide coversDFRobot SEN0683 HUSKYLENS 2 Microscope Camera Module 30x Magnification₹1,461
  • DFRobot SEN0314 MU Vision Sensor ESP32 AI Camera: another version this guide coversDFRobot SEN0314 MU Vision Sensor ESP32 AI Camera₹7,279
  • Pixy 2.1 Smart Vision Sensor Object Tracking Camera: another version this guide coversPixy 2.1 Smart Vision Sensor Object Tracking Camera₹10,048
  • Pixy Pan and Tilt Mechanism for Pixy2.1 Smart Vision Camera: another version this guide coversPixy Pan and Tilt Mechanism for Pixy2.1 Smart Vision Camera₹3,289
  • Pixy Pan and Tilt Mechanism for Pixy 1.0 & CMUcam5: another version this guide coversPixy Pan and Tilt Mechanism for Pixy 1.0 & CMUcam5₹2,900
  • Seeed Studio Studio reCamera 2002w 8GB RISC-V AI Vision Camera: another version this guide coversSeeed Studio reCamera 2002w 8GB RISC-V AI Vision Camera₹11,499Closest match, check the specs
  • Sipeed Maix I Binocular Camera Module Dual GC0328 30k Pixels: another version this guide coversSipeed Maix I Binocular Camera Module Dual GC0328 30k Pixels₹1,719
  • Sipeed Maix II M2 Dock AI Linux Vision Dev Board w/ 1.3-Inch IPS Screen: another version this guide coversSipeed Maix II M2 Dock AI Linux Vision Dev Board w/ 1.3-Inch IPS Screen₹5,339
  • Waveshare RP2040 Camera Dev Board w/ HM01B0 Grayscale Sensor & 1.14-Inch IPS LCD: another version this guide coversWaveshare RP2040 Camera Dev Board w/ HM01B0 Grayscale Sensor & 1.14-Inch IPS LCD₹1,449
  • SparkFun Artemis Development Kit with Himax Camera: another version this guide coversSparkFun Artemis Development Kit with Himax Camera₹3,889
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • TowerPro SG90 micro servo: for pan and tiltTowerPro SG90 9g Micro Servo (180°)₹442Closest match, check the specs
07

Alternatives and when to choose them

  • ✓OpenMV: programmable vision.
  • ✓ESP32 camera boards: Wi-Fi streaming.
  • ✓TinyML vision kits: train your own models.
08

Common mistakes to avoid

  • !Training objects under different light from where the robot runs.
  • !Setting I2C in code but UART in the sensor menu.
  • !Powering it from a pin that cannot supply enough current.
  • !Expecting it to identify many object types like a large AI model.
09

Frequently asked questions

Can HuskyLens recognise any object I show it?

It learns simple objects, faces, colours and tags with a button press, but not complex scenes like a full detection model.

Does it need a computer to work?

No. Recognition runs on the sensor itself, and your board only reads the results.

Which is better for line following, HuskyLens or Pixy2?

Both have line tracking. Pixy2 is very fast at colour and lines; HuskyLens is easier to teach and has more modes.

Can I use it with a micro:bit or ESP32?

Yes. HuskyLens and Pixy2 have libraries for Arduino, micro:bit, ESP32 and Raspberry Pi.

Why does recognition fail outdoors?

Strong sunlight and changing shadows confuse colour and object learning. Retrain in the real light or add shade.

Parts for this guide

  • DFRobot SEN0305 Gravity HuskyLens K210 AI Vision Sensor w/ Display
    ₹4,009View
  • DFRobot SEN0683 HUSKYLENS 2 Microscope Camera Module 30x Magnification
    ₹1,461View
  • DFRobot SEN0314 MU Vision Sensor ESP32 AI Camera
    ₹7,279View
  • Pixy 2.1 Smart Vision Sensor Object Tracking Camera
    ₹10,048View
  • Pixy Pan and Tilt Mechanism for Pixy2.1 Smart Vision Camera
    ₹3,289View
  • Pixy Pan and Tilt Mechanism for Pixy 1.0 & CMUcam5
    ₹2,900View
  • Seeed Studio reCamera 2002w 8GB RISC-V AI Vision Camera
    ₹11,499View
  • Sipeed Maix I Binocular Camera Module Dual GC0328 30k Pixels
    ₹1,719View
  • Sipeed Maix II M2 Dock AI Linux Vision Dev Board w/ 1.3-Inch IPS Screen
    ₹5,339View
  • Waveshare RP2040 Camera Dev Board w/ HM01B0 Grayscale Sensor & 1.14-Inch IPS LCD
    ₹1,449View
  • SparkFun Artemis Development Kit with Himax Camera
    ₹3,889View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • TowerPro SG90 9g Micro Servo (180°)
    ₹442View
Shop Embedded Camera Modules & Sensors (Arducam, IMX)

Keep learning

Component guideIntermediateOpenMV Cam H7, H7 Plus, H7 R2, M7OpenMV cameras run MicroPython on a fast microcontroller with the camera on the same board, so they find colours, faces, QR codes, lines and AprilTags without a computer.3 min read · SensorsBuying guideIntermediateTinyML and AI Vision KitsTinyML kits run small neural networks next to a camera or microphone without sending data to the cloud.3 min read · IoT & WirelessComponent guideIntermediateESP32 Camera BoardsThese boards pair an ESP32 or ESP32-S3 with a camera, PSRAM and extras such as a screen, PIR sensor, microphone, battery charger or SD card.4 min read · IoT & Wireless

Sources

  • DFRobot HuskyLens wiki
  • Pixy2 documentation
  • Seeed reCamera wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the HuskyLens, Pixy2 and AI vision sensors isHuskyLens, Pixy2 and AI vision sensors pinoutWiring the HuskyLens, Pixy2 and AI vision sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹32,642

DFRobot SEN0305 Gravity HuskyLens K210 AI Vision Sensor w/ Display · Pixy 2.1 Smart Vision Sensor Object Tracking Camera · Pixy Pan and Tilt Mechanism for Pixy2.1 Smart Vision Camera · Pixy Pan and Tilt Mechanism for Pixy 1.0 & CMUcam5 · Sipeed Maix I Binocular Camera Module Dual GC0328 30k Pixels · Sipeed Maix II M2 Dock AI Linux Vision Dev Board w/ 1.3-Inch IPS Screen · Waveshare RP2040 Camera Dev Board w/ HM01B0 Grayscale Sensor & 1.14-Inch IPS LCD · SparkFun Artemis Development Kit with Himax Camera

Run itChange the inputs and watch the output

Face or object recognition with ID 1 learned. x and y are the box centre on a 320 x 240 view.

Serial monitor115200 baud
ID 1 at x=160 y=120 w=67 h=80

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question