Vex Automated Nerf Crossbow
![image.jpg](/proxy/?url=https://content.instructables.com/FR0/T2XG/KETYVR2L/FR0T2XGKETYVR2L.jpg&filename=image.jpg)
This is how to build a vex automated nerf crossbow simply
Supplies
vex iq “brain”
- vex iq smart motor
- vex iq distance sensor
-x2 vex cables
- vex iq smart motor
- vex iq distance sensor
-x2 vex cables
Assembly of the Motor
![image.jpg](/proxy/?url=https://content.instructables.com/FYE/KWHF/KETYVR3Z/FYEKWHFKETYVR3Z.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/FAH/NDQN/KETYVR47/FAHNDQNKETYVR47.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F9K/QXU7/KETYVR4B/F9KQXU7KETYVR4B.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/FFA/DI8T/KETYVR4G/FFADI8TKETYVR4G.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F42/DBC7/KETYVR7G/F42DBC7KETYVR7G.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F3W/Y9ZB/KETYVR94/F3WY9ZBKETYVR94.jpg&filename=image.jpg)
Please refer to the photos
Attach the Motor to the Nerf Gun
![image.jpg](/proxy/?url=https://content.instructables.com/F3F/P6C1/KETYVRE3/F3FP6C1KETYVRE3.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F3T/OBDV/KETYVRED/F3TOBDVKETYVRED.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/FB9/2DDQ/KETYVRFL/FB92DDQKETYVRFL.jpg&filename=image.jpg)
Hot glue the motor to the trigger assembly of your nerf gun
Wiring of the Motor
![image.jpg](/proxy/?url=https://content.instructables.com/FDB/VJU2/KETYVRT9/FDBVJU2KETYVRT9.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F4B/RDIJ/KETYVRV1/F4BRDIJKETYVRV1.jpg&filename=image.jpg)
Plug the smart wire into the motor and the other end into port one
Distance Sensor
![image.jpg](/proxy/?url=https://content.instructables.com/FC4/VAM8/KETYVSEN/FC4VAM8KETYVSEN.jpg&filename=image.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/F79/IALV/KETYVSFL/F79IALVKETYVSFL.jpg&filename=image.jpg)
Hot glue the distance sensor onto the end of the nerf crossbow that fires make sure it is almost at the tip of the nerf crossbow plug one end of a smart wire into the distance sensor and the other into port 5 of the “ brain “
Wiring of the Distance Sensor
Code
![image.jpg](/proxy/?url=https://content.instructables.com/FF4/HUU6/KETYVU50/FF4HUU6KETYVU50.jpg&filename=image.jpg)
Please refer to the photo