Pages: [1]   Go Down
Author Topic: using Xoscope or Arduinoscope to probe analog circuits  (Read 1432 times)
0 Members and 1 Guest are viewing this topic.
New York City, NY
Offline Offline
Full Member
***
Karma: 0
Posts: 141
Arduino Rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all, I have a two part question. I need to test the responsiveness of some piezo sensors, and  came across Xoscope [for ubuntu]  an oscilloscope that uses a sound card (via /dev/dsp or EsounD)  as the signal input. The Built-in mic on my laptop delivers an audio level reading to the scope. So far so good. Question:

1. "Buffer Hardware for xoscope"
Is it safe to use the mini inputs jacks on my laptop to probe an analog circuit with or without  the buffer Hardware. See Xoscope here: http://xoscope.sourceforge.net/  NOTE: Buffer Hardware for xoscope http://xoscope.sourceforge.net/hardware/hardware.html

This post frames it nicely. http://sourceforge.net/projects/xoscope/forums/forum/23486/topic/1142171
Quote
How much voltage can I have at the RCA jack before my soundcard fries.

(I have read somewhere that the maximum inline of a soundcard is about 2 V, is this true)

and
2. "Processing and Mega 2560"
I trying to use arduinoscope with the Arduino Mega 2560.
Processing reports:
ArrayIndexOutOfBoundsException: 0
Code:
port = new Serial(this, Serial.list()[0], 115200);
I don't get this with the ArduinoDuemilanove. Unfortunately I need it to run using the Mega 2560 as that's my spare at the moment.
See Arduinoscope here: http://code.google.com/p/arduinoscope/wiki/Usage

Any Ideas?
Thanks much!
« Last Edit: November 06, 2012, 06:48:37 pm by Pitchoilcan » Logged

================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 654
Posts: 50956
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't get this with the ArduinoDuemilanove. Unfortunately I need it to run using the Mega 2560 as that's my spare at the moment.
Are you able to upload sketches to the Mega? Processing is telling you that it can't see the Mega, which implies that the drivers are missing.

Is this on ubuntu?
Logged

New York City, NY
Offline Offline
Full Member
***
Karma: 0
Posts: 141
Arduino Rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is this on ubuntu?

corect.
Processing-1.5.1
Yes, I am able to upload arduinoscope.pde to the Mega.
Quote
I've confirmed that Processing does not talk to the Mega 2560.
http://arduino.cc/forum/index.php?action=printpage;topic=79341.0
« Last Edit: November 06, 2012, 06:57:46 pm by Pitchoilcan » Logged

================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

New York City, NY
Offline Offline
Full Member
***
Karma: 0
Posts: 141
Arduino Rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I installed the Processing library for arduinoMega: processing-arduinomega.zip from http://www.arduino.cc/playground/interfacing/processing but the result is the same.
Quote
ArrayIndexOutOfBoundsException: 0
Code:
port = new Serial(this, Serial.list()[0], 115200);
Logged

================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

Pages: [1]   Go Up
Jump to: