WayOutWest wrote:as a first step towards replacing the TinyG entirely
Adam, why are you so unhappy with TinyG and which controller do you suggest to use instead?
I must admit that I like the TinyG:
I have been working with a lot of other controllers and firmware in the past, mostly in the field of 3D printing and small CNC mills. Frankly, most of them totally sucked. Poorly written code, terrible error handling, questionable electronic design and similar problems - worst of all were the ones in factory made professional" 3D printers... Ever tried to debug Marlin or Repetier?
Compared to that, TinyG just worked like a charm
Best thing about TinyG firmware is their algorithm to compute and control acceleration and deceleration in a way which makes movements very smooth and significantly reduces wear and tear while improving positioning accuracy at high speeds. The only other affordable controller I know that does something similar is Smoothieboard, which I did not have a chance to try out yet.
I wished Synthetos had a exposed a few more digital and analogue pins of the MCU for special purposes, but other than that the hardware is nicely designed and produced.
I think the JSON protocol is a huge improvement over normal G-codes, especially as it allow for continues feedbacks and bi-directional event reporting. From my experience, the error handling is not bad. TinyG never just "crashed" on me, there are situations in which it goes into an exception state though - indicated by a red blinking light - which is OK for presumably unrecoverable errors.
Your specific problem here seems to be in LitePlacer host software and not TinyG. LitePlacer software still has some bugs. I also agree that exception handling and TinyG communication needs to be improved in the host software - but I can accept that LitePlacer software is at an early stage and expect that things like these will improve over time. With the help of some other user's contributions, big advancements have already been made within the last months.
If you are brave enough to try a beta, download and install Reza's mod (commonly referred to as LitePlacer Ver2) from the link in this post:
http://liteplacer.com/phpBB/viewtopic.p ... rt=30#p606
Calibration functions have much improved in this version compared to Juha's original software. Needle height, PCB thickness and backoff calibration are now three distinct routines which IMHO yield better results and are easier to use.
Make sure to set your machine size (max machine) on "calibration & locations" tab after first start - and calibrate needle height first, then backoff and PCB thickness (order of buttons is not intuitive yet).
You can have original LitePlacer and Ver2 installed simultaneously, so you can switch back and forth. However, I think that long term the Ver2 will be the one to use and Juha as already said he was to maintain it going forward.