Ther are 2 limit switches for each axis I used the y limit just used a normal 2 wire switch on one set of the y limit pins bottom row is ground. I used the 3.5 schematic
I got it to do something! had to use just the number of the D# pins 8 is the enable pin and had to set HIGH to LOW on any extEN or selEN in the code like you said. the selector is pulsing and moving but the ext is not so still working that one out.
Make sure the offline controller is not plugged in, and that your 24 volt power is working and on. if that dont work try and upload sketch again and test.
Well I set the pins and swapped the HIGH and LOW for EN and can't get to energize anything. If I load the factory sketch of the board it works,(so I know it's functional) but when I upload the MK4 sketch it never does anything.
I think the main issue is that we cant load the bootloader, It will upload the sketch to the ATmega328P but not the bootloader. It has a bootloader but I bet its custom. I'm gonna try on an old creality board.
Why are you changing the bootloader? If you can upload the sketch, you have everything you need... The bootloader is what allows the sketch to be uploaded.
The only reason we had a new bootloader was to set our clock speed on our custom boards, but that was because we used to use a slower clock... The modern code (Mk4) should run just fine on any board with the stock bootloader.
The code is well documented and they pin variables are clearly named... selEnable and extEnable. You need to change all instances to match your boards required settings. If you're sharing them, the easiest way is to enable both and just leave them enabled for the entire duration.
As for the trigger, that's dependent on what pin you choose... I have no idea how you're setting it up, so I can't answer that. Pick a pin and set it as the codes trigger pin.
If you're not familiar with Arduino boards and their programming, I highly recommend you buy one of the inexpensive boards and go through their learning courses... that'll help you understand all of this. Adafruit has come great learning content on it, as well as the Arduino foundation themselves. Lastly, you can even learn to program and set them up using Tinkercad without any hardware... all done virtually. It's a pretty cool set up for learning.
ill take a look at the schematic for the board that came with the kit to understand how the trigger was originally setup. i dont know coding at all so i will try to learn.
i have the same board and was also trying to figure out the pins. i cant seem to find the enable pins either and i know A5 is the prob pins for homing on the router but thats only 2 wires and i know the end stop sensor has 3 wires
Technically, you only need the Ground and the Signal (green) pin... you're setting it to an output (which sends a voltage out) which you pull to ground with the switch. The power wire going to the switch is only there to illuminate the red led when you press the button and has nothing to do with the signal.
Try this Ext on Z-motor and Sel on Y-motor
I got it to do something! had to use just the number of the D# pins 8 is the enable pin and had to set HIGH to LOW on any extEN or selEN in the code like you said. the selector is pulsing and moving but the ext is not so still working that one out.
Well I set the pins and swapped the HIGH and LOW for EN and can't get to energize anything. If I load the factory sketch of the board it works,(so I know it's functional) but when I upload the MK4 sketch it never does anything.
I think the main issue is that we cant load the bootloader, It will upload the sketch to the ATmega328P but not the bootloader. It has a bootloader but I bet its custom. I'm gonna try on an old creality board.
So we would need an inverter of some sort or there is a way to swap in the firmware?
The _ over the EN (PB0) pin indicates that it's signal is inverted... so 1 = low, 0 = high. All the other pints, PD2-PD7, are 0 = low, 1 = high.
i have the same board and was also trying to figure out the pins. i cant seem to find the enable pins either and i know A5 is the prob pins for homing on the router but thats only 2 wires and i know the end stop sensor has 3 wires
What's throwing you for a loop? The pins are marked on the schematic... Just type those in as the pins in the firmware. They're all on the PD port.
Bill