-
grbl-L-Mega
An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560. Forked from GRBL modified for use on a lathe with spindle sync threading
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The interface between the Teensy and Arduino is actually fairly simple. GRBL already has a built in spindle speed output using the Arduino PWM. The Teensy just reads the analog voltage from the spindle speed pin on the Arduino to set the speed. Similarly the output from the Teensy (the synchronization pulse) is just a digital pulse that gets picked up on the GRBL 'Probe' pin. Full details on the GRBL threading implementation are here. The spindle rpm should be reasonable stable under load since the Teensy is running a PID controller using the input from the encoder to keep the speed stable. This means that it can correct the rotational speed ~20 times per rotation.
Related posts
-
First aluminum project on Sainsmart 3020Pro Max
-
Building a live tool cnc lathe out of an old lathe and an old cnc, any reason it shouldn’t work? Concept is to production turn round items.
-
cancel-token VS cantok - a user suggested alternative
2 projects | 10 Dec 2023 -
asyncio-cancel-token VS cantok - a user suggested alternative
2 projects | 10 Dec 2023 -
trio VS awaits - a user suggested alternative
2 projects | 9 Dec 2023