ASGARD-Controllino¶
This python library allows you to control the power supply of the different components of the ASGARD platform.
🔌 Installation¶
Setup the controllino
Edit the first lines of the following sketch to put the correct MAC adresse and the desired IP address.
Then upload the sketch to the controllino.
Sketch dependencies
The sketch require the
Controllino.handAdafruit_MCP4728.hlibraries. You can easily find on the Arduino IDE.Connect your computer to the same local network as the controllino
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')