here is doing a little research, I see that I will not use the 8051 and raspberry pi because it is too complicated
so what I would like to do is to control my CNC with an Arduino without the library GRBL that already exists .. it is to simply write in C language on arduino to control my CNC with atmel studio.
The arduino is ready made... Just buy the board, shield, power suppy.. C code is written and well tested.. I have been using it for years.
I hook it up to a PC and send the Gcode to the Arduino.... Very simple..
well, I found a person who wrote a program (Arduino) who interprets the g-code and drives drives .. So, I'm happy but I'd like to turn this program into C language.
well, I found a person who wrote a program (Arduino) who interprets the g-code and drives drives .. So, I'm happy but I'd like to turn this program into C language.
To begin with real microcontrollers are with optimized hardware for "C", not "C++" not "Python". Transitioning between languages (porting) can be very difficult. Raspberry Pi is not so close to the hardware as it is to operating system programming.
Option:
If you can not transition the programming, put a middle microcontroller -> Firtst MCU interface to -> Second middle MCU with interface to -> What you need.