This is historical information of device classes implemented in RaspberryPiIO device server.

Use this link to find the valid information.

Development status: New development
Information status: New

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:

Key words: raspberry pi gpio camera

Platform: Unix Like

Language: Python

License:

Contact:

Class interface


Attributes:

Commands:

Pipes:

Properties:

17 May 2018, Jens Sundberg
Updated:
The device class has been updated.
You are looking at this version now.



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