Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLTouch/3DTouch not responding #29

Open
RemyBaligant opened this issue Sep 8, 2020 · 13 comments
Open

BLTouch/3DTouch not responding #29

RemyBaligant opened this issue Sep 8, 2020 · 13 comments

Comments

@RemyBaligant
Copy link

Hi,

I received a new board from Mellow, everything is working exept the servo out for BL/3DTouch.
The 3DTouch successfully respond on chitu3d controller.
I tried the last marlin release on your github.
Not possible to deploy or stow. The 3Dtouch do is self test at powering up, but after that, it seems it does not received pwm commands.
I've not already plugged the oscilloscope to the servo signal pin, i'll try..

Any other bug reports for 3Dtouch users ?
Thanks. Best Regards

@RemyBaligant
Copy link
Author

I tried two different 3Dtouch, both working on chitu3d and mks robin nano v1.2. No success for now. I tried with 3.3Vdc and 5Vdc power supply for 3Dtouch.

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

The fan pwm conflicts with the servo timer. I have found the problem.

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

You send your firmware source code here, I will send it to you after modification

@RemyBaligant
Copy link
Author

Thanks for support. Here's the zip containing the Marlin i use to test(last release):

https://drive.google.com/file/d/1nRm3v2nWciPvoIQC-2D-wXvdhR386qUE/view?usp=sharing

@RemyBaligant
Copy link
Author

i tested the servo output on a scope. I have 3.3V peak for PWM wich is fine. Probably a timing problem ?

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

image
I disabled PE13 here, which is the fan pin, and PE11 is the servo pin. Disable the fan PWM, the servo can be used normally. So the fan pwm and the servo pwm using the same timer will conflict

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

This is a bug

@RemyBaligant
Copy link
Author

Ok thanks for this fix i try it.
So if i understand well, PE13 is FAN4. This one is totally disabled if servo is used ?
Is it the only fan on the same timer ?
I use fan0 for hotend cooling, fan1 for part cooling and fan5 for steppers cooling(activated when motion detected).

@FLYmaker
Copy link
Collaborator

FLYmaker commented Sep 9, 2020

FAN4 can continue to be used, you can test it

@RemyBaligant
Copy link
Author

https://drive.google.com/file/d/1CP34IeChswxJHbPc4XPduP9-M-xJHSbl/view?usp=sharing

Thanks :) i can start printing test now

@RemyBaligant
Copy link
Author

Deploy and Stow work but when homing 3Dtouch deploy/stow a few times and then stop the printer... I try to add some delay. 300ms is maybe to short for 3dtouch..

@RemyBaligant
Copy link
Author

Ok, G28 is working great now with #define SERVO_DELAY { 750 }.
Problem solved for 3DTouch ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants