2024 Electromagnetic Auto-Aiming Toy Shooter 
GitHub Link: https://github.com/MrPumpkinsss/Electromagnetic-Auto-Aim-Shooter
This project won the EIE Microcontroller Application Design Contest (2023-24). It combines Raspberry Pi and Arduino. Raspberry Pi is responsible for image recognition and transmits target coordinate information to Arduino via I2C. Arduino adjusts the pan-tilt with PID control to aim at the target.
Regarding the electromagnetic gun, the design of its circuit is the most challenging part. The capacitor must first be charged to approximately 250V in about ten seconds. The Arduino trigger signal is controlled by a mobile phone Bluetooth signal to activate the thyristor, allowing a current of up to tens of amperes to flow through the coil. This generates a strong magnetic field that propels the magnet out of the barrel at high speed.
In order to accelerate the magnet further, this project uses a dual-stage coil design. By precisely controlling the time difference between the coil activations, the magnet is accelerated more efficiently compared to single-stage designs.
Multimedia Gallery
Videos
Images











