. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    For the PIC, you can use any of the output pins (pins 2, 3, 5, 6 and 7) for the VREF generation signals, but use one of the analogue pins (5, 6 and 7) with a trimmer (between VCC and GND) to set the delay.
    Ok think I've got it sorted. I'm not sure if the trim pots are configured properly as it looks like they will interfer with each other :naughty:. Just reread Kwakers post and I think i should have used the pic to pull them high not low. :whistling:

    I've also left the 3.9 res in as I presume it will limit the Vref to 3v mav as per the data sheet. If the pots are pulled high could this be achived with a common 3v supply?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Ideal mk2_ 4 amp.png 
Views:	595 
Size:	35.5 KB 
ID:	1171  

  2. #2
    Quote Originally Posted by Ross77 View Post
    Ok think I've got it sorted. I'm not sure if the trim pots are configured properly as it looks like they will interfer with each other :naughty:. Just reread Kwakers post and I think i should have used the pic to pull them high not low. :whistling:

    I've also left the 3.9 res in as I presume it will limit the Vref to 3v mav as per the data sheet. If the pots are pulled high could this be achived with a common 3v supply?
    Just to clear any confusion - you the 3k9 res should be removed from the +5v line and connected to a port. The voltage at the other end will never exceed 1v.
    Another resistor is connected the same (19k??) one end to the junction of the VR and the 3K9 the other to a second port.

    Basically the PIC will pull either of the lines high - if it pulls the 3k9 one high you get whatever current you've set the VR for, if it pulls the 19k one high you get a quarter of that.
    The pic avoids interference by essentially disconnecting the unused resistor (tri-stating the output).

    I've also realised in my pseudo code there's no need to set the port pins high in the loop - this can be done outside - plus I don't show the pin being 'un-tri-stated' - which obviously it would need.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 16-03-2014, 07:29 PM
  2. Dc servo driver
    By Treemonkey in forum Motor Drivers & Controllers
    Replies: 11
    Last Post: 11-02-2013, 08:16 PM
  3. Driver suggestions
    By Shinobiwan in forum Motor Drivers & Controllers
    Replies: 0
    Last Post: 04-03-2012, 03:54 PM
  4. Driver wiring help...
    By mike in forum Motor Drivers & Controllers
    Replies: 12
    Last Post: 21-09-2010, 09:29 AM
  5. Driver box
    By John S in forum General Electronics
    Replies: 1
    Last Post: 21-06-2009, 12:46 PM

Tags for this Thread

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
  •