Marlin Surface scanning on a Delta 3D printer - help

Ohh I see, yes ofc, I’ve made sure to use 1.5mm2 wire, properly crimping it at the end etc. dw I wont try to power the psu with some 30awg wire lol

Made some PC cables last year and was trying to figure out how to get the thinnest crosssection wire without burning everything, almost went down to 22awg but decided It wasnt worth the risk.

Noted for the psu rails, so just two wires to the 11A inlet of the ramps would be good right?
No need for two directions on the spindle, it will translate to linear motion anyways!
Power rating as in amps? If so no clue, will need to ask the manufacturer, 0 documentation on the motor…
Is it possible to do the 24v and 6v rails thing?

Forget the neopixel then, id rather make my own ring light anyways so ill go with these mounted on a 3d printed ring basically, this way it will be exactly as i want it to be

EDIT 1: Planning to add a small peristaltic pump too actually

Man it sound’s like your building a torture device or something :rofl: :rofl:

So let’s see…

If you account for the 3 stepper drivers you’ll be powering up (that will draw no more than 1 to 1.2A each and not all the time) you can see that your safe.

Well yes…look at the schematics for RAMPS

You can see here that the heated bed has a separate power connection.

EDIT: from that same schematic you can also see that the rest of the board is powered by the 12V rail (rail 1). That is the steppers and the heaters 1 and 2.

By the way just an advice if in the future you plan to reuse this board on a 3D printer. Replace that green power connector you see in the picture by a better one. That slide connection is pretty crappy and is one of the main causes of fires on these boards. For your current application is just fine since this is all low current stuff. Mine melted and almost got on fire good thing I noticed on time.

EDIT2:By the way in what type of laser/power did you cut your piezzo discs?

:thinking: :sweat_smile:

perfect!

ok cool i see, which means that it will be limited to 6V/or ranging from 4 to 7V lets say through software? or do i need to change some components?

any info on which one? saw that it can cause a mess on some other posts…
itd be good to change it now and forget about it

150W KERN Optiflex CO2 laser, obviously at work as that machine is about as big as my room, without considering the cost…loool. Cut it at about 80% power, 0.7in/sec, fast and easy, centering it was the hardest part. If you’re interested and dont have access to a similar machine I can send you a couple :slight_smile: least i could do!

EDIT 1: I just figured how to do comments/replies :joy:

It’s the same thing with the 3D printed. What the firmware does (Grbl, Marlin, µCNC, whatever…) does is send a PWM signal to that power transistor. A PWM is nothing more than a square wave signal with a duty-cycle %timeON-%timeOFF. It’s like flicking a switch on and off several times per second. On average (the motor, heater, etc…) your load will “feel” an equivalent voltage/current that is proportional to that duty-cycle. In the case of 3D printers there is other stuff going on as well since there is a feedback signal (measured temperature) and a PID controller (proportional integral derivative) adjusts that PWM automatically so it will keep the temp steady…in a simplistic way of putting things.
Again Electroboom is your friend and makes you laugh

EDIT: I just realize I kind of made the the answer unnecessarily complicated :rofl: :rofl:.
Power the rail with 6V and the software can adjust the output from 0V to 6V in a even more simplistic way…Again remember this is on average.

2 Likes

Good to know the technical aspect of it too!!
Will watch more of electrobooms videos!

I’ve had good luck finding 12V dumb LEDs (in ring format or not) by looking at auto parts. They make a few in different sizes and styles. Same with lighted switches.

https://www.amazon.com/EverBright-Cotton-Lights-Headlight-Housing/dp/B07WHY1DWM

2 Likes

Indeed! Researched some yesterday! Angel eyes are sick and inexpensive, but unfortunately hard to find below 60mm, I was looking for something between 30 and 45 outer diameter for this end effector, as the 60mm small angel eyes are bigger than my end effector plate, and wouldn’t look so clean as well as lighting up more around than on the “nozzle”. With a custom ring ill be able to also angle the leds to my liking, so they can aim closer to the “nozzle”!
Anyways ill be keeping an eye out for them in future projects, good call!

Got two of these, they seem to be within spec! 13.5A, 400V, 1.5mm2 wire.

Sorry forgot to answer that question. Those will do fine. On my board I just replace by similar connectors to those blue ones. The wire hole is not that big but any thing is better than those sliding green ones.
This is a similar example of what happened in my board.

photo

Damn, weird they still use those connectors knowing theyre so bad…

1 Like

image

!!! Its connected !!!

2 Likes

Tried the switches but I dont see anything happening, no alarm or anything in communications…hmm

EDIT1: Restarted the mega just in case but made no difference

Also the GRBL Settings arent labelled for some reason, annoying bug i assume


Here is the lasercut piezo, 35mm overall diameter, 16mm hole diameter

The non labeled grbl setting are extra setting that don’t exist in grbl. Remember most softwares are made around grbl. It’s no bug.

EDIT:about the button issue. Try this. Unplug one of the buttons and check if anything happens please.

By the way. Judging by the photo I think you are powering the wrong rail.

Cant notice anything, maybe wrong wiring? but i doubt it, triple checked

Isnt that the 11A rail? Powering the closest one to the blue connectors

That one is for the bed alone. The other is for the steppers and heater.

Ah ok :sweat_smile: changing it now

And I’m rechecking the configuration. I may have assigned the wrong limit switch pins. Let me look at this.

EDIT: Yup I messed limit X (it’s in X+ and not X-) and did not enabled pullups.
Do this:
Navigate to the source folder to uCNC/hal/boards/avr and open boardmap_ramps14.h and replace this peace of code:

//Setup limit pins
#define LIMIT_Z_BIT 3  //assigns LIMIT_Z pin
#define LIMIT_Y_BIT 1  //assigns LIMIT_Y pin
#define LIMIT_X_BIT 5  //assigns LIMIT_X pin
#define LIMIT_Z_PORT D //assigns LIMIT_Z port
#define LIMIT_Y_PORT J //assigns LIMIT_Y port
#define LIMIT_X_PORT E //assigns LIMIT_X port
#define LIMIT_Z_ISR -4 //assigns LIMIT_Z ISR
#define LIMIT_Y_ISR 1  //assigns LIMIT_Y ISR
#define LIMIT_X_ISR -6 //assigns LIMIT_X ISR

//Active limits switch weak pull-ups
//#define LIMIT_X_PULLUP
//#define LIMIT_Y_PULLUP
//#define LIMIT_Z_PULLUP

by this one

//Setup limit pins
#define LIMIT_Z_BIT 3  //assigns LIMIT_Z pin
#define LIMIT_Y_BIT 1  //assigns LIMIT_Y pin
#define LIMIT_X_BIT 4  //assigns LIMIT_X pin
#define LIMIT_Z_PORT D //assigns LIMIT_Z port
#define LIMIT_Y_PORT J //assigns LIMIT_Y port
#define LIMIT_X_PORT E //assigns LIMIT_X port
#define LIMIT_Z_ISR -4 //assigns LIMIT_Z ISR
#define LIMIT_Y_ISR 1  //assigns LIMIT_Y ISR
#define LIMIT_X_ISR -5 //assigns LIMIT_X ISR

//Active limits switch weak pull-ups
#define LIMIT_X_PULLUP
#define LIMIT_Y_PULLUP
#define LIMIT_Z_PULLUP

Just to make sure Arduino IDE does not use any cached objects close it and reopen the uCNC.ino. Recompile and upload

Changed it, saved it, need to recompile and reupload rigt?

Also tested my limit switches, i dont know if its a standard but when the buttom is pressed, the current is cut. I thought it was the opposite, where the button being clicked closed the circuit. Tested it with a nice janky led setup :sweat_smile:

EDIT1: now that I think of it, the Probe you also designed opens the circuit/cuts the current, I guess its always like that, just never noticed