Go Down

Topic: using Xoscope or Arduinoscope to probe analog circuits (Read 1 time) previous topic - next topic

Pitchoilcan

Nov 06, 2012, 11:44 pm Last Edit: Nov 07, 2012, 12:48 am by Pitchoilcan Reason: 1
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: [Select]
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!
================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

PaulS

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?

Pitchoilcan

#2
Nov 07, 2012, 12:55 am Last Edit: Nov 07, 2012, 12:57 am by Pitchoilcan Reason: 1
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
================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

Pitchoilcan

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: [Select]
port = new Serial(this, Serial.list()[0], 115200);
================================
http://twit.tv/floss61
Think different
Think UbuntuStudio
============================

Go Up