Machine Hardware connections

arduino uno usb connection

Connect Using Usb Otg

If you are using usb-otg connection then setup is very easy. Every Arduino board comes with a inbuilt usb Type-B port. All you need to do is get a usb otg adaptor for your mobile phone and connect the Arduino usb cable to your phone using the usb otg adaptor. Grbl Controller application will detect the Arduino and will bring you the connection prompt immediately.

Supported USB chips are CP210X, CDC, FTDI, PL2303, CH34X and CP2130 SPI-USB

If your Arduino board has Atmega8U2 or Atmega16U2 as serial chip and you are facing issues with usb connection, then you may need to update the firmware on Atmega8U2 or Atmega16U2.

NOTE: It may possible Arduino board will drain power from the connected mobile phone via usb port, it may lead to quick discharge of your mobile phone battery.
Make sure you have fully charged battery and sufficient battery power for the job.
In some cases if your machine has poor electrical wiring, the back emf generated by the motor may get in to the mobile phone via usb cable. You can acknowledge this when you phone touch is not working as expected.


Connect Using Bluetooth

To use Bluetooth connection Grbl firmware and Blutooth device (HC-05, HC-06 etc..) both must be configured to communicate using same baud rate.
If you don't know how to change the baud rate of the Blutooth device then check this Bluetooth Device Setup Guide.

No matter whcih Bluetooth device you are using, you need to connect Tx pin of Bluetooth to Rx pin of Arduino and Rx pin of Bluetooth to Tx pin of Arduino.
In Arduino boards the serial pins are labeled as PIN0 and PIN1.

WARNING: Some Bluetooth module requires +3.3v power and +-3v logic level. If you use one of those, make alternative connections according to that.

arduino bluetooth connection HC-05, HC-06