MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.34k stars 19.26k forks source link

[FR] Add Esp32 PCF8575 library #27044

Open hsyngndz85 opened 7 months ago

hsyngndz85 commented 7 months ago

Is your feature request related to a problem? Please describe.

Reading and writing with pcf8575 support and m gcodes for extra input and output

Are you looking for hardware support?

my own card

Describe the feature you want

Extra input output support pcf8575 with M code

Additional context

Library available for PCF8575

hsyngndz85 commented 7 months ago

The command set that this library should have ready is as follows: M64 P0.4 pin open immediately for pin control M65 P0.4 pin close immediately for pin control Pin status wait M66 P0.4 In this way, the command is Linux-CNC compatible, and Marlin provides international Gcode file compatibility, meaning that a Gcode written for Linux-CNC will work without any problems.

hsyngndz85 commented 7 months ago

https://linuxcnc.org/docs/devel/html/gcode/m-code.html A Marlin regulation compatible with these standards should be made so that the 3D Gcode set should now be its own standard. There are conflicts, which causes problems when you want to use Marlin as a CNC lathe. 3D Gcodes should be taken out of the previously determined Linux, CNC and Fanuc standards. If this happens, Marlin will have more power over these two NC systems. makes it like

hsyngndz85 commented 7 months ago

Adding this feature in a healthy way will completely eliminate the pin restriction issue of a wonderful processor like ESP32 and make it extremely flexible. This chip is a 16-bit chip and can be addressed up to 8, which means a total of 128 pins from 8x16 to be used as both input and output is a good enough event.

thisiskeithb commented 7 months ago

@hsyngndz85: It would be really helpful if you could translate your comments to English since that is the primary language used for this project.