Raspberry Pi DIDO Board
The DIDO is upgraded to Version 1.3, and it's support the raspberry pi 4 model B now. We have only reduced the PCB size, nothing else has changed.
How to use the DIDO on Raspberry PI 4B Please refer to File:How to use the DIDO on Raspberry PI 4B-EN.pdf
DIDO module includes components like relays,switches, gigital and analog I/O that will allow for connection to sensors ,motors, lights, etc. and be controlled by the Raspberry Pi board.
The digital DIDO module interface board fits the original Raspberry Pi models A and B. DIDO module has been redesigned to fit the Raspberry Pi models A and B.
- Home/Industrial automation
- Security monitoring
- Internet of Things gateway
- Remote monitoring
- Hobbyist projects and games
- I/O expander
- User interface for systems
- 2 Change Over Relays
- 4 Tactile Switches
- 8 Digital Inputs、touch sensitive inputs
- 8 Open-Collector Outputs
- 8 LED Indicators
- Graphical Emulator
- Easy to program in Python 3 and 2, Scratch and C
- Graphical emulator
- Changeover relays, 20V 5A switching max
- 1.5mm screw terminal hole size
- Operating Temp -40° to 85°
- Ensure that no power is supplied to Raspberry Pi, or DIDO boards
when plugging or unplugging. DIDO sits neatly above the Raspberry Pi and connects using the expansion connector. Take care to ensure all expansion pins are lined up with the holes on the DIDO socket. Check the alignment for left and right, and front and back before pushing down and never force the boards together if they don’t slide smoothly.
Tour of hardware
Detail refer to File:DIDO-Piface2-Getting-starte.pdf
Q1: Can't install PiFace Digital software
A1: Please refer to https://www.raspberrypi.org/forums/viewtopic.php?t=194332
PS: We advise use the Raspbian jessie version.
Q2: What GPIOs are be used?
A2: GPIO19 - GPIO24 are be used.
Document & Download
- File:How to use the DIDO on Raspberry PI 4B-EN.pdf
- File:How to use the DIDO on Raspberry PI 4B-CN.pdf
- File:Simple led.zip
- File:Draw Marquee-LED Banner about DIDO module(1).pdf
- For step by step help and ideas for projects visit: Piface Guide
- File:Controlling a remote control with the piface digital.pdf
- File:Simple web control with PiFace Digital.pdf
test source code
#!/usr/bin/python3 from time import sleep import pifacedigitalio DELAY = 0.1 # seconds if __name__ == "__main__": pifacedigital = pifacedigitalio.PiFaceDigital() while True: sleep(DELAY) pifacedigital.output_port.value=pifacedigital.input_port.value