A Nerf / Arduino project brought to you by:
- James Formica &
- Chris Wighton
This awesome duo combines to create Forton Labs. With their minor to fuck all experience in these types of projects they bring with them a Software and Mechatronic engineering background fueled by a passionate love for all things orange and yellow.
Let me ask you a question folks, what do you get when you cross:
With
I'll tell you... SOMETHING COOL! Well at least, thats what we hope :)
See the idea here is to create a controllable Nerf turret via a website for all sorts of silly activities. We'll be using a REST API to send commands to the VULCAN OF DOOM to control it's position and when to fire.
Later down the track we plan to turn this into a game of sorts with two of these bad boys connected and battling it out in a last man stands sort of fashion complete with power-ups!
This will be our first major project using Arduino boards so it wont be the fastest of builds but fear not, for it shall be a glorious day when we unleash this hell raiser upon this Earth!!!
This is a list of the stuff involved in making this project happen (will be updated as we go)
- Nerf gun (Vulcan)
- Arduino Yun
- Metal and stuff
- Resistors and components and stuff
- Wires and stuff
- Swag and yolo bruh
- Go to http://nodejs.org/ and install
- Navigate to local repository - BFNG/Web Application/BFNG
- Run npm install (might need admin)
- Create a file called _defaults.js under BFNG/public/javascripts
- Inside the file paste this line of code and modify as needed: var arduinoAddress = "http://" + "myArduino.local";
- Hopefully run npm start
- Navigate to localhost:9000 in your browser of choice (better not be IE)
- Connect the Yún to your computer via a micro usb cable
- Give it a sec, then open your wifi connections and select the Yún
- Browse to http://arduino.local
- Enter the default password of "arduino"
- Select configure then enter a better password
- Select the wifi network it will work under
- Set the REST API to Open (may change in future)
- Finish up by letting it restart
- Open up the Arduino IDE >= 1.5.4
- Open up the first-api.ino under BFNG/Arduino Yun/James/first-api
- Upload it
- Open the Serial Monitor
- Go to the web application and click FIRE
- Pray
- Profit?
- If you see the commands come up on the serial monitor then it worked, congratulations
- If it didn't work, well then, I'm not really sure. Send a messenger pigeon and ill try to get back to you asap
##"Stay tuned folks, cause this shits about to get real" - Gandalf