Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run ZeroMQ on an Arduino

Tags:

zeromq

arduino

I'm wondering, whether it is possible to communicate with an Arduino via ZeroMQ. I want to use the Arduino to control some equipment and want to have most of the application sit on a computer. For that it would be nice if the Arduino and the controller could communicate via zeromq and say a WiFi or Ethernet shield. Is that possible?

In particular, is it in principle possible, given the current chips on the Arduino boards, and has anybody had success in that direction?

like image 661
Markus Avatar asked Jan 15 '12 06:01

Markus


1 Answers

I don't think it will be easy to actually run the ZeroMQ library on an Arduino. The reason is that ZeroMQ is built on top of the POSIX or Windows networking APIs, which are not available on an Arduino.

What could be an option allowing you to use ZeroMQ on the host side, is to implement the (fairly trivial) ZeroMQ Message Transport Protocol on the Arduino and talk to ZeroMQ on the host this way.

like image 171
Mika Fischer Avatar answered Oct 23 '22 08:10

Mika Fischer