zeevy / grblcontroller

Compact android mobile application for gcode streaming and controlling a cnc machine with grbl firmware
GNU General Public License v3.0
202 stars 71 forks source link

use with OTG #64

Closed wagnerteixeira closed 6 years ago

wagnerteixeira commented 6 years ago

I can not use it with OTG, the phone has support, I have another application where I use it. when I connect the USB OTG cable, the other application asks if I want to initialize it, so I thought it might be doing some kind of blocking and I uninstalled it, still still unsuccessful.

I changed the default connection to USB OTG and it still did not work, I open and close the app and it does not connect to the grbl ... I'm using an arduino UNO R3

zeevy commented 6 years ago

Only few serial chips are supported. CP210X, CDC, FTDI, PL2303, CH34X, CP2130. What is the serial chip on the uno board?

zeevy commented 6 years ago

Also what is the android version?

zeevy commented 6 years ago

If you are using app version 2.1.5. Then there is a bug in that version, which prevents the USB connection

wagnerteixeira commented 6 years ago

andoird version is 7.1.1, app version is 2.2.8, the serial chip I'm trying to identify...

wagnerteixeira commented 6 years ago

my arduino is like this

http://static.cactus.io/img/arduino/arduino-uno-rev3-function-diagram.jpg

zeevy commented 6 years ago

It should work with atmega 16u2, it will pop up a dialog as soon as you connects the device. I am not sure what will be the problem may be the firmware on 16u2 chip is old. I will check and let you know

wagnerteixeira commented 6 years ago

I just tested with another arduino, with different chip and it worked! a dialog box opened for the grbl controller. it may have some configuration on my phone, because it has another application that supports the OTG, I uninstalled it, but when I had it and I connected the arduino with the chip atmega 16u2 would open a dialog for that same application .... android have this arduino in this application..something like this

zeevy commented 6 years ago

May be you need to update the firmware on the 16u2 chip. It seems this application does not have drivers for the firmware on 16u2

wagnerteixeira commented 6 years ago

I updated the 16u2 (I did not even know it was possible) and there it is! it worked!

Thank you very much for the help, thank you very much!

Congratulations for the app, it's very good, great ux / ui

zeevy commented 6 years ago

That a good new, have a good time with your machine.