An idea for simple, OS independent serial data generation.

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

An idea for simple, OS independent serial data generation.

Postby IamPete » Wed Apr 09, 2014 10:46 am

Ooops, what happened to my post?
Last edited by IamPete on Sat Apr 26, 2014 9:07 pm, edited 1 time in total.
IamPete
 
Posts: 14
Joined: Thu Apr 03, 2014 11:34 am

Postby IamPete » Wed Apr 09, 2014 11:21 am

Below, an example wav file with the required tone bursts for the example shown in my previous post.

http://www.datafilehost.com/d/7de995f2
IamPete
 
Posts: 14
Joined: Thu Apr 03, 2014 11:34 am

Postby Bazza » Thu Apr 10, 2014 8:37 pm

One word!

Neat!

I am working on a slow ADC using DC out from the earphone socket and a __counter__ and lookup table using the mic input for the AudioScope to grab the DC component.

I have decided against a Chopper and VCO because it can't detect the DC polarity easily when the input is mono as on the Macbook Pro 13 inch model... It requires 2 hits at the port for DC component and another for the AC component, 3 hits.

I only need one DC control output and one mic input to reduce both components to 2 mic input hits, one apiece...

I really like what you are doing...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1482
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby IamPete » Thu Apr 10, 2014 10:23 pm

Hi Bazza and thank you.

I too enjoy finding simple (and sometimes unusual) ways to solving a problem.
In this case the lack of "traditional" I/O ports on modern computers.

As regards your mono mic input dilemma, have you or are you willing to consider using those small, cheap USB sound cards?
They sell for around 3 or 4 Pounds in some shops and even cheaper online.
They also have only mono mic inputs, but using two of them (or one of them and the internal sound cards mic input) and splitting the audio input to both mic inputs might help you.

Those USB sound cards comply to the standard USB Audio spec so no drivers needed (at least in Linux, don't know about the Mac) and show up as /dev/dsp0, /dev/dsp1 and so on.

BTW, connected one to my Android based phone via a micro USB to "normal" USB adaptor, Android picked it up immediately and I could use it.

Here is a pic of one of them (plenty others around):

Image
IamPete
 
Posts: 14
Joined: Thu Apr 03, 2014 11:34 am


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest