positron96 / cnc3018-offline-controller

Open-source firmware for popular cnc3018 stm32-based offline controller
MIT License
63 stars 15 forks source link

Same issue as #5 from vinpinto - Reopen #10

Closed AbidingOhmsLaw closed 2 years ago

AbidingOhmsLaw commented 2 years ago

I am having the same issue with the same offline controller (ST32 based, same as you project photos) and the same CNC board (woodpecker cnc v3.3).

Looking at the schematics for Woodpecker CNC v3.3 it does not look like there is any connection to pin 8 of the offline controller jack

1 - 5v 2 - Gnd 3 - 5v 4 - Gnd 5 - TX 6 - Rst 7 - RX 8 - NC

When I connect the USB to the computer and use Putty to watch the out put I get

Detected GRBL device
GrblDRO::onButton(1,1)
GrblDRO::onButton(1,0)
GrblDRO::onButton(0,1)
GrblDRO::onButton(0,0)
GrblDRO::onButton(5,1)
GrblDRO::onButton(5,0)
GrblDRO::onButton(6,1)
GrblDRO::onButton(6,0)
GrblDRO::onButton(3,1)
GrblDRO::onButton(3,0)
GrblDRO::onButton(2,1)
GrblDRO::onButton(2,0)
 > (f 15,128) ''(len 0) 
 > (f 15,128) 'Grbl 1.1h ['$' for help]'(len 24) 
Msg '[MSG:'$H'|'$X' to unlock]'
 > (f 15,128) '[MSG:'$H'|'$X' to unlock'(len 25) 
GrblDRO::onButton(1,1)
GrblDRO::onButton(1,0)
GrblDRO::onButton(0,1)
GrblDRO::onButton(0,0)
GrblDRO::onButton(5,1)
GrblDRO::onButton(5,0)
GrblDRO::onButton(6,1)
GrblDRO::onButton(6,0)
GrblDRO::onButton(3,1)
GrblDRO::onButton(3,0)
GrblDRO::onButton(2,1)
GrblDRO::onButton(2,0)

Pressing the buttons will show as above but pressing [Exit/Step], selecting Reset (Ctrl-X), and [OK/Spindle] does not show any output on the Putty screen. If I press the reset button on the CNC the I will get the little bit of output shown in the middle (lines that start with > (f 15,128) ) and the display changes to add a line below "x Idle" that says "'$H'|'$X' to unlock" but the buttons and menu selection still do do not produce any output.

I tried connecting a UART directly to the offline controller and when I sent "[VER:1.1f.20170801:]" after I saw "$I" in the terminal window the display will change to the "x Idle" screen but pressing any buttons does not get any output. I tried sending the "[OPT:V,15,128]" and "ok" as well but it did not change the behavior.

Above vinpinto "Thanks man, that got everything solved, I'm still not sure why both states X and padlock are dependent on this, but removing this feature made everything work" Do you know what he removed to make it work? Any other thing I might look at?

Below are pics of the offline controller and CNC board I'm working with. E0666ACE-AD04-4F67-86E6-2C5CF9D1630B F0F32BC2-E9D0-48D2-8DF4-BA02CA7ACFB1 DE4D69C2-4E50-41DF-9B58-B76CE9EC1363

Originally posted by @mppkll in https://github.com/positron96/cnc3018-offline-controller/issues/5#issuecomment-1209792357

AbidingOhmsLaw commented 2 years ago

This was resolved in the original thread.