I bought a fully automatic bb gun, the MAG 9. It runs a 6x double AA batteries. I took it apart and salvaged the internal shooting mechanism. This includes cutting the wires which supplied the motors power and attached longer wires (by soldering) for increased flexibility.
![]() |
wires for motor power |
An ultrasonic distance sensor will be watching the door. During the setup stage, the distance reading during the first few seconds will be used as a reference. If there is a significant change in the distance readings, the turret will start shooting. As of now, the turret does not have any motion tracking features implemented. The turret will blindly shoot at the entrance on my room.
There is a very tiny button which acts as a switch for the bb gun. I'll be using a servo motor to trigger this switch.
This project is not yet completed. The loading mechanism has some serious issues. The magazine itself can carry over 100 bb pellets but can only load about 20 at a time. After depleting the clip, there is a gear which requires winding. Doing this will load the pellets in the "hold area" of the clip to the actual magazine.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipzxX33_riwmUO-cBnlbeQAp9izyL7Dt7WZCuvqyydSyI6EBGs0TFlYR73cP7EanqCMn3g8k06WyAc78dGmpNA2205VKZdTMOHokzUuhNeLjuGnDVzWuaNIT6B7MWilvZBjSAJpo7j6Do/s320/WP_000516.jpg)
Features:
- bb turret shoots plastic pellets, at 200 fps (or 61m/s)
- an ultrasonic motion detector will be listening for intruders
- as of now, the turret can only shoot about 20 pellets before it requires manual reloading
Parts Used:
- 1x bipolar stepper motor (KP35FM2 ‐ 035 by japan servo)
- 1x SN754410 Quad Half H-Bridge (to control the stepper motor)
- 1x servo motor
- 1x MAG 9 fully automatic bb gun
For the first video, a laser pointer will be mounted on the motor. The laser will show the general area where the turret will be shooting. The second video will demonstrate the capabilities of the bb turret itself. For demonstrative purposes, the bb turret is unloaded.
Future plans: The main priority is redesign the loading mechanism and significantly increase the magazine's capacity. Next, I'll try to implement some sort of tracking system.