-
Notifications
You must be signed in to change notification settings - Fork 0
Paletta Hand
Download the Arduino IDE 1.6.12
- Unzip/Install the Arduino IDE on your computer
- Run the Arduino IDE to create the Arduino folders
- Close the Arduino IDE to get ready for the Tools and Library installation
In most versions of Linux, you can just plug your board in via USB and everything will work, but it is very quiet about it, not giving you any notification that the device is ready. There are many ways to check this, the easiest being to open the Arduino IDE and check under Serial Port for ttyUSB0, but we'd like to show you an easy and definitive way you can check in a terminal.
- Open up a terminal window and type:
ls /dev | grep ttyU
This will list the contents of the /dev directory that start with 'ttyU'. Once you hit enter, this command should return:
ttyUSB0
First download the Tools and Libraries ZIP file. In this .zip file, there will be two folders:
- libraries -> this folder contains libraries that will add functionality to your Arduino.
- hardware -> this folder contains the hardware definitions that the Arduino IDE needs to communicate with the ArbotiX-M
To install these files you will move these 2 folders into your 'Arduino' user folder. This is NOT the folder where the Arduino IDE itself is located. This is the path to your 'Arduino' folder.
~/Arduino/
By default, access to the serial and USB ports in Linux is restricted to root and dialout group users. To access your XBee devices and use XCTU to communicate with them, your Linux user must belong to this group. To add your Linux user to the dialout group:
- Open a terminal console and execute this command:
sudo usermod -a -G dialout <user>
where <user>
is the user you want to add to the dialout group.
-
Log out and log in again with your user in the system.
-
Download and install XCTU for Linux X64.
- Remove the XBee module from the ArbotiX-M board
The XBee and the FTDI port share a hardware serial port. This means that you can only have one of these devices connected at a time.
- Plug the FTDI-USB cable as shown in the figure
- Check that the power jumper is in this configuration
This allow you to power the ArbotiX-M from the external power supply
- Plug the external battery to the board
-
Plug the XBee # 2 module
X_PC
to the Xbee USB adapter as shown in the following figure. -
Open a terminal and type
cd /opt/Digi/XCTU-NG
sudo ./XCTU.desktop
Return to Home