Lonnie,

imho, you should not compare Raspberry Pi and Arduino. 

You can compare Raspberry Pi and Alix board for example.

Garage Door Project is implamanted by GPIO interfaces on Rasberry Pi. But Alix 
board also has GPIO. Jateway boards also.

Arduino is microcontroller and can run more differnet project then Alix board 
by GPIO.
Communication between arduino and astlinux is a thing I have yet to learn.
The most examples found on interent is with Arduino Ethernet Shield, additional 
board with ethernet interface. 
But I think it can be achived by USB only.

Regards,

Dominko





________________________________
 From: Lonnie Abelbeck <[email protected]>
To: AstLinux Users Mailing List <[email protected]> 
Sent: Monday, May 6, 2013 7:28 PM
Subject: Re: [Astlinux-users] arduino
 

Dominko,

Thinking about this some more, at least with the Raspberry Pi, using 
XMPP/Jabber to trigger relay events from Asterisk seems like a more general 
approach, without needing any USB cable connected to AstLinux.

Recent versions of AstLinux support the Prosody XMPP server as well as the 
shell command "sendxmpp" (or Asterisk 11 JabberSend function) XMPP client which 
could send a jabber message as a command.
http://doc.astlinux.org/userdoc:tt-xmpp-server#xmpp_command_line_client
The Raspberry Pi could run another Prosody server or some sort of XMPP/Jabber 
client.  Different JID's could allow different permission levels by where and 
which are allowed as "buddies".

Here is an example after a quick google search:

Raspberry Pi Garage Door Project using the XMPP/Jabber protocol
http://www.youtube.com/watch?v=97oZNOBbrfQ

I have never tried this sort of thing, but it seems doable.  I'm not sure if 
the arduino can run XMPP.

Lonnie


On May 6, 2013, at 10:04 AM, Lonnie Abelbeck wrote:

> Hi Dominko,
> 
> Interesting, it seems enabling CONFIG_USB_ACM=m would do the trick...
> 
> But, say you have /dev/ttyACM0 as a serial device in AstLinux, are there 
> scripts to control the arduino or would you also require other binaries ?
> 
> I understood the USB port was used by the SDK for programming the arduino, 
> but can it be also used for data transactions ?
> 
> Lonnie
> 
> 
> 
> On May 6, 2013, at 7:29 AM, Dominko Vrljic wrote:
> 
>> My initial plan is make alam system with arduino and astlinux. Astlinux will 
>> call my mobile phone in case of alarm event.
>> But, arduino will generally extend astlinux functionality widely: Home 
>> Automation, sensor reading and even Industry Automation.
>> On internet you can found lot of information about raspberry pi and arduino 
>> integration. I think all can be applied to Astlinux.
>> 
>> Dominko
>> 
>> 
>> From: Darrick Hartman <[email protected]>
>> To: "[email protected]" <[email protected]>; 
>> "[email protected]" 
>> <[email protected]> 
>> Sent: Monday, May 6, 2013 1:31 PM
>> Subject: RE: [Astlinux-users] arduino
>> 
>> Dominko,
>> 
>> How are you planning to use this? What would be the benefit to the overall 
>> project?
>> 
>> Darrick 
>> 
>> -----Original Message----- 
>> From: Dominko Vrljic [[email protected]]
>> Received: Monday, 06 May 2013, 6:23AM
>> To: AstLinux Users Mailing List [[email protected]]
>> Subject: [Astlinux-users] arduino
>> 
>> 
>> Hi all! I am playing with astlinux and arduino uno device 
>> (http://arduino.cc/en/Main/arduinoBoardUno)
>> I am traying to establish serail communication with arduino over USB cable.
>> Obvious I need driver: cdc_acm.ko.
>> Is it posslible include this driver in next release of astlinux?
>> Regards,
>> Dominko
> 
> 
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> [email protected].
> 
> 


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to