hello,
I'm working on a little project and wondering if there is anyway to get GRBL to run on ATTINY85?, Thank you
hello,
I'm working on a little project and wondering if there is anyway to get GRBL to run on ATTINY85?, Thank you
I've compiled grbl.h and downloaded to an UNO.
Get hold of the interpreter code and read the header. Likely it's possible.
Does the Tiny have the number of I/O pins needed?
Very limited i/o...
Biggest package is 20 pin of which 12 are "do not connect"!
Grbl will barely fit in the 32K flash memory of an Uno. That makes it far too large for a Tiny85 (8K). So no, grbl will not run on a Tiny85.
What are you wanting to do? Maybe there is an alternative.
Thanks for reply, i need GRBL to control a servo using attiny85.
Well, grbl will not fit in a tiny85 memory so you will have to go a different route.
Do you wish to control a servo with gcode? Can you provide a sample of the gcode?
Can you give us more detail on what you need to do? Perhaps we can find a way to accomplish your requirement.
Yes, i need to control servo with gcode gui
As I understand, there only two ways then - write your own servo control software specifically optimized for the ATTINY85, minimizing memory and resource usage. You can use lower-level programming languages like C or even AVR assembly.
External G-code interpreter: Use a separate microcontroller or computer as a G-code interpreter that communicates with the ATTINY85 and sends control commands for servo movement. In this case, you would need to establish a communication protocol between the ATTINY85 and the G-code interpreter.
What do you mean by a servo? Which particular g code do you want to use? Why use g code?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.