Mike Hogan
Published © GPL3+

Massive GIPO Interface - Conversion to IoT Framework

FAC massive IO framework is an interface board and bus that supports thousands of optically isolated high current control points.

AdvancedProtip1,315
Massive GIPO Interface - Conversion to IoT Framework

Things used in this project

Story

Read more

Schematics

Full House Automation System Layout

Burched FPGA dev board

Spartan FPGA runs autonomous operations

DIO120

Basic Overview (parallel bus config)

New Configuratiuon

Using Pi controllers

Large scale

Apartment size configuration

Code

DIO120 driver code

C#
Example low level driver for output/input control
Sub ToggleDev(BitNumber)

  Out(GPIO_CLEAR_0)

    For i = 0 to BitNumber

        Out(GPIO_CLOCK_0)

   Next

Out(GPIO_ENABLE_0)

Out(GPIO_CLEAR_0)

Function ReadData(BusData)

  Out(GPIO_CLEAR_1)

    For i = 0 to NumberOfGates

        Out(GPIO_CLOCK_1)

       busWord = busWord +  In(GPIO_BYTE)

   Next

Return busWord

Out(GPIO_CLEAR_1)

Credits

Mike Hogan
9 projects • 51 followers
Interested in hardened massive io frameworks

Comments