EasIno is a library that makes easier the communication between Arduino and other devices (such as PC, Raspberry PI, etc). It defines its own communication protocol, that it is used in all of the communication types available:
- Serial / UART / USART.
This common protocol allows EasIno boards to communicate with different devices regardless of the communication type used, changing only a few lines of code.
The protocol consists on a HEAD
and a TAIL
that indicates the begin and the end of the message and the data separated by ;
As you can see in DataCom, data consists in two variables:
- operation: contains the name of the message that defines its purpose.
- args: array that contains the arguments of the operation. The maximum number of arguments is defined in
ARRAY_LENGTH
at DataCom.
Example of BuiltIn operation VERSION request:
EINO::VERSION;::END
There are some operations with a predefined response, and can not be processed by user.
Returns the EasIno version uploaded in the board.
Request:
EINO::VERSION;::END
Response example:
EINO::VERSION;v1.0.0;;;;;::END
Retrieves PING, proving that communication state is OK.
Request:
EINO::PING;::END
Response example:
EINO::PING;;;;;;::END
EasIno can not only be used as it is, sending and receiving data using the defined protocol but also APIs can be used, which help the user interact with an EasIno embedded board. The currently available APIs are:
Robot tests are performed before launching a new release: repo.
Here you can find some Arduino examples. Visit examples for more.