UniPi API - need to use Win 10 IoT or Mono



  • Hi,
    I looking for some API for UniPi for create library that help me use UniPi with Windows 10 IoT or Mono Develop.
    How UniPi communicates with raspberry?
    Is it some I2C or what?
    Which PINS are used for what?

    I think it is possible to make some reverse engineering but it is a little waste of time today…

    best regards
    Peter



  • Hi,
    I looking for some API for UniPi for create library that help me use UniPi with Windows 10 IoT or Mono Develop.
    How UniPi communicates with raspberry?
    Is it some I2C or what?
    Which PINS are used for what?

    I think it is possible to make some reverse engineering but it is a little waste of time today…

    best regards
    Peter



  • Hello,

    it is just I2C and GPIOs for digital inputs - see the documentation for more info: http://unipi.technology/wp-content/uplo ... ual_en.pdf

    Regarding the development, we provide API written in Python that supports REST and websocket communication and modbus in a few weeks - https://github.com/UniPiTechnology/evok , we have no experience with Win10 neither Mono.

    Br,
    Tomas



  • Thanks for answer.

    I think it could be possible to use EVOK on web based systems, but problem is with embeded solutions.
    It means there is no Raspbian but only for ex. Win 10 IoT with static start application which will communicate directly to unipi throught GPIOs.

    Do you have any UniPi I2C API description how to communicate with it?
    Because I didn't find it in you docs so I assume that is your internal documentation, and the only way for check how it works is reverse engineering evok.

    In other way it could be possible to use Evok, and Mono application loaded on afeter bootup raspbian.



  • Hello,

    raspbian can be stripped down to almost read-only system (see minibian or diet-pi projects) with installed EVOK and disabled web interface. Than users can build their own applications on top of evok (eg. using websocket locally) because there are many examples of using websocket clients in every SDK. You can also build nice embedded application using stripped down raspbian + evok and mono.

    I2C has no API, it is just system of write-to-register and read-from-register commands and every chip on the I2C bus requires specific set of these commands but it is not difficult at all and can be found in docummentation of every chip we used - MCP23008, MCP3422, 1Wire DS2408 + GPIO library.



  • Hello,

    we use in our company the unipi products with windows 10 iot core. To use the board, we developed a unit library to get access to the board.

    The library encapsulates the bord functionality. You have one Object with Methods like SetRelaisStatue(Telais1, On) and some Events to get Information event based. The Library is in .NET Core.

    http://www.adcoso.de

    Interested? Our Email is info@adcoso.de

    kind regards

    Mirco



  • Hello,

    we have uploadet an non Commercial version of the driver for windows 10 IOT

    https://www.nuget.org/packages/adcoso.iot.devicedrivers.neuron.driver/

    kind regards

    Mirco