WebSockets and Serial Devices - Arduino

#1

As a result of the recent conversation with yOPERO, I have _started_

https://github.com/oberstet/Autobahn/tree/master/demo/serial2ws

This demonstrates how to shuffle data between WebSocket clients
and a device connected via a serial port, like i.e. Arduino ..

As soon as we get our Arduino, I'll finish it and report here.

Happy hacking,
Tobias

0 Likes

#2

hi,

can you please fix the link

···

On Wednesday, January 25, 2012 10:26:15 AM UTC-6, Tobias Oberstein wrote:

As a result of the recent conversation with yOPERO, I have started
https://github.com/oberstet/Autobahn/tree/master/demo/serial2ws

This demonstrates how to shuffle data between WebSocket clients
and a device connected via a serial port, like i.e. Arduino …

As soon as we get our Arduino, I’ll finish it and report here.

Happy hacking,
Tobias

0 Likes

#3

Hi, The link that you have put up does not seem to work. I have just resumed a project where I am trying to send and receive messages asynchronously from python to an arduino. Is using autobahn the way to do it? Or should I try and use SocketShare and ThreadingMixin or something like that?
Thanks,

Dan Davies

···

On Wednesday, January 25, 2012 11:26:15 AM UTC-5, Tobias Oberstein wrote:

As a result of the recent conversation with yOPERO, I have started
https://github.com/oberstet/Autobahn/tree/master/demo/serial2ws

This demonstrates how to shuffle data between WebSocket clients
and a device connected via a serial port, like i.e. Arduino …

As soon as we get our Arduino, I’ll finish it and report here.

Happy hacking,
Tobias

0 Likes

#4

Short answer ( I’m on mobile):

https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/serial2ws

This example is bridging Arduino over WebSocket/WAMP to e.g. browsers.

For the Arduino over serial coms it uses a trivial adhoc protocol.

For this latter subproblem there is a better thing (alpha still):

https://github.com/tavendo/SRDP

Pls see docs folder fot some background …

/Tobias

···

Sent from Mobile (Google Nexus 4)

Am 28.09.2013 02:13 schrieb “dannyd” dmda...@princeton.edu:

Hi, The link that you have put up does not seem to work. I have just resumed a project where I am trying to send and receive messages asynchronously from python to an arduino. Is using autobahn the way to do it? Or should I try and use SocketShare and ThreadingMixin or something like that?
Thanks,

Dan Davies

On Wednesday, January 25, 2012 11:26:15 AM UTC-5, Tobias Oberstein wrote:

As a result of the recent conversation with yOPERO, I have started
https://github.com/oberstet/Autobahn/tree/master/demo/serial2ws

This demonstrates how to shuffle data between WebSocket clients
and a device connected via a serial port, like i.e. Arduino …

As soon as we get our Arduino, I’ll finish it and report here.

Happy hacking,

Tobias

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

0 Likes

#5

Thanks so much. Am going through it now. I’ll post here when I inevitably get stuck. Sorry, I am quite new to this.

Thanks again,

Dan Davies

···

On Fri, Sep 27, 2013 at 8:25 PM, Tobias Oberstein tobias.o...@gmail.com wrote:

Short answer ( I’m on mobile):

https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/serial2ws

This example is bridging Arduino over WebSocket/WAMP to e.g. browsers.

For the Arduino over serial coms it uses a trivial adhoc protocol.

For this latter subproblem there is a better thing (alpha still):

https://github.com/tavendo/SRDP

Pls see docs folder fot some background …

/Tobias

Sent from Mobile (Google Nexus 4)

Am 28.09.2013 02:13 schrieb “dannyd” dmda...@princeton.edu:

Hi, The link that you have put up does not seem to work. I have just resumed a project where I am trying to send and receive messages asynchronously from python to an arduino. Is using autobahn the way to do it? Or should I try and use SocketShare and ThreadingMixin or something like that?
Thanks,

Dan Davies

On Wednesday, January 25, 2012 11:26:15 AM UTC-5, Tobias Oberstein wrote:

As a result of the recent conversation with yOPERO, I have started
https://github.com/oberstet/Autobahn/tree/master/demo/serial2ws

This demonstrates how to shuffle data between WebSocket clients
and a device connected via a serial port, like i.e. Arduino …

As soon as we get our Arduino, I’ll finish it and report here.

Happy hacking,

Tobias

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

0 Likes