Installing LibrariesInstalling the libraries for the Arduino is very straight forward. When you install the Arduino IDE, a folder named Arduino is created. On Linux, this will be in the home directory, on Windows, this will be in the Documents folder (you might have to run the Arduino software once for this folder to be created). This should have a sub-directory called libraries. If the directory doesn’t exist, create it.
Extract the Downloaded T-Bot software into your directory of choice. Locate and extract TbotLibraries.zip. Copy the contents of the extracted folder directly into the libraries folder (Don't copy the TbotLibraries folder itself).
- Load a '.ino' file into Arduino IDE (for example, if you want set the name of your T-Bot, load BluetoothChangeName.ino)
- Select Tools->Board->Arduino Nano
- On Windows Select Tools->Processor->ATmega328P (Old Bootloader)
- On Linux Select Tools->Processor->ATmega328P
- Click on the Upload Button
If you encounter a permissions issue, you can follow these steps:
- Create the file: /etc/udev/rules.d/usb.rules
- Edit the file using your favourite editor and sudo to include the following:
- Restart your computer
Now you can go to Step 3 - Setting up bluetooth module