DrawBot – The Assembly, Part II

Now that all the parts have arrived, I’ve finished soldering the Adafruit Motor Shield, it’s time to figure out what the hell I’m doing.

  1. The Parts
    1. 9 VDC 1000mA regulated switching power adapter – UL listed 
    2. Stepper motor – 200 steps/rev, 12V 350mA
    3. Micro servo
    4. Arduino Uno R3 (Atmega328 – assembled)
    5. Adafruit Motor/Stepper/Servo Shield for Arduino Kit v1.0
  2. Assembly
    1. Adafruit soldering and assembly instructions for the Adafruit Motor Shield
      1. Hint:  Don’t try to put the L293D into the 16-pin sockets before you solder the socket into place.
      2. Hint:  While preparing to solder the header pins into the motor shield, I found that the motor shield would not sit flat on the Arduino Uno because the leads from the motor shield’s reset button were in the way.  I crimped the leads slightly and then motor shield sat flat.
    2. Download and read the Polargraph Instructions
      1. Polargraph build instructions on Instructables
      2. Latest Polargraph Build Instructions circa 11/28/2011
      3. Polargraph Instructions circa 10/20/2010
      4. Polargraph Instructions circa 10/9/2010
    3. Install the Processing environment
      1. Processing environment download page
      2. It’s necessary to run the Polargraph controller software
    4. Update the Arduino Uno’s firmware
      1. Go to Arduino.cc and download the latest software (Version 1.0 is 85.9MB for Windows)
        1. The latest version of Sandy Noble’s Polargraph software requires the Arduino 1.0 firmware
      2. Install the Arduino drivers123
        1. Plug in your board and wait for Windows to begin it’s driver installation process.  After a few moments, the process will fail, despite its best efforts
        2. Click on the Start Menu, and open up the Control Panel.
        3. While in the Control Panel, navigate to System and Security. Next, click on System. Once the System window is up, open the Device Manager.
        4. Look under Ports (COM & LPT). Â You should see an open port named “Arduino UNO (COMxx)”
        5. Right click on the “Arduino UNO (COmxx)” port and choose the “Update Driver Software” option.
        6. Next, choose the “Browse my computer for Driver software” option.
        7. Finally, navigate to and select the Uno’s driver file, named “ArduinoUNO.inf”, located in the “Drivers” folder of the Arduino Software download (not the “FTDI USB Drivers” sub-directory).
        8. Windows will finish up the driver installation from there.
      3. OMG!  I just made an LED blink!
        1. I followed up this incredible success by adjusting the amount of time the LED spent off and on.  It was pretty cool. 4
    5. Download Sandy Noble’s Polargraph Controller v2.0
      1. Download the Windows binaries or
      2. Download the source code and compile them for yourself
    6. Download the AccelStepper Arduino Library
      1. Direct download
    7. Download the Adafruit Motor Shield Arduino Library
      1. Direct download
      2. When I tried to drop this library into the “arduino-1.0/libraries/” subfolder, the Arduino IDE freaked out.  I had to rename the library sub-folder from “adafruit-Adafruit-Motor-Shield-library-dd30da7” to “AdafruitMotorShieldLibrary” since the IDE would not recognize a library with spaces, dashes, etc.
    8. Um… now what?
      1. As I’ve mentioned, I really have no clue what I’m doing here.  I’m mostly just banged away at the motor shield with a hot soldering iron, jammed it onto an Arduino…  and don’t know what to do next!  Halp?
