Controlling ODrive from an Arduino via CAN
Overview
This page describes how to control an ODrive via CAN using an Arduino and the ODriveArduino library.
The library is compatible with the following setups:
- Arduinos with built-in CAN interfaces that use the native Arduino framework (such as Arduino UNO R4 Minima, Arduino UNO R4 WiFi and others)
- Teensys with built-in CAN interfaces that are compatibly with FlexCAN_T4 (Teensy 4.0, Teensy 4.1)
- Arduino-compatible boards with MCP2515-based CAN shields
This library is primarily intended for runtime usage, such as changing states, sending setpoints and reading position/velocity feedback. While the CAN protocol allows for the modification of any configuration variable, this is often much easier to accomplish in the ODrive GUI or the odrivetool. More information about the underlying protocol can be found here.
Connecting the Arduino to the ODrive
First, connect your Arduino to the ODrive. Below you see an example setup. Your setup may look different depending on your hardware, please see the notes below.
Arduino connected to ODrive S1 via CAN. Click to enlarge.
- The Arduino UNO R4 Minima shown on this picture has a built-in CAN interface but no CAN transceiver. That means we need an external transceiver.
- The CAN transceiver on this picture is a Waveshare SN65HVD230 CAN Board.
- CAN bus ground must be connected to DC- at one single point in the system. On this picture, this is done with a single wire on the ODrive’s second CAN connector. See Hardware Setup for more details.
- If you’re using multiple ODrives you can simply daisy-chain them together.
- When using an ODrive Pro, it must be powered through DC+/- to be able to communicate via CAN.
Configuring the ODrive
Next, configure your ODrive according to your application. The easiest way to do this for the first time is in the Web GUI, either over USB or over CAN using a USB-CAN Adapter.
Note
It is also possible to set up a fresh ODrive using your own scripts, without the GUI, purely via CAN. See Arbitrary Parameter Access for more info.
Connect your ODrive to your PC (via USB or CAN), open the Web GUI and follow the Configuration wizard.
Most settings depend on your hardware so we won’t go into detail here. However there are a few settings specifically needed for this example:
- Control Mode page: Select Filtered Position Control mode with a bandwidth of 100 rad/s.
GUI
odrivetool
python
odrv0.axis0.controller.config.control_mode = ControlMode.POSITION_CONTROL odrv0.axis0.controller.config.input_mode = InputMode.POS_FILTER odrv0.axis0.controller.config.input_filter_bandwidth = 20
- **Interfaces** page: Enable CAN, enable feedback messages and set the Node ID to 0 (or something unique for every ODrive if you have multiple).

- Optionally you can also enable the watchdog (also on the Interfaces page). This will make the ODrive stop when the CAN connection gets disrupted.

