Skip to content
View aamna-builds's full-sized avatar

Block or report aamna-builds

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
aamna-builds/README.md

Aamna Khan

Mechanisms, robotics and the hardware around them. B.Tech Mechanical Engineering, Ahmedabad University, class of 2028.

So far that has meant three machines:

  • a five-bar parallel linkage that plays chess by moving a magnet under the board
  • a two-wheeled robot that balances itself
  • a servo-driven desktop arm

Each one runs from CAD and fabrication through wiring and firmware, and comes with the analysis behind it: the numbers that explained a problem, the decision it led to, and what is still open.

I treat a robot as one problem rather than separate parts: the linkage and where it loses control, the torque that has to come from somewhere, the frame it stands on and the code that moves it. I also keep a clear note of what has run on real hardware and what has only run in simulation.


Parallel mechanisms

5bar-chess-robot: a chess robot with no gripper. A magnet under a 400 × 400 mm acrylic board, driven by a two-motor five-bar linkage, slides magnetic pieces from square to square. Live simulator.

  • Built (Jan–Apr 2026):
    • Hardware: an aluminium-extrusion frame, two NEMA 17 motors with 14:1 planetary gearboxes on TB6600 drivers, an Arduino Uno, and a permanent magnet flipped by a servo.
    • The torque budget forced a redesign mid-build: the board went from 440 to 400 mm and the links were shortened, instead of buying motors that were over budget.
    • It was demonstrated working, but it was jerky near the motors and less accurate at the board edges.
  • Explained:
    • I derived the velocity Jacobian from the loop-closure constraints.
    • It shows the ranks nearest the motors sit 0.4° from a direct (type-II) singularity. There, one microstep moved the magnet up to 1.4 mm.
    • The two far corners were 2 mm out of reach.
  • Redesigned:
    • A grid search over about 11,000 feasible layouts, with the motor spacing kept at least 100 mm and the total link length at most 580 mm, chose 265 / 315 mm links, 100 mm spacing and a board 57 mm further from the motors.
    • The worst-case singularity margin over every point a piece can travel through went from 0° to 21.8°.
    • Resolution is now at most 0.08 mm per microstep, and estimated peak torque is 0.5 N·m. On v1's near ranks it was over 4.4 N·m.
  • Software:
    • A chess rules engine verified against standard perft counts, and a path planner that routes knights and blocked pieces along the lanes between squares and parks captures at the side.
    • Arduino firmware that solves the inverse kinematics on board and checks a whole move against the singularity limits before taking a step.
    • One JSON configuration feeds the MATLAB, Python, C++ and JavaScript versions, and CI checks they agree on every square.
  • Open: the v2 links are not cut yet. The new firmware compiles and passes its tests on a PC, but has not run on the robot.

Balance and control

Bo-Bot: a self-balancing two-wheeled robot in a cat-shaped casing with an animated OLED face. Its controller is an ESP32 driving N20 motors with encoders, with an MPU-6050 for tilt. Live simulator.

  • Model: the plant is linearised from datasheet values. Its open-loop pole at +10.6 s⁻¹ means it falls over in about a tenth of a second.
  • Controller:
    • Cascaded speed and angle loops run at 200 Hz.
    • The analysis showed that the filter lag on the speed estimate is what makes the loop stable: without it the poles are at +3.6 ± 71j.
    • With the 3.5 ms control delay included, the phase margin is 32° and the stable range of kp is 16.5 to 121.
  • Cross-checked:
    • The Python and MATLAB analyses agree (MATLAB R2025b self-check).
    • The linear model is compared against a nonlinear browser simulator that runs the firmware's own control law.
  • Design: a parametric Fusion 360 script drives both the CAD model and the A3 drawings, so the two cannot drift apart.
  • Open: the firmware is written and tested against the simulator, but not yet run on hardware. The casing build is next.

Arms

mearm-robotic-arm: a 4-DOF desktop arm built in the SAE × Robonix 2025 robotics challenge. It is based on the open-source MeArm by Benjamin Gray and Jack Howard.

  • Built (July 2025):
    • Laser-cut 4 mm acrylic instead of the standard 3 mm, with slots and holes re-sized for the thicker sheet.
    • Four MG90S servos on an Arduino Uno; the circuit was simulated in Tinkercad before wiring.
    • It picked a foam cube up and set it down across the table in about 15–20 s.
  • Fixed along the way:
    • The Uno reset whenever the servos drew from its 5 V pin, so they moved to a separate supply with a shared ground.
    • A jittering servo turned out to have a loose ground.
    • Laser kerf on the thicker sheet meant trimming slots and filing the gripper.
  • Explained: a kinematics model shows the busier servo carries about half its stall torque from gravity alone at full reach, which is where the elbow struggled.
  • Software: position-control firmware that checks joint and linkage limits along the whole path before moving, cross-checked against MATLAB in CI.
  • Open: the link lengths are nominal MeArm values, and the IK firmware hasn't run on the arm yet.

How I work:

  • Geometry, units and limits are written once, in a single configuration file that every language reads.
  • Each result is checked against a second implementation or a hand calculation.
  • I keep the measured number, not the impression.
  • Each project says plainly what has run on hardware and what has only run in simulation.
  • Tests run in CI, so the work runs on someone else's machine too.

Tools: SolidWorks · Fusion 360 and its scripting API · AutoCAD · Tinkercad · MATLAB and Simulink · Python · C/C++ on Arduino and ESP32 · Raspberry Pi · laser cutting, 3D printing, aluminium-extrusion frames · Git and GitHub Actions

LinkedIn · Email

Popular repositories Loading

  1. Bo-Bot Bo-Bot Public

    Bo-Bot: Arduino firmware, web simulator, Fusion 360 CAD, electronics and MATLAB/Simulink control analysis.

    G-code 2

  2. 5bar-chess-robot 5bar-chess-robot Public

    Gripper-free chess robot: a magnet under the board, driven by a 2-DOF 5-bar parallel linkage. MATLAB analysis, Python planner, Arduino firmware, and a live browser simulator.

    Python 1

  3. aamna-builds aamna-builds Public

    Mechanisms, robotics and the hardware around them.

  4. mearm-robotic-arm mearm-robotic-arm Public

    4-DOF desktop arm based on the open-source MeArm: laser-cut 4 mm acrylic, MG90S servos, Arduino Uno. Kinematics and servo-load analysis in MATLAB, and position-control firmware with limit checks.

    C++

  5. LomiNoki LomiNoki Public

    Lomi and Noki, cute table robots with screen faces that show feelings, keep your study timer and play your music.

  6. Kumo-Norae Kumo-Norae Public

    Cute offline vinyl-record music player with a working tonearm