Posts in the DrawBot Adventure Series
  1. Wanna make a DrawBot?
  2. DrawBot, the Adventure Begins
  3. DrawBots for the slow learner
  4. DrawBot - Parts Ordered!!!
  5. DrawBot - The Breakdown
  6. DrawBot - Parts Shipped!!!
  7. DrawBot - What would you draw?
  8. DrawBot - The Hacks
  9. DrawBot - The Delivery?
  10. DrawBot - The Delivery, Part II
  11. DrawBot – The Delivery, Part III
  12. DrawBot – The Assembly, Part I
  13. DrawBot – The Software, Part I (and an existential conversation)
  14. DrawBot – The Delivery, Part IV
  15. DrawBot – The Assembly, Part II
  16. DrawBot – The Assembly, Part III
  17. DrawBot – The Assembly, Part IV
  18. DrawBot – Halp!!! No - seriously, a little help?
  19. DrawBot – The Face Palm
  20. DrawBot – The Delivery, Part V
  21. DrawBot – The Silver Lining of Failure
  22. DrawBot – The Delivery, Part VI
  23. DrawBot – The Assembly, Part V
  24. DrawBot – The Assembly, Part VI
  25. DrawBot – Printed Parts
  26. DrawBot – The Assembly, Part VII
  27. DrawBot – The Operation, Part I
  28. DrawBot – The Assembly, Part VIII
  29. DrawBot – Printing!
  30. DrawBot – Printing, Part II
  31. DrawBot – Why are you crying?
  32. DrawBot – Calibration
  33. DrawBot – How to Recover from a Stalled Print!
  34. DrawBot – Pen Selection, Part II
  35. DrawBot – Onwards and Upwards!
  36. Restarting a Stalled DrawBot Drawing
  37. TSP FTW!
  38. Speedier DrawBot Drawings
  39. Two new DrawBot links! And an update!
  40. Excellent DrawBot Slides
  41. Another Drawing Robot!!!
  42. The biggest inkjet printer ever
  43. Why do DrawBots draw on walls?
  44. All New Polargraph on the way!!!
  45. Ideas for improving my DrawBot
  46. DrawBot Aesthetic Re-Design Ideas
  47. The Eagle Has Landed
  48. Every Body Needs a Skull
  49. This project is not going to overengineer itself
  50. Overengineered Spools
  51. Overengineered Stepper Motor Mounts, Filament Guides
  52. Overengineered Bolt Endcaps, Case Holder
  53. Sourcing DrawBot Parts
  54. DrawBot - A Tour!
  55. DrawBot - A Preview
  56. Arduino Powered Drawing Robot Poll
  57. Building an Arduino Drawing Robot - On The Cheap
  58. DrawBot - Printed Parts Tour
  59. Unidentified Foam Object
  60. Arduino Powered Drawing Robot - Take 2 (Or 3)
  61. DrawBot, now ACTUALLY wall mounted!
  62. A Study of Drawing Robot Pen Holders and Design Considerations
  63. Drawing Robot Pen Holders, Calligraphy Pens, and Thought Experiments
  64. Ideal Qualities in a Drawing Robot Pen Holder
  65. Enough talk! Finally a pen holder!
  66. DrawBot Pen Holder Post Mortem
  67. To Maker Faire!!!
  68. Skipping! How could I forget the skipping?!
  69. Drawing Robot Penmanship
  70. PlotterBot at Maker Faire Bay Area 2013!
  71. PlotterBot.com - a new site dedicated to drawing robots
  1. This was written for Windows XP, Vista, and 7, there’s also guides for Mac OS X and Linux []
  2. I’ve just copied and pasted this info here for completeness. []
  3. MacOSX []
  4. Arduinos can be used for MORE than this, you say?!  Tell me more! []

5 Responses to “DrawBot – The Assembly, Part II”

  1. kongorilla says:

    1. Rename the folder that contains the adafruit motor shield library “AFMotor” (no quotes).
    2. Read the Instructable. Repeat as necessary.

    http://www.instructables.com/id/Polargraph-Drawing-Machine/

  2. Sandy Noble says:

    The issue is I think that inside the AFMotor zip, there’s a folder called adafruit-Adafruit-Motor-Shield-library-dd30da7, and inside _that_ is the real AFMotor folder. I think it’s got to do with where in github you get the zip from. Great build!

  3. MakerBlock says:

    @Sandy Noble: Thanks Sandy!! I’ll change that up right now!

  4. […] along at home, I’m sorry – I have been leading you on a fool’s quest.  I did warn you at the outset I had no idea what the hell I was doing.  Carry on, don’t worry about me, I’ll go down with this […]

  5. […] DrawBot – The Assembly, Part II […]