Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Looks like on line 87 of SimpleSerialArduinoscope.pde it assigns the port to 
the first Serial port it finds.  If your UNO is not that first serial port 
(possibly because, for example, you also have your FTDI cable hooked up and IT 
is the first serial port) then it won't establish the connection properly.  (It 
would probably be best if there were some mechanism for selecting which serial 
port it attempts to connect to the Arduino on, rather than having it be 
hardcoded like it currently is.)  In the meantime, try playing around with your 
serial port connections and maybe you'll find a combination that lets it read 
the Arduino.

Best Wishes,
Tcepsa

Original comment by [email protected] on 29 May 2011 at 4:46

from arduinoscope.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
On Ubuntu 11.04 the serial port of the Adurino UNO is /dev/ttyACM0 . 
Unfortunately the Processing environment doesn't recognize this port. See:
http://code.google.com/p/processing/issues/detail?id=634
After symlinking the USB serial port to another name
sudo ln -s /dev/ttyACM0 /dev/ttySA0
I got it working.

Original comment by [email protected] on 30 Jul 2011 at 2:45

from arduinoscope.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
That issue is apparently fixed, and some people say changing the line to
  port = new Serial(this, Serial.list()[1], 115200);
(subscript 1 instead of 0) solves the problem, but that seems hacky.

I'd be happy to write a patch that tries looping over available serial 
connections if someone can give me a hint how to build SimpleSerialArduinoscope 
from source. I've tried various combinations of javac and ant commands but 
haven't gotten anywhere.

Original comment by akkana on 15 Jan 2012 at 6:39

from arduinoscope.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
You can view the source in Processing when you open the example. I think I'd 
eventually like to have this all be user-initiated (user selects correct serial 
port) but for now, you can just set it to use a differnt port by replacing 0 
with whatever serial-port you want to use on teh line that looks liek this:

port = new Serial(this, Serial.list()[0], 115200);

Original comment by [email protected] on 25 Sep 2012 at 6:51

  • Changed state: Fixed

from arduinoscope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.