octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56314] Cannot get Octave to recognize Arduino


From: Joel Falk
Subject: [Octave-bug-tracker] [bug #56314] Cannot get Octave to recognize Arduino Pro Mini
Date: Sun, 12 May 2019 17:02:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?56314>

                 Summary: Cannot get Octave to recognize Arduino Pro Mini
                 Project: GNU Octave
            Submitted by: jdfalk
            Submitted on: Sun 12 May 2019 09:02:12 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: jdfalk
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hi, I have a similar issue to bug #54957, except that when I try to connect
Octave to the Arduino I get error messages.

Details:
Arduino Pro Mini ATMega328P 3.3v
Arduino IDE 1.8.9
Octave 5.1.0, 4.4.0, 4.0.1 ( I've tried with all three versions)
instrument-control 0.3.1
arduino 0.3.0
Windows 7 Home Premium

The packages load OK, and the arduinosetup seems to work properly - it loads a
module which I upload to the arduino. I then close the arduino IDE. 


>> pkg load instrument-control
>> pkg load arduino
>> arduinosetup('arduinobinary','C:\Program Files (x86)\Arduino\arduino')
Running "C:\Program Files (x86)\Arduino\arduino"
"C:\Users\Joel\AppData\Local\Temp\oct-f2m8ZT\octave\octave.ino"
ans = 1


However, it does not recognize the arduino:


>> scanForArduinos
ans = {}(0x0)
>> r=arduino()
error: arduino: No arduinos found on serial scan
error: called from
    arduino at line 77 column 11 


trying 
>> r=arduino('COM13')
also gives an error message

I tried your program test_arduinoscan and it sees correctly that the arduino
is on COM13, but then gives an error message again.


>> test_arduinoscan
scanning for possible arduinos
ports =
{
  [1,1] = COM13
}

* trying comport COM13
 ** caught err: serial: Error opening the interface: The system cannot find
the file specified.


I am suspecting that Octave does not work with the Arduino Pro Mini, although
the documentation states it does. Am I missing something? Thanks.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56314>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]