Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Arduino Firmata autodetect for Windows #15

Open
ramalho opened this issue May 1, 2014 · 5 comments
Open

Implement Arduino Firmata autodetect for Windows #15

ramalho opened this issue May 1, 2014 · 5 comments

Comments

@ramalho
Copy link
Contributor

ramalho commented May 1, 2014

Currently only "Linux" and "Darwin" systems are implemented in detect/detect.py

@Vido
Copy link
Contributor

Vido commented May 3, 2014

That's a start:
https://docs.python.org/2/using/windows.html
http://timgolden.me.uk/python/win32_how_do_i/detect-device-insertion.html

Looks nasty...

How important is to pingo the "Windows Suport"?

@ramalho
Copy link
Contributor Author

ramalho commented May 3, 2014

Em 02/05/2014 23:09, "Lucas Vido" [email protected] escreveu:

That's a start:
https://docs.python.org/2/using/windows.html
http://timgolden.me.uk/python/win32_how_do_i/detect-device-insertion.html

Looks nasty...

How important is to pingo the "Windows Suport"?

Do we want users? If yes, then Windows support is important ;-).

It is important to remember that Windows or OSX support is only important
for the remote drivers (Arduino Firmata only at this time) because all the
onboard drivers will run on GNU/Linux.

But I think the Firmata driver is very important because the simplest way
to use Pingo today is to hook an Arduino to your computer running
GNU/Linux, Windows or OSX.

Also, I believe there are more Arduinos in the world than Raspberry Pis and
all the other boards combined.


Reply to this email directly or view it on GitHub.

@Vido Vido added question and removed question labels Jul 16, 2014
@Vido
Copy link
Contributor

Vido commented Feb 6, 2015

On the Campus Party Brasil 8, I saw someone running Pingo on Windows (Win7 I guess).
Does anyone remember what happened?

@ramalho
Copy link
Contributor Author

ramalho commented Feb 6, 2015

Two things happened:

  1. Running pip install pymata did not automatically install pyserial

  2. When we tried to connect to an Arduino we got an error message saying
    that pymata was necessary, which was confusing because we had already
    installed it.

The problem is here:

https://github.com/garoa/pingo/blob/master/pingo/arduino/firmata.py#L42

We catch an ImportError and report that Pingo requires PyMata, but the
problem was with PySerial, not PyMata. I believe the main fault is with pip
which did not pull the required dependency. We had never seen that before
because pip was doing the right thing before. I don't know if it's a bug of
pip on Windows or a but of a recent verision of pip (the user had just
installed Python 2.7; I don't know which version he used, but I assume it
was the latest, and one that came with pip in the Scripts/ dir.

On Fri, Feb 6, 2015 at 10:02 AM, Lucas Vido [email protected]
wrote:

On the Campus Party Brasil 8, I saw someone running Pingo on Windows (Win7
I guess).
Does anyone remember what happened?


Reply to this email directly or view it on GitHub
https://github.com/garoa/pingo/issues/15#issuecomment-73227018.

Luciano Ramalho
Twitter: @ramalhoorg

Professor em: http://python.pro.br
Twitter: @pythonprobr

@gfth4x07
Copy link
Contributor

I had the same problem while I try to run in Debian 7.8.
The pip install pymata don't automatically install the pyserial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants