UniPi API - need to use Win 10 IoT or Mono

brzezinol
Posts: 3
Joined: Tue May 12, 2015 4:23 pm

UniPi API - need to use Win 10 IoT or Mono

Postby brzezinol » Sun Oct 18, 2015 12:08 pm

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
tomas_hora
Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: UniPi API - need to use Win 10 IoT or Mono

Postby tomas_hora » Mon Oct 19, 2015 8:52 am

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
brzezinol
Posts: 3
Joined: Tue May 12, 2015 4:23 pm

Re: UniPi API - need to use Win 10 IoT or Mono

Postby brzezinol » Mon Oct 19, 2015 3:09 pm

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.
tomas_hora
Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: UniPi API - need to use Win 10 IoT or Mono

Postby tomas_hora » Tue Oct 20, 2015 8:52 am

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.
mircotoepfer
Posts: 2
Joined: Thu Aug 18, 2016 8:32 am

Re: UniPi API - need to use Win 10 IoT or Mono

Postby mircotoepfer » Thu Aug 18, 2016 8:39 am

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

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 1 guest