Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Components used:

  • Greartisan DC 12V 120RPM Gear Motor High Torque Motor
  • ELEGOO UNO R3 Board
  • L298 Motor Driver
  • 9V Battery
  • Joystick

Fitting with a number of our design elements being reused from previous projects in the class as mentioned in the Design Process module of this wiki, the electronics used were heavily based off of the joystick-controlled vehicle created for Build Exercise #1, as seen below. Note the Arduino, breadboard, and joystick orientations. Additionally, the 12V 100RPM Greartisan DC motor provided for Build Exercise #1 was also reused for our motor in designing the reusable plastic bag opener.

...

Repurposing the set up from Build Exercise #1 and instead adapting it to the motor positioned in the wooden frame, a new program was written for our reusable plastic bag opener , as seen below:

Figure 5.2: Complete screenshot of all Arduino code used for this project. (A complete download of the .ino file containing the Arduino code can be found within the Appendix.)

Using the Arduino code, Arduino, breadboard, and joystick, the reusable plastic bag opener could be is controlled manually by moving the joystick, which would rotate the motor either clockwise or counter-clockwise depending on the direction input on the joystick. The motor speed is based on the magnitude of the joystick position, and the direction is toggled by clicking the joystick in.