. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    ecat's Avatar
    Location unknown. Last Activity: 08-02-2014 Has been a member for 9-10 years. Has a total post count of 157. Received thanks 5 times, giving thanks to others 8 times.
    If you need more servo outputs it should be possible to combine the Adafruit board with this idea ...

    Drive 10 Servos using only 2 Arduino Pins - DIY Drones

    You need to remove the servo drive code from the Adafruit library and change the linked 4017 code to use pins 9 and 10 instead of 9 and 8, then connect the 4017 circuit to the Adafruit servo 1 and 2 control pins. This would give you 4 motors and up to 10 servos at an extra cost of around £2. I've used the 4017 idea before with a PIC32 controller, it worked well.

    If instead you just need to drive one more motor/solenoid you could use a transistor on one of the free d0, d1, a0..a5 pins to give a single direction drive, or two of the pins + an inverter chip and another L293D, as on the Adafruit board, to drive 1 motor both forward and backwards.

    And if you wanted to be really sneaky you could perhaps wire a 2nd Adafruit board up in parallel to pins d4, d7, d12 and GND but connect one of your free pins to the second boards d8 connection and get yourself an extra 4 full motors - N.B. Each additional motor will also require one of your additional free pins and some code to drive it for Enable/Speed control. Again you would need to modify the Adafruit library but the changes shouldn't be too tricky*.

    *Shouldn't be too tricky*: the famous last words of many a programmer :(
    Last edited by ecat; 01-10-2012 at 03:01 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Has anyone made any metal tank treads for 1/16th models?
    By Fivetide in forum Metalwork Discussion
    Replies: 19
    Last Post: 16-09-2012, 06:31 PM
  2. BUILD LOG: My first attempt.... 8 x 4
    By trounce in forum DIY Router Build Logs
    Replies: 0
    Last Post: 18-10-2011, 11:31 AM
  3. FOR SALE: Mega PCB etching tank & etchant developer etc...
    By Jonathan in forum Items For Sale
    Replies: 1
    Last Post: 08-05-2011, 02:39 PM
  4. BUILD LOG: My First Attempt Of A CNC
    By AdCNC in forum DIY Router Build Logs
    Replies: 61
    Last Post: 21-10-2010, 03:55 PM
  5. help please with first attempt
    By phill05 in forum Machine Discussion
    Replies: 13
    Last Post: 01-06-2010, 05:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •