ProfileMaker Update – and an apology!

Last week, in an attempt to improve ProfileMaker I actually made some things worse – including screwing up the calculations.  So, if you ran some calculations last week and got some terrible results, that’s why.  Extra apologies to Tyler, since this was his first experience with ProfileMaker.

So, what’s different?  Well, a lot.

  • I added a rollover image of Albert Einstein to the “Advanced” link.  This just makes me happy.
  • I’ve moved the “thread width” option to the “advanced” section.  Overall, I find that the best results for thread width, and by extension the various “width over thickness” (W/T) parameters, are when you have a resulting W/T of 1.6 or greater.  The W/T is basically about how much the plastic is squished down when it is extruded.  If the plastic is not squished at all, such that the W/T is equal to 1, then the plastic extrusion doesn’t have a lot of contact with the layer below.  The problem with this is that the bond between the layers1 would be very weak, creating a weak finished product.  This is a long way of saying that if you don’t touch the advanced settings, you’ll get a W/T of at least 1.67 or greater generated by ProfileMaker.  This should give you a good strong result each time.  If you just have to tinker with those numbers, you can still override this default by specifying a new “thread width” in the advanced section.
  • I’ve added “nozzle diameter” as a new variable.  Tony Buser suggested in a recent conversation that the optimal thread width is probably equal to the nozzle aperture diameter.  I suspect you could get away with little bit more than this – probably equal to the nozzle diameter itself – as in the measurement from the outside edge of the nozzle to the opposite outside edge of the nozzle.  My reasoning is that the thickness of the metal that comprises the nozzle should be able to help squish down a little more plastic.  In some senses, this is really a better determination of a nozzle’s precision than just the nozzle aperture itself.  If you think about it, if your thread thickness setting is exactly equal to the nozzle aperture, then when the nozzle lays down a thread the edge of the nozzle will have to run over the thread next to it.  I should think that this is not optimal – since it could cause the nozzle to mess with the layers nearby.
  • I’m working on adding a few suggestions to the output that will only pop up when people use unrealistic values.  There may or may not be an Easter egg in this if and when it is completed.
  1. Usually called interlayer adhesion []

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?
Default Series Title
  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! []

DrawBot – The Delivery, Part IV

It always kinda freaks me out for a moment when I am talking to someone and they reference something I’ve written in a blog post.  It takes me a little bit to process that the act of blogging isn’t really a solitary one – that I’m usually interacting with the people who read it.  While I understand intellectually that there are people who read this, part of me1 2 3 4 5 6 7  is nevertheless surprised. See, I was on a conference call tonight and someone mentioned they were happy to hear I was experimenting with a DrawBot8  ANYHOO!

My order from Adafruit arrived today!  This was my very first order from Adafruit Industries and I have to say all of the parts were packed very well and thoughtfully.  It’s a small thing, but I like how the Adafruit logo is printed right on the external USPS shipping label.  The box was sealed with clear packing tape and then additional paper packing tape was put down over that,9 with everything inside bundled inside bubble wrap. 10 11 12 13 14 15 16 17 18 19 20

This order contains my very first stand-alone Arduino. 21  It’s an Arduino Uno and it thoughtfully comes with four little rubber feet, several cool stickers, and a little thank you note for supporting open source.

It’s really just as well that the USPS website didn’t update until after 5pm, otherwise I would have been tempted to rush home to fawn over the parts.

Default Series Title
  1. The self-effacing / self-depricating part wonders … why?! []
  2. Don’t you worry gentle reader, that is by far the smallest part of my psyche. []
  3. Ladies and gentlemen of the jury…  Allow me to bring your attention to Exhibit A. []
  4. I suppose you’d probably get more out of this post if you weren’t always poking around in the footnotes trying to see if I’ve written something clever here. []
  5. In fact, I really try to keep the clever stuff out of the footnotes entirely. []
  6. Boobs. []
  7. I ask you, ladies and gentlemen of the jury…  is this the work of a sane man?  A stable man? []
  8. Hi Brian! []
  9. Nothing could escape that box.  Not even light. []
  10. Pop! Pop! []
  11. Apparently I’m having a very parenthetical day. []
  12. I didn’t even know such a thing was possible []
  13. I think it stems from my… []
  14. Oh!  Shiny! []
  15. extreme ADD []
  16. Okay, would you like a story about my ADD? []
  17. You would?! []
  18. Of course you would! []
  19. Ages ago I was in the boy scouts and I had, as all good boy scouts do, a copy of the boy scout’s handbook.  Everyone was instructed to write their names on the sides of the book so that they would be able to tell them apart.  I wrote my first name along the side and half of my last name.  Apparently, I got distracted halfway through writing my last name … and never finished it []
  20. Thirty years later I’ve more or less moved on.  I suppose I may go back and finish writing it, but I’m clearly in no hurry. []
  21. I say stand-alone since there are apparently already Arduinos in my home – in my MakerBot Cupcake powered by a Sanguino and MakerBot Thing-O-Matic rocking an Arduino Mega. []

DrawBot – The Software, Part I (and an existential conversation)

This morning the USPS website told me that the remaining parts from Adafruit left Oakland yesterday.  As of this moment, they should be sitting at my local Post Office… but not go out for delivery until tomorrow as today is a postal holiday.1  In any case, I just realized that a DrawBot based on Sandy Noble’s Polargraph will require some basic knowledge of Processing.  I guess I better get learning!

