.

Average: 0
Rating Count: 0

Development status: New development, Release: 0.1.0
Information status: Updated
Repository: https://github.com/MaxIV-KitsControls/dev-maxiv-raspberry_pi
Contact:



Class Description


Tango device server class for controlling the GPIO on the Raspberry Pi. Currently supports control of 5 pins (pins number 3, 5, 7, 8 and 10 according to the Rpi.GPIO BOARD numbering convention). Camera support is in development.

Properties

name: Host description: Host name / IP of the raspberry pi

name: Port description: Port number, default=9788

Attributes

name: pin<x>_voltage description: bool. true if pin voltage high, false if pin voltage low. x is integer according to the RPi.GPIO BOARD pin numbering convention.

name: pin<x>_output description: bool, true if pin is configured as output. false if pin is configured as input. x is integer according to the RPi.GPIO pin BOARD numbering convention.

Commands

name: Camera_Off description: Not fully implemented yet. Currently only stops camera stream display locally on the pi. Development in progress.

name: Camera_On description: Not fully implemented yet. Currently only starts camera stream display locally on the pi. Development in progress.

name: Init description: Connects to the TCP/IP server on the pi.

name: ResetAll description: Clears all pin settings to default.

name: State description: This command gets the device state (stored in its device_state data member) and returns it to the caller.

name: Status This command gets the device status (stored in its device_status data member) and returns it to the caller.

name: TurnOff description: Sets all pin voltages to low. Stops attribute polling. Disconnects from TCP/IP server after a 5 second timeout.

Families: , InputOutput

Key words: raspberry pi gpio camera

Platform: Unix Like

Language: Python

License: GPLv3

Contact:

Class interface


Attributes:

Commands:

Pipes:

Properties:


Please log in to comment.

17 May 2018, Jens Sundberg
Updated:
The device class has been updated.
You can see previous version here .



17 May 2018, Jens Sundberg
Created:
The device class has been added to catalogue.
Added by:jsundberg on:17 May 2018, 9:52 a.m.