Comments (4)
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.
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.
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.
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)
- Array out of bounds exception on slow machines. HOT 5
- ProMini FTDI interference traces HOT 2
- arduinoscope with processing-1.2.1 didn't start HOT 3
- Step size x-direction HOT 1
- All inputs identical HOT 4
- Another implementation (without Java) HOT 3
- all channels show same values HOT 6
- readStringUntil(int) HOT 1
- controlP5.ControlP5 checkName HOT 1
- Supplied packages' serialEvent() does not update global vars HOT 1
- ardinoscope does not run
- Erro r
- Filling memory at startup HOT 2
- arduinoscope.java library not recognized by processing HOT 8
- Library incompatibility with 32-bit Intel Macs HOT 6
- Select a different serial port HOT 1
- Unable to Compile in windows HOT 1
- Manual for standalone application? HOT 4
- Can't download misnamed file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduinoscope.