Page 6 of 7

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Fri Dec 04, 2015 6:53 pm
by lordmundi
I agree 110% with cowtheory.

The good news is that jsfiddle already supports versioning of all of the widgets and pieces of code that John is using in Chilipeppr, so one way the versioning thing could work is to have some sort of manifest for what versions of what are being used and have that manifest go with each signed in user. There could be a little notification that shows which items have updates available and let the user choose when to apply the upgrades. This I think could be a huge factor in who uses Chilipeppr.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Thu Dec 24, 2015 8:13 pm
by clynad
@reprobubbles

have a look at goko cnc controller developed by forum member PsyKo, i dont own a machine to give an insightful review but it appeares to run locally on your pc.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Tue Jan 05, 2016 1:29 pm
by aidenwolf
I'm about to swap my electronics to TinyG (I had too many reliability issues with the CNC shield/Arduino/Pololu drivers combo), but was wondering if you already have the GCode can I send it to the TinyG without using Chillipepper?
I.e. using the Universal GCode Sender? Looking at Chillipepper it looks like it creates GCode for you, but I already have this so can skip that step.
I have internet in my garage, but it is very slow and I wouldn't rely on it working for a long Shapeoko job, and the offline Chillipepper looks complicated to setup.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Tue Jan 05, 2016 1:57 pm
by cmcgrath5035
aidenwolf wrote:I'm about to swap my electronics to TinyG (I had too many reliability issues with the CNC shield/Arduino/Pololu drivers combo), but was wondering if you already have the GCode can I send it to the TinyG without using Chillipepper?
I.e. using the Universal GCode Sender? Looking at Chillipepper it looks like it creates GCode for you, but I already have this so can skip that step.
I have internet in my garage, but it is very slow and I wouldn't rely on it working for a long Shapeoko job, and the offline Chillipepper looks complicated to setup.
I'm not sure I would say that Chillipeppr "creates" any Gcode, but it does provide an array of static and dynamic modification options (such as speed up, slow down, auto-leveling).
It is true that, via a widget, one can directly import popular PCB CAD designs for conversion to Gcode and there are macro capabilities to support functions such as hole machining, which does not have native tinyG support, and tool change.
UGS is a valid option as well for tinyG if all you need to do is send a mature Gcode file.
Study the tinyG Gcode support wiki here: https://github.com/synthetos/TinyG/wiki/Gcode-Support

A fundamental difference between Chillipeppr and UGS is buffer management for the data flow between the computer and tinyG.
UGS depends on data link management (XonXoff, RTS/CTS) while Chilipeppr implements application level management by monitoring the tinyG status report stream and reacting more efficiently to optimize the flow of Gcode and control messages into the tinyG motion planning system.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Tue Jan 05, 2016 2:11 pm
by aidenwolf
Thanks for the reply cmgrath5035. The fundamental difference you mention about the data link management, would this improve the reliability over the UGS software?

The reason I moved to TinyG over the CNCshield/Arduino setup was because I liked the all in one electronics and hoped would improve my reliability issues. (which were occasional missed steps in different axis at different times, and then would be OK if I reset the electronics or restarted the UGS software - I can't rule out the USB connection between my laptop and CNC shield being a factor though...)

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Tue Jan 05, 2016 5:00 pm
by cvoinescu
The software will not improve the reliability of the USB link -- that's a hardware problem. What @cmcgrath5035 said was that ChiliPeppr used the link more efficiently, not that it was more reliable. If you have USB drops due to noise or a bad cable, you'll probably have them with the TinyG too. (It sounds that you have a different issue, though.)

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Tue Jan 05, 2016 10:26 pm
by cmcgrath5035
I agree with cvoinescu, using the classical definition of link reliability, Gcode delivered by CP will suffer from USB link physical lack of reliability, there is no error detection and re-transmission as you have with TCP/IP.

However, a side product of the buffer management mechanism implemented by CP results in a real time display of what Gcode block (line) is executing (or waiting to be executed). If the delivery process hangs or dies, you will know exactly where.
Some folks, with careful manipulation, are able to restart execution after unexpected stoppages.

A benefit of the CP architecture is that the SPJS application, the web to USB interface, can in close physical and electrical proximity, for example SPJS can be run on a RaspbPi powered from the same supply as the tinyG and a short USB link away.
The transmission from the CP web application (GUI) to the SPJS is a reliable TCP/IP link.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Wed Jan 06, 2016 7:31 am
by aidenwolf
Ok thanks for the info guys, so in short TinyG probably won't help my reliability issues, and it won't matter too much whether I use CP or UGS to send my Gcode to it.

I'm going to do a service on my Shapeoko and check all the belts, tighten all the bolts and check the wiring and V-wheels this week before the TinyG arrives.
I also plan to make a better cooling system for the Tiny G. I had a 4" fan above my current electronics and 2 smaller 2" fans along side (with heat-sinks on the drivers), but with the Tiny G I'll try to add another 4" fan underneath.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Wed Jan 06, 2016 11:50 am
by cmcgrath5035
You see a lot of folks implementing 90mm fans blowing up on the bottom of tinyG, which is a good solution.
The driver devices are well connected thermally to the PCB bottom layer, which is 2oz copper and makes a good heat spreader.
The tinyG board then keeps your fingers and stuff out of the fan :) .
The top layer copper is also connected (by thru hole vias), so it participates as well.
Do a 'finger test' on the driver devices while operating, if you can maintain finger contact, you are in good shape.

Re: How to run ChiliPepr w/o internet (was Re: Software)

Posted: Thu Jan 07, 2016 11:13 am
by aidenwolf
Yes I will cool the hell out of it! Should be arriving today at last.

Just a quick one, I've been looking at GRBLGRU and it looks very good software for the TinyG, is it as good as Chillipeppr?