Differential Drive Programming


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    shaiqbashir, It may be a bit complex so here is the jistofit, I pulled every thing out but the important stuff. The variables SPD and DIR are 14 bit inputs from say a joy stick corresponding to Y and X. With two H bridge circuits you can make a tank type device and operate it with 1 joystick. Pressing it forward to move forward and pulling it in reverse to travel in reverse. Naturally moving it left or right will the device turn left or right. The null position for the variables is 511 for no output from the H bridge.
    This code was originally written for a 16F876 but updated for 18F252.
    I'm sorry I can't give you more but that's business........ HTH....

    Dave Purola,
    N8NTA
    Attached Files Attached Files

Similar Threads

  1. Data Programming Error at 0000
    By cpatnoi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd May 2009, 03:37
  2. Problems programming
    By Lionheart in forum General
    Replies: 4
    Last Post: - 7th December 2008, 16:51
  3. MPASM Path & File Name Length Limtation
    By Brian J Walsh in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th June 2008, 15:48
  4. Telescope drive motors that don't...
    By Dodgy Geezer in forum General
    Replies: 68
    Last Post: - 12th April 2008, 02:05
  5. Seeking Help With Programming PIC16F688
    By gzayzay in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th March 2006, 03:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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