-
Notifications
You must be signed in to change notification settings - Fork 40
exceptions when runnini on arduino nano clone #8
Comments
a small update: I tested also on a different arduino nano clone, with a CH341 based serial - usb adapter like this : exact same result, so I am thinking something is triggered in Pymata, that maybe not directly related to the arduino type ? |
@bshwand This is the same behvavior being seen in issue 7. I am waiting to receive the pololu board to see if I can reproduce it. Are you using StandardFirmata or FirmataPlus on the Arduino? If you are using StandardFirmata, which version are you using? If you are not sure, which version of the Arduino software are you using to load the Nano? One thing I noticed, is that you are using an older version of Python. I am running Ubuntu 14.10 that uses Python 2.7.8 and GCC 4.9. I do not know if this is the cause of the problem yet, but it might be. Lastly what operating system and version of the operating system are you using? |
I am using Standard firmata, I updated to the version available here |
I can trz FirmataPlus. Where can I download it ? |
Thanks for the offer. The pololu board is scheduled for delivery today (a week late), so I will try that to see if I can reproduce the problem. I downloaded12.04 and will install that in a VM as well. The Arduino software should be good. No need to try FirmataPlus, but it does give you some additional funtionality - It provides support for: If you want to use it, it is included with PyMata in the ArduinoSketch directory. Install instructions are included on page 12 of the PyMata Install instructions included int the PyMata Documentation directory. By the way, which kernel are you currently using? You can find that out by issuing: |
@bschwand I installed Ubuntu 12.04 without any updates, ran with python 2.7.3 and using a Leonardo clone, did not encounter the problem, so most likely the vintage of python, gcc or kernel is not the source of the problem. Please don't waste your time upgrading Python. Hopefully when the pololu board appears, I will be able to reproduce the problem. |
to answer your previous question: bruno@vostro1500:~/PyMata/ArduinoSketch$ uname -r |
Success ! (but there is nonetheless a bug somewhere :-)) It looks like some interaction between the hardware and the specific firmata is causing the issue. I flashed FirmataPlus to the arduino and things started working. Maybe the bug is actually in Firmata ? Or, since you both develop FirmataPlus and PyMata, some assumption is common to both but not actually true, and revealed by the Firmata firmware ?
|
Great information. I will need to test Firmata 2.4 which is pretty recent. FirmataPlus is just an extension of Firmata 2.3, so I am suspecting one of the "bug" fixes of 2.4 is causing the issue. Hopefully this will surface in my environment and if it is a bug in Firmata I will report, or if it can be fixed in PyMata I will do so. |
Firmata 2.4 is indeed causing the problem. I have entered an issue for Firmata here. |
Excellent ! |
thanks, I will check them out. Thanks Bruno On Sat, Feb 7, 2015 at 2:21 PM, Alan Yorinks notifications@github.com
|
The Firmata development team have agreed that this is a bug in Firmata 2.4 and will be providing a fix. |
Hello,
this is with Pymata pulled from git as of a78612b .
I am using an arduino nano 3.0 clone, as sold by Baite electronics ( http://goo.gl/awSni2 , although the one I have is the previous version based on FT232R chip instead of CH340). Installed latest firmata 2.4.0 from the firmata releases. I tested Firmata with snap4Arduino, and it seems to work except for the PWM and servo not functioning properly, however this served to confirm firmata is up and running on the arduino.
Here is the error:
The text was updated successfully, but these errors were encountered: