Skip to content

An Arduino Library for interfaceing with RobotEQ DC Motor Controllers

Notifications You must be signed in to change notification settings

kippandrew/Arduino-RobotEQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

About

The Arduino-RobotEQ library is an abstraction interface for the RobotEQ Motor Controllers. It uses the serial command inteface to send and receive commands from the RobotEQ controller using an Arduino.

Usage

#include <RobotEQ.h>

#define CHANNEL_1 1

// Configure Motor Controllers
RobotEQ controller(&Serial);

void setup() {
}

void loop() {
    int voltage;
    int amps;

    if (controller.isConnected()) {
        voltage = controller.queryBatteryVoltage();
        amps = controller.queryBatteryAmps();

        controller.commandMotorPower(CHANNEL_1, 1000);
    }
}

About

An Arduino Library for interfaceing with RobotEQ DC Motor Controllers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published