grblHAL / STM32F4xx

grblHAL driver for ST STM32F4xx (Nucleo-64, Blackpill)
Other
93 stars 86 forks source link

PC interface #76

Closed osmargarnica closed 1 year ago

osmargarnica commented 2 years ago

Hello Guys. Working on a STM32f411CEU6 (blackpill) board with grbl hal. Does this board has ethernet interface capabilities? Is possible to do so? Saw some GRBl firmwares that connect ehternet via SPI. Will an UART to ethernet converter work for this purpose? Thanks.

hankecnc commented 2 years ago

F4 does not seem to have its own Ethernet, it needs W5500 module, This version of grbl has implementation https://github.com/Schildkroet/GRBL-Advanced

But why don't you use ESP32 grbl? You can use esp32 wifi to connect your router, you can use ioSender written by terjeio for ethernet control, I tried it and it worked

terjeio commented 2 years ago

The simplest road to network connectivity (wifi) is to use a Wemos D1 (or similar module). I do not know if there are UART based modules available providing a wired connection. A W5500 module will require driver code for the SPI interface and the higher level networking protocols as the current networking plugin protocols are layered on top of the raw lwIP interface.

F4 does not seem to have its own Ethernet, it needs W5500 module,

AFAIK the F411 does not have an on-chip ethernet peripheral, however the F446 (and some other variants?) has.

osmargarnica commented 2 years ago

I was thinking about this module: https://www.wiznet.io/product-item/wiz750sr/ It can be easily configured with their tool.

terjeio commented 2 years ago

Ok, the WIZ750SR-TTL module is what you want.

osmargarnica commented 2 years ago

Ok. Thank you very much, I`ll give it a try.

terjeio commented 1 year ago

The STM32F4xx driver has gotten support for W5100S (untested) and W5500 breakouts. SPI pins has to be defined in the map file for it to work - like in this map.