Direct ink to PCB-Controller Talk

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 80

  • @PiefacePete46
    @PiefacePete46 9 лет назад +1

    You did not need to worry... your english is flawless, and pleasant to listen to. These are the most useful and informative videos I have seen. You have covered all the details someone will need when considering whether to tackle such a project. Thank you so much.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      +John Colvin Thank you John, I'm not so much worried about messing up completely, but I tend to get into the ahs, the umms, and the ah-umm-äh... when my planning ahead goes out-off-sorts. I rectify most of my blunders with editing, but sometimes I just consider it part of the act. I try to be thorough when I do my videos and I try not to simply impose an opinion but explain how I arrived there.

  • @t3du
    @t3du 10 лет назад +3

    Flawless explanation period. we´re hungry an expecting for the second part talking about software and the arduino code. good job Dirk

  • @huynguyen031091
    @huynguyen031091 9 лет назад +1

    Hi, I'm really inspired by your plotter/cnc project that I decided to follow the instruction and making my own. My main purpose is using it as a laser cutter at the moment. Thank you for your kindness of sharing all the documentation. Really nice narrated video.

  • @radiorob007
    @radiorob007 9 лет назад

    excellent video with beautiful explanation and information,
    not now but later I will also begin with it!
    thank you for this video!
    friendly greetings from Netherlands!
    Rob.

  • @kusmanf
    @kusmanf 6 лет назад

    It is really a worthy video for a beginner. Thanks for sharing your knowledge with others.

  • @MultiBwee
    @MultiBwee 6 лет назад

    Wonderful Dirk , Thanks a lot , you are a great teacher

  • @Karim3ds
    @Karim3ds 7 лет назад +1

    awesome intro and more love it and love your work thanks alot :) :)
    i'll start mine finally based on your work :)

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад +1

      Go for it ! I still use my original machines, they are very useful for getting quick results.

    • @Karim3ds
      @Karim3ds 7 лет назад

      so i did a first attempt with your code, checked the motor wiring and uploaded, first problem was you python code isnt running on my PC! it says when i tried to run it from the ide " Extras\GcodeWriter\ardGcodeWriter.py", line 9, in
      from Tkinter import *
      ModuleNotFoundError: No module named 'Tkinter'" sadly i dont have a clue about that error
      also can you please tell me whats the code difference if i'm using the L293D ICs and not the ULNs, im using 2 coils 4 wires motors. thanks in advance

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      Tkinter is part of the graphical interface of python. It is usually part of the Python 2.7 IDE.
      I suggest trying the 32-bit 2.7 Python IDE. You'll also need the 32-bit pyserial library.
      The L293D setup is not natively supported by any of my machines, but can be made to work using the
      2-Wire-Stepper Constructor code. The ULN2004 are for 5 or 6 wire steppers.

    • @Karim3ds
      @Karim3ds 7 лет назад

      well the 2.7 and lib definitely solved the problem, thanks for that. everything is working great now except the grbl control software, it connects fine and loads the file but doesnt do anything at all! still i can manually move the axis.
      also just to let you know the only version of your code that worked fine with me is the beta>cnc_microcontroller.
      my circuit it using the l293d and i can confirm they work very well with your work :)
      finally, could you please point out the code command in ardiuno that allows me to change the travel distance for x-y axis, as if i built mine bigger or smaller than yours.
      thanks alot for the support and the great work i really appreciate it :)

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      The basic version of the CNC controller code does not have a concept of its own size. It requires you to set the zero/home point at the point of origin on the piece you are working on, it relies on the fact that all sizes are 'sane'.
      Grbl-Control must be configured to just do the most bare I/O, no position reporting and so on. Those features are grbl-specific and I don't have them in my firmware.

  • @ernestojimenez6085
    @ernestojimenez6085 10 лет назад

    realy nice work! respect!

  • @rodneybray9708
    @rodneybray9708 10 лет назад

    Hi Dirk,
    A very interesting video,I look forward to seeing more. I watched on my TV set, so appreciated the audio. Don't worry about your English it's perfect and enhances the presentation.
    Is the resolution capable of handling a surface mount board? I currently have to use a photo etch method with pre-sensitised board
    Regards Rod.

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Resolution-wise it can do SMD. Problem is the (non-existant) availability of pens with 0.3mm or less. But 75 or 60 micron pitch SMD is doable.

    • @rodneybray9708
      @rodneybray9708 10 лет назад

      Dirk Herrendoerfer
      OK, thanks for the reply I have been using these for some time now but not for pcb artwork. I would like to try one when I get my machine working.
      www.rotring.com/en/technical-pens/50-isograph-pen-4006856151008.html
      tips go down to 0.1mm
      Regards Rod.

  • @warlockd
    @warlockd 9 лет назад

    I am going to build your second model printer as a test because I really like the idea of something small and simple to make PCB boards. But my question is have you had any luck aligning boards for double sided etching? Print on one side then the other?
    I was thinking about this as I worked on robotic table drives. They always have a self aligner that uses a cheap ccd or laser to line up its heads. I wonder if you can do something similar.
    Also, the more I look at the robin 3D printer, the more I think you could even put on a small cable driven dremel on it to drill holes, or a placer mechinizem for surface components.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      Yes, I was able to do double sided plotting, either by adding a fixed wedge to position the PCB in, and by measuring the PCB with very carefully, or by plotting the backside in mirror mode, so you can use the same edge once on the left and right side as a zero position marker.
      Yes, the robin 3D printer would support your ideas.

  • @XerotoLabs
    @XerotoLabs 10 лет назад +1

    Great stuff , just found your videos now . I have been working with a few of those small drivers , and i have 2 adafruit motor shields . i might have to scrap my Gcode firmware hack and try to modify yours to work with my setup.
    ( also using a UNO for this but will probably move a Teensy2++ later or a nano )

  • @mickm7608
    @mickm7608 10 лет назад +1

    Good job.
    Mick M.

  • @ajoenaim
    @ajoenaim 7 лет назад

    Hi Dirk, many thanks for your really nice tutorial video. There are two kind of stepper driver inthis video. Does both board supported by the same firmware of uCnc controller ? Any special treatment setup in the source code for using one of these board (ULN2003 or Palolu) before loading the sketch to Arduino board ?

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      The basic version of uCNC_controller only supports the ULN2003/4 controller, the beta (v4) version supports more. All settings are done in the uCNC_controller_v4.ino file. The settings are rather simple, and can easily be adapted to other designs.

  • @zorgrian
    @zorgrian 9 лет назад

    Rod lengths?
    Hi Dirk, I love the plotter! I want to make one. I've downloaded the files from GITHUB. However, I may have missed something but I do NOT see any dimensions or rather lengths for the rods. I do see that with your arduino code or indeed even if I went for doing it with GRBL software, I could overcome the dimensionless rods by putting-in sensor feedback in such a way that the code will find-out how big a machine it is driving.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      +Geoff Cowne Hi ! The basic implementation of uCNC_controller has no concept of a 'default' plot area size. The reason is that, depending on the direction and zero position of a plot (or generated gcode from a pcb layout) the desired print area is more or less defined by its starting vector. Sounds weird, doesn't it ?
      If you want to plot something on a pcb boards both sides you need to place an index hole and align the first side print to plot in direction from left to right, flip it, and then plot from right to left. So in essence: I chose to have the plotter not know its extends, but always start a plot from a zero position.
      So this way I always stick a PCB onto the build area, move the pen to the desired start point, select the zero position, and then plot from there.
      So any size is ok, best sizes are about 100 to 160mm for each axis.

    • @zorgrian
      @zorgrian 9 лет назад

      +Dirk Herrendoerfer Hi! I have read through the code. Yes, I do see how it works now. Thanks for clarifying. It really is open open source! haha (in the sense that there are no closed boundaries in containing the size of a project.) GREAT!
      Even so, I think that I shall add end stop switches at the other extremes of the X & Y axis. In this way I will be able to run a self knowledge (set-up/ self calibration) process whereby, once the machine knows the size in mm of the extent of each axis, then number of steps maybe discovered by advancing the motors until the switches are hit.
      I have SK8 8mm rod supports and some SC8UU linear bearings. I shall use these for rapid development of a somewhat larger machine as, for the moment, it's easier to use what I have. I expect to be able to test this out using NEMA style steppers (I have these). The greater size may throw light on accuracy and self calibration issues.
      BTW. Do not be concerned over your English, it's very good! Having spent 17 years in Oxford before working here, I can tell you that there are a great many English who do not possess your fluency and clarity with their own language!!!

  • @radiorob007
    @radiorob007 9 лет назад

    Hello Dirk,
    The videos which in you show us how it's done
    are very good! (thanks for that!)
    but I have a question?
    I would like a full schematic of both the PCBs?
    I mean where you show them at 20:45 and at 14:55.
    how to connect the nano to the two ULN2003.
    Also the other PCB with the step sticks (pololu board / PCB)
    In the link to Github I find no schematic (or I can not open it maybe)
    maybe you have a direct link to the schematics?
    Regards from Netherlands / Rotterdam
    Rob.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      R. Rob. Hi, there are schematics in Eagle format in the Extras folder for the v1 and v4 controller.

    • @radiorob007
      @radiorob007 9 лет назад

      Dirk Herrendoerfer
      hoooowwww okay
      I can not opennen Eagle schematics!
      I was hoping for a GIF or JPG in windows so that I simply could opennen.
      okay thanks for the effort!
      greetings Rob.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      Well, eagle is free for noncommercial use ...

  • @patprop74
    @patprop74 5 лет назад

    Maybe you can point me in the right direction, you talk a lot about how to make the plotters but how and what do you use to get the actual Gcode from a pcb design in the first? do you have a video showing that ?

  • @ZuNunchaku
    @ZuNunchaku 8 лет назад

    Hii Dirk, any video about the G-Code it self, so what exactly the gbrl software talk to arduino. or maybe about what your sketch doing like math.h etc

    • @dherrendoerfer
      @dherrendoerfer  8 лет назад

      +Arief Adha Hi, you mean like G-Code itself, or the line drawing algorithms and such ?

    • @ZuNunchaku
      @ZuNunchaku 8 лет назад

      yup, something like that, like motor delay when go to some coordinate it must end with same time, so the delay has to be manipulate right. have you?

  • @petertalbot2845
    @petertalbot2845 9 лет назад

    This has been a great start into cnc for me. a friend has been kind enough to print your stl version out for me but has had some scale issues .But fingers crossed he can resolve them.
    looks like you have some issues with the code reader as some times it hangs and you have to close it and restart to get things going again.
    I have a few questions below
    1) Is it possible to do a step by step of the rest of the software using slides just so I can get going ,until you can do a video? As I sort of have your GUI working.
    2) Could GrBL use these files?
    3) Could you generate a test .NC file that uses three steppers? just so I can prove my electronics will be using a servo on the final version though.
    4) Is there a way of putting g code direct into you software .?
    5) I know you can move each motor using x+- and y +- but cannot get z+- to work any ideas?
    sorry for so many questions but I really am not an electronics or programming master I just dabble with some radio bits and arduino has been my first real stab at programming.
    I got a VFO working using arduino and now have decide to plot my pcb's and using your project is my first major step.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      1: I'm currently looking into the issues with the software and will make the video when it's ok.
      2: Yes, I think so, it's plain g-code.
      3 and 5: The way the controller uses Z is determined by motorMode=? 0 for 3 steppers, 1 for 2 steppers and a servo. G-Code and control software do not see a difference.
      4: Huh ?
      Judging from your questions you'll get it running fine -

    • @petertalbot2845
      @petertalbot2845 9 лет назад

      4)A line at a time entry that can be executed by a pressing return .
      Motor mode 0 does not let me move Y motor .can you confirm pins 19 18 17 and 16 is the Y axis.

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      X:
      Stepper myStepper1(8,10,9,11);
      Y:
      Stepper myStepper2(4,6,5,7);
      Z:
      Stepper myStepper3(18,19,17,16);
      4: Have you tried the Arduino serial console, you can use that to input single lines of g-code to test.

    • @petertalbot2845
      @petertalbot2845 9 лет назад

      No didnt know that .ok will try sending code direct to z motor but i still think its not responding to your code.
      Is there any reason they typed in that order?

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      No, but did you read the readme file ? It is in the code, like it is in the readme.txt.

  • @vamosamorir
    @vamosamorir 9 лет назад

    Hi Dirk, I have a question. Can I place a L293D instead of ULN2003 with bipolar stepper motors? Does the software work?

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад +1

      +MakerTronica No, the software (so far) has no support for using L293D drivers, but that would be easy to add, maybe you want to take a look at the v4 board that uses drivers from 3D printers, they have better resolution, are bipolar, and have enable/disable supported.

  • @rawux1228
    @rawux1228 7 лет назад

    Another question. How you deal with 28byj gear slack? Because if i move motor shaft by hand I can feel a bit of free movement witch is because motor has a reduction gears. Is there any settings where you can change to avoid this?

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      If you need a firmware with backlash-elimination support you need to use those from the beta folder.

  • @simonjensen5350
    @simonjensen5350 10 лет назад

    Hello wery nice work you are doing.. I can`t find the PDF dokumentation for the unipolar stepper motor controller only the bipolare one... Please help as i am going to use the 5 volt motors for at school projekt...
    Kind regards
    Simon Jensen
    Denmark

    • @simonjensen5350
      @simonjensen5350 10 лет назад

      I`ve got it working... Tanks a lot sir... Just needed a Gcode sender for windows, found one hear github.com/OttoHermansson/GcodeSender/downloads and i just drive the 5v steppers of the ULN2003APG on the driver boards delivered white the steppers until i get the other board plotted.. Now i just need to print and build the plotter.. Tanks for the video and tanks a lot for sharing your nice work..... Next will be to mount a drill to finish the work in one combo machine..
      Kind regards
      Simon Jensen

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Simon Jensen Congratulations ! Thank you very much for posting your success - It is that, what makes it worth the effort.

    • @simonjensen5350
      @simonjensen5350 10 лет назад

      Would you please share the dimensions of the 5mm rods for the X&Y axes, to get it working withe minimum of reconfiguration
      Just one more thing, what pen and what size of pen...
      Kind regards
      Simon Jensen

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Simon Jensen Dimensions up to 25cm are no problem, even if you add the carriage length to that.
      The pen is a STAEDTLER LUMOCOLOR Permanent S (0.4mm)

    • @simonjensen5350
      @simonjensen5350 10 лет назад

      Dirk Herrendoerfer Tanks you very much Sir. I have made one out of old printer parts today, but whit the same cheap 5v unipolar steppers, until the 3d printed parts are all done. How do I change the factor for the motor shaft or pulley diameter, like 9mm insted of 6mm, du you have a formular? I plotted my first print board to day, but it were twice the size almost,(10,7 cm) i know it only 50%, i tjeked the pulleys and they are more like 9mm... It plotted okay,I only had a 1mm pen, and it plotted quit quickly.
      Kind regards
      Simon

  • @rawux1228
    @rawux1228 7 лет назад

    How to invert stepper direction? Seems grbl can't change it even if I select "invert y axis" in options. Just change pins or add minus somewhere in software?

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      The firmware honors the signage of the stepsPerMillimeter setting, if you need it to go the other way just use a negative value.

  • @sanjay706
    @sanjay706 7 лет назад

    what is the ic that u used to control the stepper mpto

  • @Maik_cnc_ru
    @Maik_cnc_ru 9 лет назад

    А на биполярных ШД возможность есть выполнить с вашей ULN2004A ?

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      No, ULN2004s only work for unipolar Stepeprs.

    • @Maik_cnc_ru
      @Maik_cnc_ru 9 лет назад

      То есть никак понятно - значит придётся собирать на своей L293DNE

    • @Maik_cnc_ru
      @Maik_cnc_ru 9 лет назад

      Здравствуйте ! Могли бы вы мне уделить минуточку вашего времени ! Я запрограммировал Atmega8 с прошивкой с этого сайта ecnc.ru/download и воспользовался ихней программой - Последняя версия 1.0.18 . Но не могу Atmega8 подключить к компьютеру через USB на прямую . Могли бы вы мне чем нибудь помочь ? У меня есть самодельный radioaktiv.ru/shems/digital/pc/135-publ_74.html но я его не могу настроить подключаю rx tx никаких риакций !

  • @4Apone
    @4Apone 10 лет назад

    Hello:-)
    I filled out the uCNC _controller_v4,
    I tried in every way I could think of, but after you have completed and put the program in my Arduino UNO, I can not do anything to move, I'm using two Easydriver, connected to, say X step pin 10 pin 11,
    Y step dir pin 8 pin 9, servo signal pin12, he says Kquando I send G1 x10,
    but does not move anything, not even the servo moves with Z 10, I can not
    find the problem: - ((((((. can you help me?
    The best regards.

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Did you pull down the ENAble bit on the driver boards ?

    • @4Apone
      @4Apone 10 лет назад

      Yes, EasyDriver have enable pin.

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Valter Bartolini And it is connected to ground, or pin 6 (I think)

  • @4Apone
    @4Apone 10 лет назад

    HI:-)
    just one question, how to generate the gcode?
    The best regards:-)

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      I use the hp2xx command line tool to make the g-code from hpgl positives.
      I output from eagle to hpgl, then use hp2xx on a linux machine to get g-code. Depending on the
      CNC I use I need to modify the pen/tool height for tool-up and down.
      Look here: Direct ink to PCB CNC-Plotter pt. 2 at about 0:40

    • @4Apone
      @4Apone 10 лет назад

      OK,:-))
      thanks for your reply, I have already built xy
      I would like to send a photo of the work, but I know how:-)).
      The best regards.

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад

      Valter Bartolini Congratulations. Use google+ or the send message function in RUclips.

  • @navaneethkrishnan3827
    @navaneethkrishnan3827 7 лет назад

    pcb layout or circuit diagram please????
    im doing this project....help

    • @dherrendoerfer
      @dherrendoerfer  7 лет назад

      There's a link in the description of this video, in the Extras section you'll find what you are looking for.

    • @navaneethkrishnan3827
      @navaneethkrishnan3827 7 лет назад

      Thankyou sir....

  • @shinaskhan123
    @shinaskhan123 10 лет назад +1

    Hi friend Great work keep making. The link address is not found in github. can you please help?

    • @dherrendoerfer
      @dherrendoerfer  10 лет назад +1

      Thanks for the info. I fixed the link so it works now,

    • @shinaskhan123
      @shinaskhan123 10 лет назад

      Dirk Herrendoerfer yes now it's work. thank you verrymuch friend

  • @fernandonunes8647
    @fernandonunes8647 9 лет назад

    which output is used the servo of the pen ?

    • @dherrendoerfer
      @dherrendoerfer  9 лет назад

      Fernando Nunes Pin D12 from the Arduino, 5V from external supply.