Magnetic Levitation Ball Kit with Arduino Uno + Sensor
Master Closed-Loop Control with the Magnetic Levitation Ball Kit for Arduino Uno
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Bring a 25-gram iron ball to a stable levitation using real-time Hall effect feedback and a PID algorithm you'll tune yourself. This kit turns control theory into a physical system that reacts to disturbances — pass your hand near the ball, and the coil current adjusts instantly. You'll work through sensor calibration, MOSFET driver design, and closed-loop gain tuning, gaining practical motor control expertise.
What You'll Build
You'll assemble a magnetic levitation platform where an electromagnet suspends an iron ball in mid-air, unassisted. The A3144 Hall sensor measures the ball's position continuously, the Arduino computes error and corrects via a PID loop, and the IRF540N MOSFET modulates coil current to maintain equilibrium. The 0.96-inch OLED displays real-time setpoint, measured distance, and current draw — a complete window into control system dynamics.
What You'll Learn
- Implement a fully tunable PID algorithm on Arduino Uno, understanding proportional, integral, and derivative terms
- Calibrate a Hall effect sensor for precise distance measurement within a magnetic field
- Drive a high-current electromagnet using a logic-level MOSFET and INA219 current sensor, with gate protection
- Visualize control loop performance on an OLED display and log data for analysis
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Uno R3 | x1 |
| A3144 Hall Sensor | x1 |
| INA219 | x1 |
| IRF540N MOSFET | x1 |
| Electromagnet 12V | x1 |
| 0.96in OLED | x1 |
| 100Ω Gate Resistors | x3 |
| 10kΩ Resistors | x5 |
| 100nF Caps | x10 |
| PCB Prototype Board | x2 |
| 12V 3A PSU | x1 |
| Soldering Iron | x1 |
| Solder Wire | x1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
This advanced kit is built for B.Tech ECE and EEE students tackling control systems coursework, final-year projects at IITs, NITs, or VIT, and Smart India Hackathon teams that need a robust motor control demonstration. It also fits ATL advanced labs where students explore closed-loop feedback. If you've ever wanted to see a PID loop physically stabilize an object against gravity, this is your hands-on lab.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Our AI companion guides you through each wiring and code step, and if you hit a snag, our WhatsApp support is available for direct troubleshooting of PID tuning or sensor behaviour.
Do I need prior experience with PID controllers?
The AI companion explains PID theory step-by-step, but familiarity with Arduino coding helps. The included code library contains a pre-tuned PID that gets you levitating quickly, after which you can tweak gains to see the effects on stability.
Can I adjust the levitation height?
Yes, by modifying the setpoint in the Arduino sketch. The kit's documentation covers how to change the target distance, and you can watch the system respond in real time on the OLED, with current data from the INA219 helping you stay within safe limits.
Is the electromagnet powerful enough for other experiments?
The 12V electromagnet is sized for levitating the included iron ball. The MOSFET driver supports up to 3A, and the INA219 monitors current, but the coil may overheat with larger loads — stick to the recommended ball for reliable PID control.
Hall sensor detects iron ball position below electromagnet. PID controls coil current to levitate ball stably.
What's in this kit
- Arduino Uno R3
- A3144 Hall Sensor
- INA219
- IRF540N MOSFET
- Electromagnet 12V
- 0.96in OLED
- 100Ω Gate Resistors x3
- 10kΩ Resistors x5
- 100nF Caps x10
- PCB Prototype Board x2
- 12V 3A PSU
- Soldering Iron
- Solder Wire
Choose your assembly option:
- Soldering Kit — 25W soldering iron, 60/40 solder wire, flux, and small perfboard for permanent assembly.
- Breadboard Combo — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items