MicroVision AI

A student-built motorized microscope that focuses, scans and recognises its samples.

CourseMS2930 · Imaging in Materials Science GuideProf. Shourya Dutta Gupta · Dept. of MSME, IIT Hyderabad TeamN. Mahela Jaya VardhaneM. Sai ChandanN. V. Anantha BhargavN. Chandra ShekarN. Sri Sai Ujjwal
Live 3D model · drag to rotate
The instrument

Three systems working as one microscope

Camera mount and optical body

Optics

A compound lens train magnifies the sample and a webcam turns the view into a live digital image.

10× objective · 15× eyepiece · 160 mm tube
Rack and pinion linkage

Motion

Two joysticks command stepper motors that focus on Z and move the field of view on X.

Arduino Uno · 2 × 28BYJ-48 · ULN2003
Live classification app

Intelligence

Live webcam frames go to an image model that names the sample on screen with a confidence score.

Google Teachable Machine · live frames
MicroVision AI · MS2930
How it works

From light to label in five moves

    Webcam live viewReflected
    Live microscope view
    Scratches on metal surface
    94.8%
    MicroVision AI · MS2930
    Signal chain

    Two paths run in parallel: motion and image

    Motion
    control
    Input
    Two joysticks
    Controller
    Arduino Uno
    Driver
    ULN2003
    Actuator
    28BYJ-48 stepper
    Result
    X / Z position
    Imaging
    Source
    5 V LED
    Sample
    Specimen
    Optics
    Objective + tube
    Sensor
    Webcam
    Result
    Live image
    AI
    detection
    Input
    Webcam frame
    Model
    Teachable Machine image model
    Result
    Sample label + confidence
    NoteThe classes the model can name come from our own training images. Confidence is the score for a single frame; overall accuracy was not measured.
    MicroVision AI · MS2930
    Design process

    From a hand sketch to a working prototype

    Concept
    Initial 3D framework concept sketch

    Rigid vertical frame

    Layout
    Front view sketch of the Z-stage and lead screw

    Z-stage and lead screw

    Support
    Preliminary support geometry sketch

    Support geometry

    Reference
    Mechanical reference design

    Reference mechanism

    Built
    Assembled prototype

    Assembled prototype

    MicroVision AI · MS2930
    Electronics and control

    An Arduino turns joystick moves into motor steps

    Assembled control electronics
    Assembled control electronics
    Arduino connection

    Arduino Uno

    Reads the joystick inputs and sequences the motion.

    ULN2003 driver

    ULN2003 drivers

    Switch the motor windings safely.

    Wiring and motor interface

    28BYJ-48 steppers

    Geared 5 V actuators for the X and Z axes.

    Dual joystick boards

    Two joysticks

    Manual commands, one for each axis.

    Rack and pinion linkage

    Rack and pinion

    Turns motor rotation into straight X travel.

    Power input and regulator

    Power and breadboard

    Regulated low voltage and the circuit interconnects.

    MicroVision AI · MS2930
    Optical system

    A 160 mm tube between objective and camera

    10××15×=150×
    ObjectiveEyepieceNominal visual
    Tube160 mm PVC optical tube Light5 V LEDs, reflected or transmitted CameraWebcam in a fabricated holder for live view

    On-screen magnification also depends on the camera coupling, sensor size and display, so it is not simply 150×.

    Webcam Eyepiece 15× Tube160 mm Objective 10× Sample 5 V LED
    Fabricated camera holder
    Fabricated camera holder
    Leaf sample test on the microscope
    Leaf-sample test
    MicroVision AI · MS2930
    Completed microscope with numbered assemblies
    1 2 3 4 5 6 7 8
    The completed microscope

    Eight assemblies in one rigid frame

    01

    Webcam

    Streams the live image to the laptop.

    05

    Z-axis screw

    Lead screw that sets the focus distance.

    02

    Camera holder

    Couples the webcam to the eyepiece.

    06

    Guide rods

    Keep the stage square while it travels.

    03

    Optical body

    10× objective and the 160 mm tube.

    07

    Sample stage

    Carries the slide on X and Z.

    04

    Control joysticks

    One stick for each axis.

    08

    Support base

    Houses the electronics and LED.

    MicroVision AI · MS2930
    Imaging modes

    Two ways to light a sample

    LEDOpaque metalObjective
    Reflected light

    For opaque surfaces

    Light bounces off the metal back into the objective. Scratches and machining marks change the reflection angle, so they show up as bright and dark streaks.

    Crossing scratch traces
    RGB display subpixels
    LED belowThin specimenObjective
    Transmitted light

    For thin, see-through samples

    Light passes up through the specimen. Differences in thickness and absorption create the contrast between cells, walls and veins.

    Leaf in transmitted light
    Onion epidermal cells
    MicroVision AI · MS2930
    Results · reflected light

    Metal surfaces reveal scratches and machining marks

    What we see

    Long bright and dark lines follow the surface relief, where the reflection angle changes.

    Traces that cross each other are scratches made in different directions.

    These are unetched surfaces, so individual grains or phases cannot be confirmed from these images.

    Parallel grooves
    Crossing scratches
    Many directions
    Reflected streaks
    Irregular texture
    Fine texture
    MicroVision AI · MS2930
    Results · fine features

    Screen subpixels show what the optics can resolve

    RGB subpixel arrayRGB subpixel array
    Patterned illuminated displayPatterned illuminated display
    Why a screen

    A display is a ready-made test target: a regular grid of red, green and blue emitters at microscale.

    Seeing each coloured subpixel as a separate dot shows the microscope resolves repeating microscale structure.

    The pixel pitch was not calibrated, so this is a qualitative check.

    MicroVision AI · MS2930
    Results · transmitted light

    A thin leaf shows tissue and vein structure

    Fine texture and branching
    Prominent bright branch
    Broad illuminated structures
    Alternate field of view
    Key result

    LED light passing through the leaf gives clear contrast: green tissue, pale branching veins and changes in brightness.

    Larger tissue and vein structures are easy to see. Individual cell boundaries are not resolved in every image.

    MicroVision AI · MS2930
    Results · transmitted light

    Onion epidermis: individual cells, clearly walled

    Onion epidermal cells with distinct cell wallsDistinct cell walls
    Closely packed cells
    Elongated cell outlines
    Alternate field of view
    • Brick-like, closely packed cells with continuous walls.
    • Cell interiors are pale; fine organelles are not resolved.
    • No chloroplasts, as expected for onion bulb epidermis.
    • Small dark specks and rings are likely debris or artifacts.
    MicroVision AI · MS2930
    AI-assisted sample detection

    The microscope names what it sees, live

    1 · Capture
    Webcam frame
    2 · Infer
    Teachable Machine model
    3 · Show
    Label + confidence beside the feed
    App classifying an empty field as No sample

    No sample

    98.9%

    An empty, bright field is rejected as no sample.

    App classifying rough metal surface

    Rough metal surface

    94.9%

    Irregular texture under reflected light.

    App classifying scratches on metal surface

    Scratches on metal

    94.8%

    Directional line features read as scratches.

    MicroVision AI · MS2930 · Scores are per frame, not overall test accuracy
    Outcome

    What the prototype shows, and where it goes next

    Demonstrated

    • Motorized X and Z positioning from two joysticks.
    • Live digital imaging through a webcam on a 160 mm tube.
    • Two light modes: reflected for metals, transmitted for thin samples.
    • Live classification of empty field, rough metal and scratches.

    Not yet measured

    • Calibrated magnification of the camera image.
    • Resolution in micrometres, e.g. display pixel pitch.
    • Classifier accuracy on a held-out test set.
    • Grain and phase features, which need etched samples.

    Proposed next steps

    • Stage micrometer calibration for a true scale bar.
    • Autofocus by sweeping Z and maximising image sharpness.
    • More classes such as leaf and onion, with a test split.
    • Etched metal samples to study microstructure.
    MicroVision AI · MS2930
    The MicroVision AI team with the microscope
    Reserved

    Team photo

    Landscape · 3:2 works best
    The team

    Thank you

    • N. Mahela Jaya VardhaneMS25BTECH11026
    • M. Sai ChandanMS24BTECH11021
    • N. V. Anantha BhargavMS25BTECH11024
    • N. Chandra ShekarMS25BTECH11027
    • N. Sri Sai UjjwalMS25BTECH11025
    IIT Hyderabad

    MS2930 · Imaging in Materials Science
    Prof. Shourya Dutta Gupta

    MicroVision AI · MS2930