You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/30 00:18:52 UTC

[jira] [Commented] (CAMEL-8567) New camel-raspberry component

    [ https://issues.apache.org/jira/browse/CAMEL-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385988#comment-14385988 ] 

ASF GitHub Bot commented on CAMEL-8567:
---------------------------------------

GitHub user gautric opened a pull request:

    https://github.com/apache/camel/pull/452

    CAMEL-8567 New camel-raspberry component (1st version)

    I've started a new component to interface with an RaspberryPI.
    I think it could be very interesting component to include it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gautric/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/452.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #452
    
----
commit 755cf98fc2ae782decfb7b9f1bd20becbb9b2ace
Author: gautric <gr...@autric.net>
Date:   2015-03-29T22:15:43Z

    [CAMEL-8567] New camel-raspberry component (1st version)

----


> New camel-raspberry component
> -----------------------------
>
>                 Key: CAMEL-8567
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8567
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.16.0
>         Environment: Linux and Raspberry Pi Raspbian
>            Reporter: Greg A.
>            Priority: Minor
>              Labels: GPIO, I/O, RasberryPi, component, features
>             Fix For: 2.16.0
>
>         Attachments: camel-raspberry.patch
>
>
> I've started a new component to interface with an RaspberryPI.
> I think it could be very interesting component to have for camel.
> With this first version you manage all GPIO for  Model A, A+, B, B+, 2B
> Features 
> -  input / ouput digital pin management
>    * with TOGGLE, LOW, HIGH action 
>    * from("rbpi://pin?id=2&mode=input&state=HIGH") --> send new msg when HIGH
>    * to("rbpi://pin?id=9&mode=output&state=LOW&action=HIGH") --> when receive msg set to HIGH
> -  input / ouput analog pin management
>   * for double value
>   * rbpi://pin?id=1&mode=analog_input
> -  input / ouput pwn pin
>   * for int value
>   * rbpi://pin?id=1&mode=pwm_input
> I also developed an CamelMain stuff to test it very quickly on a Raspberry Pi.
> One input -> log -> one output, stay tuned !!!
> I've also create a mock to emulate RBPI on my Mac
> Pi4j uses ASF : http://pi4j.com/license.html
> Pi4j is OSGi compliant
> but I don't know if component is correctly OSGi compliant
> I am writing an documentation too.
> TODO :
> - smarter URI style like rbpi://pin/1/mode?[options]
> - output endpoint with dynamic PIN
> - GUI GPIO emulator 
> - i2c integration
> - spi integration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)