Information status: Updated
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.
name: Host description: Host name / IP of the raspberry pi
name: Port description: Port number, default=9788
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.
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
Please log in to comment.
The device class has been updated.
You can see previous version here .
17 May 2018, Jens Sundberg
The device class has been added to catalogue.