When you’re done configuring, go to the Dashboard to verify that you can send position setpoints from the GUI before proceeding with the next steps.
Warning
If you have already enabled CAN and come back to this step to change something, make sure to disable CAN first or disconnect/unpower the Arduino. Otherwise the Arduino sketch might interfer with the GUI.
<a id="installing-the-odrivearduino-library"></a>
## [Installing the ODriveArduino Library](#id5)
1. Open your Arduino IDE.
2. Go to Sketch > Include Library > Manage Libraries.
3. In the Library Manager, type “ODriveArduino” into the search box.
4. Click on the entry for the ODriveArduino library, then click “Install”.
<a id="example-sketch"></a>
## [Example Sketch](#id6)
Finally, upload the following example sketch to the Arduino. You can also find this under File > Examples > ODriveArduino.
This example will put the ODrive into closed loop control and then move the motor back and forth in a sine wave pattern.
```cpp
#include <Arduino.h>
#include "ODriveCAN.h"
// Documentation for this example can be found here:
// https://docs.odriverobotics.com/v/latest/guides/arduino-can-guide.html
/* Configuration of example sketch -------------------------------------------*/
// CAN bus baudrate. Make sure this matches for every device on the bus
#define CAN_BAUDRATE 250000
// ODrive node_id for odrv0
#define ODRV0_NODE_ID 0
// Uncomment below the line that corresponds to your hardware.
// See also "Board-specific settings" to adapt the details for your hardware setup.
// #define IS_TEENSY_BUILTIN // Teensy boards with built-in CAN interface (e.g. Teensy 4.1). See below to select which interface to use.
// #define IS_ARDUINO_BUILTIN // Arduino boards with built-in CAN interface (e.g. Arduino Uno R4 Minima)
// #define IS_MCP2515 // Any board with external MCP2515 based extension module. See below to configure the module.
// #define IS_STM32_BUILTIN // STM32 boards with built-in CAN interface (e.g. STM32F4 Discovery).
// #define IS_ESP32_TWAI // ESP32 boards with built-in TWAI (CAN) interface. Directly uses the ESP-IDF TWAI driver.
/* Board-specific includes ---------------------------------------------------*/
#if defined(IS_TEENSY_BUILTIN) + defined(IS_ARDUINO_BUILTIN) + defined(IS_MCP2515) + defined(IS_STM32_BUILTIN) + defined(IS_ESP32_TWAI) != 1
#warning "Select exactly one hardware option at the top of this file."
#if CAN_HOWMANY > 0 || CANFD_HOWMANY > 0
#define IS_ARDUINO_BUILTIN
#warning "guessing that this uses HardwareCAN"
#else
#error "cannot guess hardware version"
#endif
#endif
#ifdef IS_ARDUINO_BUILTIN
// See https://github.com/arduino/ArduinoCore-API/blob/master/api/HardwareCAN.h
// and https://github.com/arduino/ArduinoCore-renesas/tree/main/libraries/Arduino_CAN
#include <Arduino_CAN.h>
#include <ODriveHardwareCAN.hpp>
#endif // IS_ARDUINO_BUILTIN
#ifdef IS_MCP2515
// See https://github.com/sandeepmistry/arduino-CAN/
#include "MCP2515.h"
#include "ODriveMCPCAN.hpp"
#endif // IS_MCP2515
#ifdef IS_TEENSY_BUILTIN
// See https://github.com/tonton81/FlexCAN_T4
// clone https://github.com/tonton81/FlexCAN_T4.git into /src
#include <FlexCAN_T4.h>
#include "ODriveFlexCAN.hpp"
struct ODriveStatus; // hack to prevent teensy compile error
#endif // IS_TEENSY_BUILTIN
#ifdef IS_STM32_BUILTIN
// See https://github.com/pazi88/STM32_CAN
#include <STM32_CAN.h>
#include "ODriveSTM32CAN.hpp"
#endif // IS_STM32_BUILTIN
#ifdef IS_ESP32_TWAI
// See https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/twai.html
#include "driver/twai.h"
#include "ODriveESP32TWAI.hpp"
#endif // IS_ESP32_TWAI
/* Board-specific settings ---------------------------------------------------*/
/* Teensy */
#ifdef IS_TEENSY_BUILTIN
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> can_intf;
bool setupCan() {
can_intf.begin();
can_intf.setBaudRate(CAN_BAUDRATE);
can_intf.setMaxMB(16);
can_intf.enableFIFO();
can_intf.enableFIFOInterrupt();
can_intf.onReceive(onCanMessage);
return true;
}
#endif // IS_TEENSY_BUILTIN
/* MCP2515-based extension modules -*/
#ifdef IS_MCP2515
MCP2515Class& can_intf = CAN;
// chip select pin used for the MCP2515
#define MCP2515_CS 10
// interrupt pin used for the MCP2515
// NOTE: not all Arduino pins are interruptable, check the documentation for your board!
#define MCP2515_INT 2
// freqeuncy of the crystal oscillator on the MCP2515 breakout board.
// common values are: 16 MHz, 12 MHz, 8 MHz
#define MCP2515_CLK_HZ 8000000
static inline void receiveCallback(int packet_size) {
if (packet_size > 8) {
return; // not supported
}
CanMsg msg = {.id = (unsigned int)CAN.packetId(), .len = (uint8_t)packet_size};
CAN.readBytes(msg.buffer, packet_size);
onCanMessage(msg);
}
bool setupCan() {
// configure and initialize the CAN bus interface
CAN.setPins(MCP2515_CS, MCP2515_INT);
CAN.setClockFrequency(MCP2515_CLK_HZ);
if (!CAN.begin(CAN_BAUDRATE)) {
return false;
}
CAN.onReceive(receiveCallback);
return true;
}
#endif // IS_MCP2515
/* Arduinos with built-in CAN */
#ifdef IS_ARDUINO_BUILTIN
HardwareCAN& can_intf = CAN;
bool setupCan() {
return can_intf.begin((CanBitRate)CAN_BAUDRATE);
}
#endif
/* STM32 boards with built-in CAN */
#ifdef IS_STM32_BUILTIN
STM32_CAN Can1( CAN1 );
STM32_CAN& can_intf = Can1;
bool setupCan() {
can_intf.begin();
can_intf.setBaudRate(CAN_BAUDRATE);
return true;
}
#endif // IS_STM32_BUILTIN
/* ESP32 boards with built-in TWAI (CAN) */
#ifdef IS_ESP32_TWAI
// Pins used to connect to CAN bus transceiver
#define ESP32_TWAI_TX_PIN 26
#define ESP32_TWAI_RX_PIN 25
ESP32TWAIIntf can_intf;
bool setupCan() {
twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(
(gpio_num_t)ESP32_TWAI_TX_PIN,
(gpio_num_t)ESP32_TWAI_RX_PIN,
TWAI_MODE_NORMAL
);
twai_timing_config_t t_config;
switch (CAN_BAUDRATE) {
case 1000000: t_config = TWAI_TIMING_CONFIG_1MBITS(); break;
case 800000: t_config = TWAI_TIMING_CONFIG_800KBITS(); break;
case 500000: t_config = TWAI_TIMING_CONFIG_500KBITS(); break;
case 250000: t_config = TWAI_TIMING_CONFIG_250KBITS(); break;
case 125000: t_config = TWAI_TIMING_CONFIG_125KBITS(); break;
case 100000: t_config = TWAI_TIMING_CONFIG_100KBITS(); break;
case 50000: t_config = TWAI_TIMING_CONFIG_50KBITS(); break;
case 25000: t_config = TWAI_TIMING_CONFIG_25KBITS(); break;
default: t_config = TWAI_TIMING_CONFIG_250KBITS(); break;
}
twai_filter_config_t f_config = TWAI_FILTER_CONFIG_ACCEPT_ALL();
if (twai_driver_install(&g_config, &t_config, &f_config) != ESP_OK) {
return false;
}
if (twai_start() != ESP_OK) {
twai_driver_uninstall();
return false;
}
return true;
}
#endif // IS_ESP32_TWAI
/* Example sketch ------------------------------------------------------------*/
// Instantiate ODrive objects
ODriveCAN odrv0(wrap_can_intf(can_intf), ODRV0_NODE_ID); // Standard CAN message ID
ODriveCAN* odrives[] = {&odrv0}; // Make sure all ODriveCAN instances are accounted for here
struct ODriveUserData {
Heartbeat_msg_t last_heartbeat;
bool received_heartbeat = false;
Get_Encoder_Estimates_msg_t last_feedback;
bool received_feedback = false;
};
// Keep some application-specific user data for every ODrive.
ODriveUserData odrv0_user_data;
// Called every time a Heartbeat message arrives from the ODrive
void onHeartbeat(Heartbeat_msg_t& msg, void* user_data) {
ODriveUserData* odrv_user_data = static_cast<ODriveUserData*>(user_data);
odrv_user_data->last_heartbeat = msg;
odrv_user_data->received_heartbeat = true;
}
// Called every time a feedback message arrives from the ODrive
void onFeedback(Get_Encoder_Estimates_msg_t& msg, void* user_data) {
ODriveUserData* odrv_user_data = static_cast<ODriveUserData*>(user_data);
odrv_user_data->last_feedback = msg;
odrv_user_data->received_feedback = true;
}
// Called for every message that arrives on the CAN bus
void onCanMessage(const CanMsg& msg) {
for (auto odrive: odrives) {
onReceive(msg, *odrive);
}
}
void setup() {
Serial.begin(115200);
// Wait for up to 3 seconds for the serial port to be opened on the PC side.
// If no PC connects, continue anyway.
for (int i = 0; i < 30 && !Serial; ++i) {
delay(100);
}
delay(200);
Serial.println("Starting ODriveCAN demo");
// Register callbacks for the heartbeat and encoder feedback messages
odrv0.onFeedback(onFeedback, &odrv0_user_data);
odrv0.onStatus(onHeartbeat, &odrv0_user_data);
// Configure and initialize the CAN bus interface. This function depends on
// your hardware and the CAN stack that you're using.
if (!setupCan()) {
Serial.println("CAN failed to initialize: reset required");
while (true); // spin indefinitely
}
Serial.println("Waiting for ODrive...");
while (!odrv0_user_data.received_heartbeat) {
pumpEvents(can_intf);
}
Serial.println("found ODrive");
// request bus voltage and current (1sec timeout)
Serial.println("attempting to read bus voltage and current");
Get_Bus_Voltage_Current_msg_t vbus;
if (!odrv0.request(vbus, 1000)) {
Serial.println("vbus request failed!");
while (true); // spin indefinitely
}
Serial.print("DC voltage [V]: ");
Serial.println(vbus.Bus_Voltage);
Serial.print("DC current [A]: ");
Serial.println(vbus.Bus_Current);
Serial.println("Enabling closed loop control...");
while (odrv0_user_data.last_heartbeat.Axis_State != ODriveAxisState::AXIS_STATE_CLOSED_LOOP_CONTROL) {
odrv0.clearErrors();
delay(1);
odrv0.setState(ODriveAxisState::AXIS_STATE_CLOSED_LOOP_CONTROL);
// Pump events for 150ms. This delay is needed for two reasons;
// 1. If there is an error condition, such as missing DC power, the ODrive might
// briefly attempt to enter CLOSED_LOOP_CONTROL state, so we can't rely
// on the first heartbeat response, so we want to receive at least two
// heartbeats (100ms default interval).
// 2. If the bus is congested, the setState command won't get through
// immediately but can be delayed.
for (int i = 0; i < 15; ++i) {
delay(10);
pumpEvents(can_intf);
}
}
Serial.println("ODrive running!");
}
void loop() {
pumpEvents(can_intf); // This is required on some platforms to handle incoming feedback CAN messages
// Note that on MCP2515-based platforms, this will delay for a fixed 10ms.
//
// This has been found to reduce the number of dropped messages, however it can be removed
// for applications requiring loop times over 100Hz.
float SINE_PERIOD = 2.0f; // Period of the position command sine wave in seconds
float t = 0.001 * millis();
float phase = t * (TWO_PI / SINE_PERIOD);
odrv0.setPosition(
sin(phase), // position
cos(phase) * (TWO_PI / SINE_PERIOD) // velocity feedforward (optional)
);
// print position and velocity for Serial Plotter
if (odrv0_user_data.received_feedback) {
Get_Encoder_Estimates_msg_t feedback = odrv0_user_data.last_feedback;
odrv0_user_data.received_feedback = false;
Serial.print("odrv0-pos:");
Serial.print(feedback.Pos_Estimate);
Serial.print(",");
Serial.print("odrv0-vel:");
Serial.println(feedback.Vel_Estimate);
}
}Below is the expected output in the Arduino IDE’s Serial Monitor (Tools > Serial Monitor):
Starting ODriveCAN demo
Waiting for ODrive...
found ODrive
attempting to read bus voltage and current
DC voltage [V]: 17.31
DC current [A]: 0.00
Enabling closed loop control...
ODrive running!
odrv0-pos:0.72,odrv0-vel:0.01
odrv0-pos:0.72,odrv0-vel:-0.01
odrv0-pos:0.65,odrv0-vel:-11.80
odrv0-pos:0.55,odrv0-vel:-9.42
odrv0-pos:0.45,odrv0-vel:-10.08
odrv0-pos:0.35,odrv0-vel:-9.88
odrv0-pos:0.25,odrv0-vel:-10.03
odrv0-pos:0.15,odrv0-vel:-9.91
odrv0-pos:0.05,odrv0-vel:-10.02
odrv0-pos:-0.05,odrv0-vel:-9.95
odrv0-pos:-0.15,odrv0-vel:-10.03
odrv0-pos:-0.25,odrv0-vel:-9.94
odrv0-pos:-0.35,odrv0-vel:-9.98And here’s the Serial Plotter (Tools > Serial Plotter):

Troubleshooting
Arduino hangs at Waiting for ODrive...
This means the Arduino is not receiving heartbeat messages from the ODrive.
- Make sure heartbeat messages are enabled according to Configuring the ODrive.
- Make sure the configured CAN baudrate of the ODrive and the Arduino sketch match. The default for the Arduino sketch is 250000 while the ODrive uses automatic baudrate detection by default since firmware version 0.6.11. On earlier firmware versions, the ODrive default is also 250000.
- Likewise, make sure the configured Node ID matches between ODrive and Arduino sketch. The default is 0 for both.
- Double check your wiring.
- In the example sketch, in the
onMessage()function, insert aSerial.println()statement. This can help you debug if your Arduino is receiving any CAN messages at all. - If you have an oscilloscope, CAN logger or CAN-to-USB dongle, use them to check if there are any CAN messages on the bus.
Arduino hangs at Enabling closed loop control...
This means that the Arduino can talk to the ODrive and vice versa, but the ODrive refuses to enter closed loop control mode.
This can have lots of reasons (ODrive unpowered, ODrive not calibrated, etc.). The easiest way to find out why, is to open the GUI and check the status bar.
Arduino Library Reference
class ODriveCAN : Public Functions
bool clearErrors()
: Clear all errors on the ODrive.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setState(ODriveAxisState requested\_state)
: Tells the ODrive to change its axis state.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setControllerMode(uint8\_t control\_mode, uint8\_t input\_mode)
: Sets the control mode and input mode of the ODrive.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setPosition(float position, float velocity\_feedforward = 0.0f, float torque\_feedforward = 0.0f)
: Sends a position setpoint with optional velocity and torque feedforward.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setVelocity(float velocity, float torque\_feedforward = 0.0f)
: Sends a velocity setpoint with optional torque feedforward.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setTorque(float torque)
: Sends a torque setpoint to the ODrive.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setLimits(float velocity\_limit, float current\_soft\_max)
: Sets the velocity and current limits.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setPosGain(float pos\_gain)
: Sets the position gain.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setVelGains(float vel\_gain, float vel\_integrator\_gain)
: Sets the velocity and velocity integrator gains.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setAbsolutePosition(float abs\_pos)
: Sets the encoder’s absolute position and enables absolute positioning.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setTrapezoidalVelLimit(float vel\_limit)
: Sets the coast velocity for subsequent trapezoidal moves.
This function returns immediately and does not check if the ODrive received the CAN message.
bool setTrapezoidalAccelLimits(float accel\_limit, float decel\_limit)
: Sets the acceleration and deceleration values for subsequent trapezoidal moves.
This function returns immediately and does not check if the ODrive received the CAN message.
bool getCurrents(Get\_Iq\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests motor current. Iq\_measured represents torque-generating current.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool getTemperature(Get\_Temperature\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests motor temperature.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool getError(Get\_Error\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests error information.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool getVersion(Get\_Version\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests hardware and firmware version information.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool getFeedback(Get\_Encoder\_Estimates\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests encoder feedback data.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool getBusVI(Get\_Bus\_Voltage\_Current\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests ODrive DC bus voltage and current.
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply May trigger onBusVI callback if it’s registered.
bool getPower(Get\_Powers\_msg\_t &msg, uint16\_t timeout\_ms = 10)
: Requests mechanical and electrical power data (used for spinout detection).
This function will block and wait for up to timeout\_ms (default 10msec) for ODrive to reply
bool reset(ResetAction action = ResetAction::Reboot)
: Resets the ODrive with the given action.
Valid actions:
- Reboot (0)
- Save (1)
- Erase (2)
inline void onFeedback(void (\*callback)(Get\_Encoder\_Estimates\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive feedback processing.
inline void onStatus(void (\*callback)(Heartbeat\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive axis state feedback.
inline void onTorques(void (\*callback)(Get\_Torques\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive torques feedback processing.
inline void onTemperature(void (\*callback)(Get\_Temperature\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive temperature feedback.
inline void onBusVI(void (\*callback)(Get\_Bus\_Voltage\_Current\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive bus voltage/current feedback.
inline void onCurrents(void (\*callback)(Get\_Iq\_msg\_t &feedback, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive currents feedback.
inline void onError(void (\*callback)(Get\_Error\_msg\_t &msg, void \*user\_data), void \*user\_data = nullptr)
: Registers a callback for ODrive error messages.
void onReceive(uint32\_t id, uint8\_t length, const uint8\_t \*data)
: Processes received CAN messages for the ODrive.
<a id="_CPPv4I0EN9ODriveCAN7requestEbR1T8uint16_t"></a> template<typename T> inline bool request([T](#_CPPv4I0EN9ODriveCAN7requestEbR1T8uint16_t) &msg, uint16\_t timeout\_ms = 10)
: Sends a request message and awaits a response.
Blocks until the response is received or the timeout is reached. Returns false if the ODrive does not respond within the specified timeout.
<a id="_CPPv4I0EN9ODriveCAN4sendEbRK1T"></a> template<typename T> inline bool send(const [T](#_CPPv4I0EN9ODriveCAN4sendEbRK1T) &msg)
: Sends a specified message over CAN.
<a id="_CPPv4I0EN9ODriveCAN11getEndpointE1T8uint16_t8uint16_t"></a> template<typename T> inline [T](#_CPPv4I0EN9ODriveCAN11getEndpointE1T8uint16_t8uint16_t) getEndpoint(uint16\_t endpoint\_id, uint16\_t timeout\_ms = 10)
: Get value at the endpoint.
Blocks until the response is received or the timeout is reached.
Template Parameters:
: **T** – The data type expected from the endpoint
Parameters:
: - **endpoint\_id** – Unique ID from flat\_endpoints.json
- **timeout\_ms** – Time to wait for a response from ODrive
Returns:
: T Data from the endpoint, or 0 on timeout
<a id="_CPPv4I0EN9ODriveCAN11setEndpointEb8uint16_t1T"></a> template<typename T> inline bool setEndpoint(uint16\_t endpoint\_id, [T](#_CPPv4I0EN9ODriveCAN11setEndpointEb8uint16_t1T) value)
: Set endpoint to value.
This function returns immediately and does not check if the ODrive received the CAN message.
Template Parameters:
: **T** – Type of the value from flat\_endpoints.json
Parameters:
: - **endpoint\_id** – Unique ID of endpoint from flat\_endpoints.json
- **value** – value to write to the endpoint
