ASGARD-Controllino

This python library allows you to control the power supply of the different components of the ASGARD platform.

🔌 Installation

  1. Setup the controllino

    Edit the first lines of the following sketch to put the correct MAC adresse and the desired IP address.

    👉 sketch.ino

    Then upload the sketch to the controllino.

    Sketch dependencies

    The sketch require the Controllino.h and Adafruit_MCP4728.h libraries. You can easily find on the Arduino IDE.

  2. Connect your computer to the same local network as the controllino

  3. Install the python library

    pip install asgard-controllino
    

🚀 Quickstart

import asgard_controllino as asgard

ip = '172.16.8.200' # IP address you defined in the sketch
controllino = asgard.Controllino(ip) 
controllino.turn_on('DM3')
controllino.turn_off('DM1')