Skip to content

To manage your M-BOXE Servo-motor in command line from a Rapsberry Pi by I2C / Gérer votre M-BOXE Servo-moteur en ligne de commande à partir d'une Rapsberry Pi par I2C

Notifications You must be signed in to change notification settings

Nao974/M-BOXE_MANAGER_CL

Repository files navigation

M-BOXE_MANAGER_CL

Version Française

To manage your M-BOXE Servo-motor command line from a Rapsberry Pi by I2C.

ScrenShoot Menu

First of all

This program allows to parameterize an M-Boxe whose construction is detailed in the deposit M-BOXE

Contents

Ah_I2C.py Libraries for I2C protocol from the ADAFRUIT_I2C library
M-BOXE.py Class defining the M-BOXE object with parameter and function based on the Ah-I2C.py library

M-BOXE_DEMO.py M-BOXE Motion Loop Demonstration
M-BOXE_MANAGER_CL.py Program for setting up your M-BOXE

Installation

Step 1: Install Python3

Python 3.4 is already installed if you use 'python3' instead of 'python', if it's not the case sudo apt-get install python3.

Step 2: Active I2C

  • Comment the line blacklist i2c-bcm2708 in the file / etc / modprobe.d / raspi-blacklist.conf
  • Install the suite of I2C management tools apt-get install i2c-tools
  • Restart your Raspberry.

Once your M-BOXE is set up and connected to the I2C bus, type i2cdetect -y 1 (replace '1' with '0' with 256MB versions):
screenshoot_i2cdetect

Usage

Go to folder, then type python3 M-BOXE_MANAGER_CL.py, enter the address of the M-BOXE Connexion

  • S to enlarge the State Menu (State)
  • D to enlarge the Data menu
  • P to enlarge the Parameter menu

To change a data item in the Parameter menu, enter the data number of the data:
Change_Registrer
You can launch all I2C commands defined in the M-BOXE benchmarks Parameter_M-BOXE.pdf

History / Historique

About

To manage your M-BOXE Servo-motor in command line from a Rapsberry Pi by I2C / Gérer votre M-BOXE Servo-moteur en ligne de commande à partir d'une Rapsberry Pi par I2C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages