Tailstock DRO

Advert

Tailstock DRO

Home Forums Electronics in the Workshop Tailstock DRO

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32204
    duncan webster 1
    Participant
      @duncanwebster1
      Advert
      #558266
      duncan webster 1
      Participant
        @duncanwebster1

        back in the March 2021 edition of ME I described how to make a rotary encoder based DRO for the tailstock, and several people asked for the code. One at least has got it working, but not without issues. Following advice from Silly Old Duffer, there are 2 issues

        Firstly I forgot to mention in the article that you have to download the TM1638plus library. Instructions on how to do this are given in lib

        They have changed this library between my installing it and now, so my code needs changing a bit. Right at the top are 3 lines which say

        #include <TM1638plus.h>
        #include <TM1638plus_font.h>
        #include <TM1638plus.h>

        delete the second 2 lines so it just says

        #include <TM1638plus.h>

        This may still not be enough, it appears there are some old stock Arduinos out there which the modern compiler will not deal with. If you get a message like

        avrdude: stk500_recv(): programmer is not responding

        then that is your problem. To cure it go to Tools->board and select Arduino nano. Then go to tools->processor and select ATmega328P(OldBootloader)

        If you still have issues let me know and I'll try to sort it.

        Mine worked pretty much out of the box

        #558268
        Michael Gilligan
        Participant
          @michaelgilligan61133

          Thanks for the update, Duncan

          … this device is somewhere on the Round Tuit list

          MichaelG.

          #558955
          duncan webster 1
          Participant
            @duncanwebster1

            I've found another Bill Gates inspired issue, at least I think it's him. I tried to upload a sketch to a fairly new nano (bought within the last couple of years) and my new computer couldn't find which port it was plugged into. Tried with a UNO same, then tried both on my laptop and both worked. It appears that the USB chip is 'obsolete' and Mr Gates has decided we shouldn't be using it, and so W10 cannot now find the drivers. I sorted this after much googling by downloading and installing CH341SER.EXE

            This sorted mine out, but wasted a couple of hours

            #559003
            peter ravenscroft
            Participant
              @peterravenscroft57700

              hi duncan

              i built mine as described and it works very well don't know how i managed before

              regards

              peter

              #559336
              DEREK SPEDDING 1
              Participant
                @derekspedding1

                Hi Duncan.

                Please could you point me in the direction of the code. I intend fitting the system to my Boxford.

                Regards

                Derek

                #561194
                duncan webster 1
                Participant
                  @duncanwebster1

                  I Derek,

                  Sorry I missed this, but I answered your pm. You need to send me your email via a pm

                Viewing 7 posts - 1 through 7 (of 7 total)
                • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                Advert

                Latest Replies

                Viewing 25 topics - 1 through 25 (of 25 total)
                Viewing 25 topics - 1 through 25 (of 25 total)

                View full reply list.

                Advert

                Newsletter Sign-up