EricssonResearch / calvin-base

Calvin is an application environment that lets things talk to things, among other things.
Apache License 2.0
282 stars 91 forks source link

Application with raspberry pi and sensors to send data #97

Closed Tatiana-runco closed 6 years ago

Tatiana-runco commented 6 years ago

Hello I have the idea of creating an application in Calvin that works with Raspberry pi and this with sensors that sense data and return them to my application. The question is if someone has actors or a similar application that serves as a guide to be able to do it since I am a beginner in calvin and I am acquiring the theoretical knowledge to do it. Whatever it will be will help me since I'm just starting.

Thank you!

olaan commented 6 years ago

Hi,

A good starting point would be to look at the SensorKit examples which describes how to connect and use a range of sensors currently supported by Calvin on the Raspberry Pi. See the wiki (under SensorKit) and/or the examples.

I recommend using the develop branch for this, since it has some fixes that have not yet made it to the master branch.

Cheers & good luck,

// Ola

Tatiana-runco commented 6 years ago

@olaan Sorry, when you say the branch of development to which you refer explicitly?

olaan commented 6 years ago

I do not know how you normally clone the repository, but if you use the "download.zip" option, first select the develop branch, as shown here:

screen shot 2018-04-25 at 16 36 41

And then click "clone or download" followed by "download zip" to the right:

screen shot 2018-04-25 at 16 36 58

If you use git, either from the command line or using a graphical tool, change to the "develop" branch. If the command line tool, just enter git checkout develop in the folder where you cloned the repository. If using some other tool, consult the documentation.

Cheers.

olaan commented 6 years ago

I'm closing this issue.

Cheers.