Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

An idea for simple, OS independent serial data generation.

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
IamPete



Joined: Thu Apr 03, 2014 12:34 pm
Posts: 14

PostPosted: Wed Apr 09, 2014 11:46 am    Post subject: An idea for simple, OS independent serial data generation. Reply with quote

Ooops, what happened to my post?

Last edited by IamPete on Sat Apr 26, 2014 10:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
IamPete



Joined: Thu Apr 03, 2014 12:34 pm
Posts: 14

PostPosted: Wed Apr 09, 2014 12:21 pm    Post subject: Reply with quote

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

http://www.datafilehost.com/d/7de995f2
Back to top
View user's profile Send private message
Bazza
LXF regular


Joined: Sat Mar 21, 2009 11:16 am
Posts: 1473
Location: Loughborough

PostPosted: Thu Apr 10, 2014 9:37 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
IamPete



Joined: Thu Apr 03, 2014 12:34 pm
Posts: 14

PostPosted: Thu Apr 10, 2014 11:23 pm    Post subject: Reply with quote

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):

Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast