[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.845054 [View]
File: 92 KB, 3264x1584, cnc-arduino-relay.jpg [View same] [iqdb] [saucenao] [google]
845054

I've got a weird problem.

I set up an arduino connected to a relay which switches the spindle on my CNC machine on or off. The arduino is connected to the CNC computer (an old shitty one made in 2005ish with around 1GB of RAM) through a USB port. Pretty basic, right?

It's somehow interfering with at least one axis's steppers since I noticed a creaking noise when I told the arduino to switch on the spindle, and on closer inspection I noticed my Z axis creeping up despite EMC2 (machine controller program) telling me all axes were stationary and I was not running anything.

What exactly is going on here and how should I fix it? See pic related for the setup.

I have a better CNC computer on the way so would that help?

Navigation
View posts[+24][+48][+96]