Port detection is automatic, execute bii arduino:upload
to ‘re-detect’ the board.
If you experience problems changing your port or your arduino board, just execute bii arduino:settings
Execute bii arduino:settings
to define your Arduino SDK, board and port:
$ bii arduino:settings
Enter SDK path (/../biicode_env/arduino-1.0.6): [ENTER]
Enter board (/o list supported options): mega2560
Using arduino port: COM13
Press enter to choose the Arduino SDK path in brackets. To use a different Arduino SDK, write the path where it is located.
bii setup:arduino
.Type your Board model, just make sure it’s compatible with the Arduino SDK v. 1.0.5 and your IDE supports it. This is a list of the boards supported by default, even though any board is welcomed!
uno
: Arduino Unozum
: bq ZUM BT-328yun
: Arduino Yunatmega328
: Arduino Duemilanove w/ ATmega328diecimila
: Arduino Diecimila or Duemilanove w/ ATmega168nano328
: Arduino Nano w/ ATmega328nano
: Arduino Nano w/ ATmega168mega2560
: Arduino Mega 2560 or Mega ADKmega
: Arduino Mega (ATmega1280)leonardo
: Arduino Leonardoesplora
: Arduino Esploramicro
: Arduino Micromini328
: Arduino Mini w/ ATmega328mini
: Arduino Mini w/ ATmega168ethernet
: Arduino Ethernetfio
: Arduino Fiobt328
: Arduino BT w/ ATmega328adbt
: Arduino BT w/ ATmega168LilyPadUSB
: LilyPad Arduino USBlilypad328
: LilyPad Arduino w/ ATmega328lilypad
: LilyPad Arduino w/ ATmega168pro5v328
: Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328pro5v
: Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega168pro328
: Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328pro
: Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168atmega168
: Arduino NG or older w/ ATmega168atmega8
: Arduino NG or older w/ ATmega8robotControl
: Arduino Robot ControlrobotMotor
: Arduino Robot Motor
Biicode automatically detects the USB port your Arduino board is connected. Manual USB Port configuration varies from one operating system to another, so look for your USB port and then type it on the command line after executing bii arduino:settings
:
Linux/Unix
For Linux/Unix type
ls /dev/ttyUSB*
orls /dev/ttyACM*
into a terminal window. You should see a device called like these:
/dev/ttyUSBX
/dev/ttyACMX
Where
/dev/ttyACMX
is for the new Uno and Mega Arduino’s and/dev/ttyUSBX
is for the old ones. X is the device number.MacOS
Under Mac, in the Terminal window, type
ls /dev/cu.*/
which should give you a name like this one:
/dev/cu.usbserialXXX
In which XXX is an unique ID.
Windows
If using Windows, go to the Device Manager and look for an entry under Ports (COM & LPT) that says USB Serial Port (COMX) specifying the serial port name on Windows, in which X is the device number:
COM1
,COM2
, etc.