Welcome! Log In Create A New Profile

Advanced

LPC port of RepRapFirmware

Posted by sdavi 
Re: LPC port of RepRapFirmware
February 06, 2021 03:33AM
Quote
MKSA
Quote
svs072477
Hi, you wrote that you wanted to experiment with ESP 32. Is anything working?

What controller board uses this chip ?
[github.com]
The E4 board is a minimal 3D printer control board based on the ESP32 microcontroller from ESPRESSIF, with built-in Wi-Fi and Bluetooth. The controller speed is up to 240MHz, 16M flash.
Re: LPC port of RepRapFirmware
February 13, 2021 12:38AM
Hello,

I was wondering if anyone was able to get the filament sensor working on SKR 1.4T. as per RRF; it should be enabled by M591, however when I try to create the sensor in config.g then issue M591 D0 to show the status of the filament sensor in Drive0 or E0; it says that E0 has no filament sensor.
Then I tried running the setup M591 which I have in config.g from the console & this is what I get: M591: unsuitable pin
this is what I have in config.g :
M591 P7 C"e0stop" S1 L100 E3 D0 A1
Although in RepRapFirmware/src/LPC/Boards/BIQU_SKR.h the "e0stop" is defined to be correctly pin 1.26, not sure why it says unusable.

Is there another way to actually define the pin & use it as filament sensor?

Regards,
Molafa.
Re: LPC port of RepRapFirmware
February 13, 2021 02:12AM
What filament sensor are you trying to add?


Based in Darlington, North East
Re: LPC port of RepRapFirmware
February 13, 2021 10:01AM
Well, I'm just making my own, using an encoder. it should be the pulse generating one.
Re: LPC port of RepRapFirmware
February 13, 2021 10:07AM
in that case, it has to be a pin that starts with 0 or 2. 1.26 won't work as it can't driver interrupts


Based in Darlington, North East
Re: LPC port of RepRapFirmware
February 13, 2021 10:33AM
Okay, how do you suggest I define a pin? as far as I understand the M591 accepts only a pin name for the C parameter.
Can I let's say define "e0det" in board.txt to be e0det= then call in in config.g?
or I could just use the "servo" which is P2_0?
Re: LPC port of RepRapFirmware
February 13, 2021 10:34AM
Just use the servo.
You can use either the name or pi number to refer to it as both are supported


Based in Darlington, North East
Re: LPC port of RepRapFirmware
February 13, 2021 10:40AM
servo didn't work, for some reason it's undefined so I tried "probe"
M591 D0
Pulse-type filament monitor on pin probe, enabled, sensitivity 1.500mm/pulse, allowed movement 60% to 160%, check every 3.0mm, no data received
M591 P7 C"probe" S1 L1.5 E3 D0
Re: LPC port of RepRapFirmware
February 13, 2021 10:41AM
It only receives data during a print


Based in Darlington, North East
Re: LPC port of RepRapFirmware
February 13, 2021 10:41AM
servo says unknown pin
M591 P7 C"servo" S1 L100 E3 D0
Error: M591: Unknown pin name 'servo'
Re: LPC port of RepRapFirmware
February 13, 2021 10:41AM
Its servo0 I think


Based in Darlington, North East
Re: LPC port of RepRapFirmware
February 13, 2021 10:43AM
yes! that worked, servo0 although it didn't say in the BIQU_SKR.h file.

Thanks a million! I guess I can start playing with it.
Re: LPC port of RepRapFirmware
February 13, 2021 10:48AM
Its listed on the wiki.
Teamgloomy.github.io


Based in Darlington, North East
Sorry, only registered users may post in this forum.

Click here to login