Skip to content

Raspberry Pi

Thomas T. Jarløv edited this page Aug 12, 2018 · 1 revision

Automate actions using the Raspberry Pi's GPIO.

The GPIO are mapped to Broadcom. Checkout https://pinout.xyz to get the pins numbers.

Write to the pins

The mode can be set to: input, output, GPIO and PWM.

The pull can be set to off, down and up.

The digital can be set to write and pwm.

The analog can be set to write.

You can only use digital or analog - not both of them

Read value from pins

The mode can be set to: input, output, GPIO and PWM.

The pull can be set to off, down and up.

The digital can be set to read. When set to read, you need to specify the pin to read on, in the value field.

The analog can be set to read. When set to read, you need to specify the pin to read on, in the value field.

The value for a digital read would be either 0 or 1.

You can only use digital or analog - not both of them