This is an older post about setting up a CNC Shield, but I have edited it since the title and description were misleading. The comments here are EXTREMELY HELPFUL for setting up a CNC shield v4 board. They include code for testing if your stepper motors are correctly connected, the pinout, and pin numbering for Arduino IDE.
The kit you should buy if you would like to follow this tutorial can be bought here: https://www.aliexpress.us/item/2251832035811475.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.10.3fe9i0iWi0iW2v&gps-id=pcDetailTopMoreOtherSeller&scm=1007.40196.366991.0&scm_id=1007.40196.366991.0&scm-url=1007.40196.366991.0&pvid=5c83e78e-97fb-48de-a5c7-35db0da5b120&_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40196.366991.0,pvid:5c83e78e-97fb-48de-a5c7-35db0da5b120,tpp_buckets:668%232846%238111%231996&pdp_ext_f=%7B%22order%22%3A%2210%22%2C%22eval%22%3A%221%22%2C%22sceneId%22%3A%2230050%22%7D&pdp_npi=4%40dis%21USD%2119.99%2119.99%21%21%2119.99%2119.99%21%402103010e17397411430922198e1202%2155305829959%21rec%21US%216242698492%21X&utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A. This may be more expensive then the $2 "cloned" boards, but it is entirely worth it. The cloned boards have many problems that require cutting PCB and soldering to fix. To find out more about this, look up "Fix Cloned CNC Shield" and an instructable should show up. The expensive Keyestudio kits work right out of the box, and come with 3 stepper drivers. If you would like more help, please ask in the thread.
I have it working (in breadboard mode) with a CNC V4. Pins for my V4 are in the image below.
Micro steps will depend on jumpers on the V4. Had an issue with the steppers and how they are wired with the flat cable that came with them. Had to swap some pins. Easy to check what pairs to use by shorting stepper pins together to find the ones that cause the stepper to 'turn hard' by hand. direction can be changed by swapping the connector on the board around.
No on GRBL. You will overwrite what might be on the nano.
the code above has the switch connected to A3 (and ground) I had a 3 wire patch cable connected to the switch and use 2 of the connectors to connect to the V4.
be aware V4 boards are not all the same. I ended up with this one
Free Shipping! New! Keyestudio Cnc Shield V4 +3pcs A4988 Driver+ Nano Ch340 For Arduino Cnc - Integrated Circuits - AliExpress
I'll get some pics later.
I bought another CNC shield thinking that was the issue but it didn’t make a difference. I ended up burning thru 5 drivers. Is it possible that the drivers can burn out if there is too much resistance from a motor that gets jammed?
I have a couple of questions, first where do I place the 3d clippy servo on the CNC Shield v4 and what orientation do I do for it. Another question is what size of servo should I use for a modified 3d clippy, https://www.printables.com/model/778707-3dclippy-generic-filament-cutter I personally have modified it for my printer and circumstances. My last question is my Cam broke and I printed a new one and now every time I select one T0 it pulls T1. I only have 3 filaments so I don't know if T2 and T3 are also doing that. I have modified the code to help a little but it still does it.
Thanks.
Hello Liam,
I remember a wise man once told me NEVER PLUG POWER IN WITH THE STEPPERS MOTORS UNPLUG if you do the drivers/board may SMOKE ! Can't rember who that was Oh that was YOU ! LOL 😺🐈
Hello Liam,
Sounds to me like he fried something as the only problem I had was the BAD TEST CODE everything worked rite out of the box
Thank You 😺🐈
Hello Liam,
Didn't mean to step on your toes just tried to help sounds like you know this person so I will let you deal with it Thanks again for all your help with my problems.
Thank You 😺🐈
I swapped around cables and motors. I’ll try and send a video when I work on it again
Hello Ace6879,
On the one that works try swaping your stepper motor cables and see if the one that works still works. Sometimes stepper cables are not as they seem and are configured wrong.
Thank You
Hello Ace6879,
Can you send a picture of your setup (board) ? If your useing the keyestudio board you don't need to move any jumpers.it just works out of the box.
Thank You
Yes I switched drivers around and same issue. I tested each motor individually so I don’t think they are the issue and all the drivers work. What about the jumpers under the drivers? I’m not sure what they do
Hello Ace6879,
Did you swap drivers on the board and so did the problem fallow ?
Thank You
Have you ever had an issue where only one motor will work even tho both are connected? I’ve swapped things around and used the test code also. I ordered another board just incase that’s the issue.
Hello Liam,
Here are a couple of pictures.
Thank You Again For All Your Help. 😺🐈
Hello Liam,
Well to answer your question all 3 have been programed and all 3 screens say (3D Chameleon Mk4, Ready ....)
Thank You 😺🐈
Hello Liam.
I never did ask which printer do you have your chameleon installed on ?
Thank You
Hello Liam,
Haven't set it up yet need to figure this gcode thing out I use Cura have never used Prusa I guess that Chris is useing in his Chameleon Part 3
Thank You 😺🐈
Hello Liam,
Thank you so very much for all your help. 😺😺😺😺😺🐈
Hello Liam,
You never did say is this the correct program (SelectorFirmwareMk4.ino) ?
Thank You
Hello Liam,
You are the man works Great !!!!!!!!! Thank You Thank You 😺😺😺😺😺😺😺😺🐈
Thank You
Hello Liam,
Which Program (SelectorFirmwareMk4.ino) ?
Thank You