← All projects
ME 433 · Advanced Mechatronics

Haptic Paddle: Feeling Virtual Objects

A single-axis force-feedback device. As you move the paddle, the motor pushes back so you feel a virtual wall at 45° and a bump at 90° that don't physically exist. I designed the CAD, 3D printed the parts, wired the electronics and wrote the firmware.

Onshape3D printingPico 2 W AS5600INA219HX711DRV8833
Demo

Watch it in action

In this video I walk through the build and demonstrate the virtual environment. You can see the paddle resist at the wall, then push back and snap over the bump.

Virtual elements
Wall @ 45° · Bump @ 90°
Peak command
±500 mA

01Overview

A haptic device turns software into something you can physically feel. The microcontroller reads the paddle angle, looks up the force the virtual environment should apply at that position, and commands the motor current to produce it. It repeats this fast enough that the virtual objects feel solid to your hand.

The project covered the full stack: a 3D-printed baseplate and paddle, sensor and driver integration, and the firmware that renders the environment.

02Mechanical design

I modeled everything in CAD before printing. The baseplate has locating pockets for the breadboard and battery pack, plus uprights that hold the motor and support the paddle shaft. The paddle couples to the motor horn, and a magnet on the shaft lines up with the AS5600 magnetic encoder board to measure angle without contact.

CAD assembly with breadboard, servo, paddle and encoder
Full assembly. Breadboard, motor, paddle and encoder positioned on the baseplate.
CAD of the baseplate with locating features and motor mount
Baseplate. L-shaped locators for the breadboard and battery, plus the motor and shaft supports.
CAD close-up of encoder board, paddle and motor shaft alignment
Encoder alignment. The AS5600 sensor is centered on the paddle's rotation axis, opposite the motor shaft.

03Electronics

  • Pico 2 WMain controller, connected to the computer for logging
  • AS5600Magnetic angle sensor for paddle position
  • DRV8833H-bridge that drives the motor in both directions
  • INA219Current sensor over I²C for closed-loop force (torque) control
  • HX711 + load cellMeasures the force applied by the user
  • MG996R + 6 V packGearmotor actuator and its power supply
System block diagram
System block diagram. Sensors and the motor driver connect to the Pico 2 W, with a shared ground and the 6 V battery powering the motor.

04Force rendering

The virtual environment is defined as a force-versus-position map. Motor torque is proportional to current, so the "force" is commanded as a motor current in mA:

  • Wall (45°). Below the wall the motor pushes back at the 500 mA limit. A short spring region above it makes the contact feel firm without chattering.
  • Bump (90°). Coming from below, force builds against you up to the peak at 90°. Past the peak it flips direction and pushes you over, which feels like a detent clicking into place.
Hand sketch of the intended force vs displacement
Design intent. My initial sketch of force versus displacement.
Measured phase plot of desired force vs paddle position
Measured result. Logged desired force versus paddle position while moving the paddle back and forth. The trace matches the sketch: saturation at the wall and a sharp reversal at the bump.

05Try it: feel the wall

Drag the red paddle, or drag along the plot. The same force map pushes back on your cursor. Try pushing into the wall, then slowly over the bump and let go.

Virtual environment

—
wallbumpforce map

Your cursor acts like a spring pulling on the paddle, and the rendered force pushes back. Arrows show the direction and size of the force.

06Build photos

Finished haptic paddle build on a desk
Finished build. The printed baseplate holds the breadboard, battery and motor assembly.
Close-up of the paddle, encoder board and motor
Drivetrain close-up. The paddle sits between the encoder board and the motor.

07Takeaways

  • Design for assembly. Locating features in the baseplate made the electronics quick to place and kept the wiring tidy enough to debug.
  • Stiffness vs. stability. A perfectly rigid virtual wall chatters. A short spring region at the boundary feels solid and stays stable.
  • An unintended side effect. If you move the paddle slowly enough, it can sneak past both the wall and the bump. I only noticed this after the class ended, and it's the first behavior I'd investigate in a next version.
  • Next time: I'd close the loop on the load cell for true force control and add damping to the virtual environment.