. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Which processor? Arduino? Is there a library you could use?

  2. #2
    Quote Originally Posted by JohnHaine View Post
    Which processor? Arduino? Is there a library you could use?
    I am using a pre-cambrian processor, hopefully without the explosion, the amazing Hitachi HD64180

    Robin

  3. #3
    I seem to remember that there's a hardware solution using a couple of exclusive OR gates and a counter.....

  4. #4
    Quote Originally Posted by Voicecoil View Post
    I seem to remember that there's a hardware solution using a couple of exclusive OR gates and a counter.....
    Yes there is, and maybe a D-type flip-flop too to sense direction. (XOR gates just double the pulse rate.) But you then still need to accumulate the pulses with an up/down counter and convert the counter to analogue to emulate the pot.

    If there's a C compiler for the processor I guess it should be possible to modify the library code.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Spindle pulses on shutting down.
    By John11668 in forum General Electronics
    Replies: 6
    Last Post: 22-08-2020, 11:45 AM
  2. Basic 540 CNC. Motors skipping pulses?
    By Skydeals in forum General Electronics
    Replies: 3
    Last Post: 18-10-2014, 06:56 PM
  3. Do you make stuff with knobs on?
    By D.C. in forum General Electronics
    Replies: 1
    Last Post: 20-02-2013, 11:04 PM
  4. servo control vs stepper control
    By Peter. in forum Motor Drivers & Controllers
    Replies: 24
    Last Post: 17-09-2012, 08:36 AM
  5. G-Code into stepper driver pulses?
    By HankMcSpank in forum Computer Software
    Replies: 5
    Last Post: 09-01-2010, 12:55 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
  •