Default Series Title
    • My current self [CS] would like to point out to my past self [PS] that if you had only placed the order one day earlier, you’d probably have had all the parts this weekend to work on.  Heck you could even have been done by now.
    • PS would counter, first, that I couldn’t have ordered all of the parts necessary without having first sought some input from people who have done this before me.  And, second…
    • CS would interrupt saying, “Hey PS, what happened to you, man?  You used to be so cool!  What you were afraid of?  Burning a chip or some damn thing?  That’s how you learn!  Buy a helmet!  In any case, people have built these things out of complete junk before!  Where is your sense of adventure?!”
    • PS would remind CS it is not polite to interrupt, “And, secondly, as I was saying, there’s no point in not making use of the various resources available to one.  It would be brash and foolhardy to simply jump in not knowing what the heck you/we were doing.  And, thirdly, in the fullness of time, I think you’ll come to understand that a few day’s delay in assembling a robot is but a blink of the eye in comparison to the time you’ll spend assembling, tuning, and operating said robot.”
    • CS, “Really?  ‘Fullness of time’?  Seriously, man, who talks like that?  I suppose the delay is not such a big deal, but the momentum one has when tackling a project is not an inconsequential concern.  I don’t know about you, but I have the attention span of a gnat.  <Oh!  Shiny!>  It is entirely possible that by the time the final parts arrive, in less than 24 hours, I may have moved on to some new project.”
    • PS, “Momentum, schmomentum.  You might move on to a new project?  Do you realize that you’ve got 16 posts on your site yammering on about this project – when all you have so far is one half-assembled circuit board?  No, you’re going to have to do better than that.  Besides, if you had simply moved to Brooklyn already like I told you, none of this would have been an issue.  You could have just walked over to Adafruit and picked up all the parts you required.”
    • CS, “Move to Brooklyn?  That’s your answer?  I live in the Bay Area, as in ‘California.’  Chances are work is going to have me driving down to Silicon Valley at some point this week anyhow.  And you want me to move to Brooklyn over $100 in parts?”
    • PS, “Well, it looks like you just admitted that this project wasn’t important enough for you to conjure up an excuse to drive to San Jose or Palo Alto.  You didn’t even try to visit a Radio Shack or a Fry’s.  Hell, the time you’ve spent griping about the delays you’ve caused yourself would have been enough for you to drive down to an electronics store and pick up the parts.”
    • CS, “Yeah, at a 50% markup?  Right.  Good plan!”
    • PS, “Okay, which is it?  Did you want the cheapest result or the fastest?  Having chosen an economical middle ground, it seems somewhat silly to blame me that the parts didn’t arrive as fast as fast can be.”
    • CS, “Shut up.”
    • PS, “No, you shut up.”

    []

DrawBot – The Assembly, Part I

I assembled most of the Adafruit Motor/Stepper/Servo Shield for Arduino kit – v1.0 last night.  Since I don’t have an Arduino yet,1 I didn’t want to solder in the connector pins.  Other than those four connectors, it is all soldered up.

FYI, don’t try to put the L293D into the 16-pin sockets before you solder the socket into place.  I tried to do that and it was a mistake.  I bent some of the leads to the socket and stabbed myself in the finger with the L293D chip.

Default Series Title
  1. It’s on its way!!! []

DrawBot – The Delivery, Part III

So, I’ve figured it out.  Admittedly, it took until about 4:45pm today, but I figured it out.

Today was Friday the Thirteenth.  Duh.  That DEFINITELY explains my work day.

I was very happy to find the Adafruit Motor/Stepper/Servo Shield for Arduino kit – v1.0 had arrived from MakerBot.  When I opened1 the package I noticed that the kit really was a kit.  Which I already knew.  I knew this was a kit, but somehow I kinda forgot about it.

In a way, it’s irrelevant that I don’t have the other parts since I have to assemble this kit.  So, tonight I’ll assemble the motor shield and tomorrow, hopefully, I can assemble the rest of the DrawBot.

Default Series Title
  1. Read: shredded the USPS box []

DrawBot – The Delivery?

I don’t think all of my parts are going to arrive in time for me to take a crack at assembling a DrawBot this weekend.  Per the USPS:

  • MakerBot shipment:  Your item departed our OAKLAND, CA 94615 sort facility on January 13, 2012.
  • Adafruit  shipment:  Your item departed our NEW YORK, NY 10199 sort facility on January 13, 2012.

I think the best I can hope for is getting my motor shield tomorrow.  That’s okay, there’s plenty to do in the meantime.  I must learn patience.

Default Series Title

DMCA dot com – I CANNOT believe I didn’t think of this…

I’m not going to actually link to DMCA dot com because I don’t want to send any Google juice their way. 1

This is just so freaking evil I cannot believe I didn’t think of it. 2  DMCA take-down services?  Are you kidding me?  They’ll charge you $10/month for the ability to send e-mails.  The only thing they really have going for them, from what I can see, is a really nice domain name and a snazzy website.  Watermarking images and little badges on your site does more to market them than it does to protect anyone.

Edit: Oh, yeah, thanks to Tbuser for the link!

  1. They’ve got their PageRank of 5 and I’m only a little jealous []
  2. I have evil ideas from time to time, but I very rarely actually go through with any of them.  I try to use my powers for good. []