VivicoreSerial library
|
Library to talk with VIVIWARE Cell Core.
VivicoreSerial library works on ATmega328PB which has 2 UART ports. One is for talking with VIVIWARE Cell Core, another is for flashing and debugging.
The official sketches of VIVIWARE Cell Branch are included as examples code.
The below table shows the corresponding Arduino IDE version VivicoreSerial library requires. Refer to How to setup to install Arduino IDE and configure the board and library manager.
Arduino IDE version | Arduino AVR Boards | VivicoreSerial version managed on Library Manager | LIBRARY_VER_BUILD_NO defined on VivicoreSerialVersion.h | Description |
---|---|---|---|---|
2.0.0 or later | 1.8.2 (Required) | 1.0.0 or later | 0x0005 or later |
|
1.8.12 | 1.8.2 (Included in IDE) | 1.0.0 or later | 0x0005 or later |
|
1.8.7 | 1.6.23 (Included in IDE) | - | 0x0004 or before |
|
VivicoreSerial library depends on Arduino core and libraries, and ATmegaBOOT.
And a part of the official sketches of VIVIWARE Cell Branch included as examples code depends on the following version's library modules. The library modules are neccessary to be installed on library manager or with archived zip file on Github if building examples code.
Module | Lisence and the link to the original |
---|---|
Adafruit_APDS9960 v1.1.4 | BSD-3-Clause |
vl53l0x-arduino v1.0.2 | MIT (pololu), BSD-3-Clause (STMicroelectronics) |
Arduino-LSM6DS3-LSM6DS3TRC v1.0.0 | BSD-3-Clause |
Arduino-misakiUTF16 v1.02a | Free software lisence 本フォントライブラリは、「美咲フォント」と同様にフリー(自由な)ソフトウエアです。 あらゆる改変の有無に関わらず、また商業的な利用であっても、自由にご利用、複製、再配布することができます。 ただし、全て無保証とさせていただきます。 |
Misaki font (included in Arduino-misakiUTF16) | Free software lisence These fonts are free software. Unlimited permission is granted to use, copy, and distribute them, with or without modification, either commercially or noncommercially. THESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY. |
Arduino core and libraries (included in Arduino IDE) | LGPLv2.1 |
ATmegaBOOT (included in board package setup on How to setup) | GPLv2 |
NOTE: The following libraries cannot be found on Library Manager, and need to be installed by zip archive got from the above Github link if you build and upload the examples code depending them.
This instruction describes how to setup Arduino IDE to build VIVIWARE Cell Custom sketch and upload it to the board.
Preferences
of Arduino IDE.https://raw.githubusercontent.com/vivitainc/custom_cell_boards/master/package_viviware_index.json
into Additional Boards Manager URLs
text box, and press OK
button.Tools
> Board:
> Boards Manager...
.arduino
into text box.Arduino AVR Boards
.Install
button. Do not use another version to avoid unexpected built result mismatch.INSTALLED
shown on right side of the version.viviware
into text box.VIVIWARE Cell Custom Boards
.6.3.0
), and press Install
button.INSTALLED
shown on right side of the version.Boards Manager
by pressing Close
button.Sketch
> Include Library
> Manage Libraries...
.Type
of All
or Contributed
, select Topic
of All
or Communication
, and enter VivicoreSerial
into text box, and find VivicoreSerial
library.VivicoreSerial
(e.g. 3.2.0+07010014
), and press Install
button.INSTALLED
shown on right side of the version.Library Manager
by pressing Close
button.VIVIWARE Cell
in the menu Tools
> Board:
.Custom
in the menu Tools
> Version:
.Tools
> Port:
.Upload
button.Refer to README for library developer.