Repository navigation
GPIO Pin Matrix
Dave Williams | DitroniX | G8PUO edited this page Jun 25, 2026
·
5 revisions

- SDA GP2
- SCL GP3
- RXD GP0
- TXD GP1
- RX Enable GP23
- ADC/DCV GP4
- IN_1A GP8
- IN_1B GP9
- IN_2A GP14
- IN_2B GP13
- EN1 GP5
- EN2 GP6
- SFLAG GP10
- Temperature Alarm GP7
- LED GREEN GP27

-
EN_1 P0
-
OUT_1A P1
-
OUT_1B P2
-
EN_2 P3
-
OUT_2A P4
-
OUT_2B P5
-
User Test Point P6
-
LED Amber (Test) P7
// Motor 1
EN1 -> output |= (1 << 0);
OPEN1 -> output |= (1 << 1);
CLOSE1 -> output |= (1 << 2);
// Motor 2
EN2 -> output |= (1 << 3);
OPEN2 -> output |= (1 << 4);
CLOSE2 -> output |= (1 << 5);
Output Byte
Meaning
`0x03` EN1 + OPEN1
`0x05` EN1 + CLOSE1
`0x18` EN2 + OPEN2
`0x28` EN2 + CLOSE2
`0x1B` Both motors OPEN
`0x2D` Both motors CLOSE
Additional information, and other technical details on this project, maybe found in the related repository pages.
Repository Folders
- Code (Code examples for Raspberry Pi, Arduino IDE, PlatformIO, Python etc.)
- Datasheets and Information (Component Datasheets, Schematics, Board Layouts, Photos, Technical Documentation)
- Certification (Related Repository Project or Part, Certification Information)
Repository Tabs
- Wiki (Related Repository Wiki pages and Technical User Information)
- Discussions (Related Repository User Discussion Forum)
- Issues (Related Repository Technical Issues and Fixes)
We value our Customers, Users of our designs and STEM Communities, all over the World . Should you have any other questions, or feedback to share to others, please feel free to:
- Visit the related Project plus the related Discussions and Wiki Pages. See tab in each separate repository.
- Project Community Information can be found at https://www.hackster.io/DitroniX
- DitroniX.net Website - Contact Us
- Twitter: https://twitter.com/DitroniX
- Supporting the STEM Projects - BuyMeACoffee
- LinkedIN: https://www.linkedin.com/in/g8puo/
Dave Williams, Maidstone, UK.
Electronics Engineer | Software Developer | R&D Support | RF Engineering | Product Certification and Testing | STEM Ambassador
Supporting STEM Learning
Life is one long exciting learning curve, help others by setting the seed to knowledge.
