Unveiling: Dark Souls Respite

This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (World Wide Web.makecourse.com)

The general mind for the project is a tribute to a videogame named Dark Souls. The contrive consists of an 'Estus Flask' that will beryllium connected to a stepper motor via a rod which will likewise house an LED, the LED will light up the flask and the flaskful will rotate.

Step 1: Control System of rules Block Plot

Here is the Control System Obturate Plot of my project. As we can take care, the arduino controls the entire functioning of the projection. A distant volition send a signal to the arduino through an Inland Revenue sensor, prompting the arduino to office the stepping motor motor, likewise atomic number 3 the RGB LED. The RGB Light-emitting diode will be placed inside the estus flaskful for a glowing effect.

Step 2: Parts and Circuit

The parts used in my project include these listed downstairs, with descriptions and how they are included in the project.

  1. 1x Arduino Uno - Controls the whole circuit.
  2. 1x DC-47P DC Series Heavy Duty Electronics Enclosure - The base of the project, this will glucinium accustomed house the racing circuit. A hole must be made in the top of the inning for the rod and LED to pass through for the estus flaskful to spin and glow. A muddle must be made in the side for the IR distant to communicate with the Iridium receiver.
  3. 1x Mini Breadboard with Mightiness Track - This will be accustomed colligate the circuit.
  4. 1x Stepper Motor - This wish birl the estus flask. The stepper motor can either be screwed onto the bottom of the enclosure Beaver State determined in situ with an adhesive (hot glue gun).
  5. 1x ULN2003 Motor driver module - This module allows the stepper motor to be joined done the arduino. This is placed right away on the arduino digital pins.
  6. 1x IR Recipient - This will receive the IR transmissions from the IR remote.
  7. 1x Atomic number 77 Remote - This will send IR transmissions to trigger the circuit.
  8. 9V Battery holder (with appropriate jack size for arduino) - Wont to house the battery.
  9. 9V Battery - Power source for the project.
  10. 1x RGB Light-emitting diode - This testament be placed inside the Estus Flaskful for a glow force.
  11. 1x 1KΩ Resistor - Used for the IR receiver circuit on the bread board.
  12. 3x 220Ω Resistance - Used one and only for from each one pin color for the RGB LED along the bread board.
  13. 6x Pistillate Jumper wires - Four of these will be used for the RGB LED to connect from the LED in the estus flask to pinafore wires and subsequently the breadboard. The remaining two wish be victimized for the power and ground for the motor driver module.
  14. 14x Breadboard Jumper wires - Two will be connected to the 5V power and Ground on the arduino to the positive and negative power rails along the bread board. Two will be used for the motor device driver faculty, power and ground, connecting to the breadboard. Two will be used for the Inland Revenue receiver, power and background, conjunctive to the breadboard. Three will be used to connect the female jumper wires joined to the RGB LED to the breadboard. Three volition comprise used to link from the breadboard to digital pins on the arduino. One will equal accustomed connect the ground personal identification number of the RGB LED to the veto power rail of the breadboard. Same will live wont to connect the IR pass catcher to a extremity arduino pin.
  15. 1x ~9mm Hollow Rod - This rod was made and 3d printed, it connects the stepper centrifugal and the Estus Flaskful. It will be hollow, and must stimulate a jam through which the female jumper wires are passed through to allow for the RGB LED into the estus flaskful. This is connected to the stepper motor with a calefacient glue gun, if made with the right wing dimensions it can fit onto the estus flask without requiring adhesives.
  16. 1x 3D Printed Estus Flask - Can be 3D sculptural severally, I have used a public model for this externalise (http://www.thingiverse.com/thing:1543005). I have thrown-scaled the model used by 50%. When printed, you must drill a small maw on the bottom to properly fit the connector rod, withdraw any support material inside with a screwdriver or other tool.
  17. 1x 3D Printed Bonfire - Can be 3D modeled independently, I have used a overt model for this project (http://www.thingiverse.com/thing:1464127). When printed, rouge with oil colour paint and add any additional embellishments. Dress on the top of the enclosure with an adhesive (hot glue gun used).

Tie in the circuit atomic number 3 delineate above inside the enclosure.

Step 3: Arduino Sketch

This is the Arduino Sketch for my project:

              

#include <IRremote.h>

#include <StepperAK.h>

#define gearratio 64 // 1:64 gear ratio const int stepsPerRevolution = 2048; // 2048 steps turn the shaft of the motor one round

Stepper myStepper(stepsPerRevolution,10,11,12,13); // Instatiate 4-telegram stepper pins 4 through 7

int redPin = 6; int greenPin = 5; int bluePin = 4;

int RNG;

int RECV_PIN = 0; IRrecv irrecv(RECV_PIN); // Instantiate a IR receiver object decode_results results; // Instantiate a decode_results object

void setColor(int red, int green, int blue) { #ifdef COMMON_ANODE red = 255 - red; green = 255 - green; sorry = 255 - uncheerful;