R2-Net library for Arduino Boards

In this section of the web I am going to tell you how to use the R2-Net library so that you can implement it in your projects and command R2-Net devices from your hardware application.

For this example I have used an Arduino Mega and an RS-485 transceiver through which we will communicate the R2-Net protocol. The Arduino Mega will send telegrams to the connected devices in the protocol format.

The wiring diagram is as follows:


In each of the examples below are the codes to act on the devices. The following are available:

  • Holo-Projectors (up to 3 units)
  • Teeces lights
  • Periscope
  • Servo-controller’s (up 48 servos)