Chatroom
 

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Bad Astronomy and Universe Today Forum > Space and Astronomy > General Science
Register FAQ Members List Calendar Mark Forums Read

   

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 27-May-2008, 01:46 AM
ASEI's Avatar
ASEI ASEI is offline
Senior Member
 
Join Date: May 2004
Posts: 1,413
Default Analog Input?

I've been doing some thinking about some projects that I want to start. It occurs to me that for many of them it would be nice to be able to do computer control of these devices. This would require that I be able to get analog inputs from the devices in question to a program running on my computer, and send analog outputs back to said device.

As far as how you go about doing that ...

It used to be that old RS-232 ports had some analog value to the pins, ect that could be called up with the appropriate drivers. However, my computer is a modern one and only has USB ports/ethernet, ect. I was looking for USB analog input devices, at which point I keep getting sucked into National Instruments website.

NI makes devices that look a lot like what I'm interested in. They're a bit pricey, but may be within my range.

But what really breaks the deal is that it appears I can't use it in a seperate application (such as the program I want to write) unless I buy their $4xxx professional software.

How do modern hobbyists do inputs/outputs to their computer without some sort of professional DAS device?
Reply With Quote
  #2 (permalink)  
Old 27-May-2008, 01:52 AM
aurora's Avatar
aurora aurora is offline
Senior Member
 
Join Date: Sep 2003
Posts: 2,693
Default

Flight simulators for folks that fly radio control aircraft and helicopters use control boxes that are analog (and look just like the two stick radios that people use to fly radio control). At least I assume it is analog.

The one I have connects to a USB port.

So it has to be possible to get an analog signal into a USB port.
__________________
"I'm as accurate as any psychic. And I'm a cartoon!" -- Squidward

"Arrrgh, the laws of physics be a harsh mistress!" -- Bender
Reply With Quote
  #3 (permalink)  
Old 27-May-2008, 02:21 AM
ASEI's Avatar
ASEI ASEI is offline
Senior Member
 
Join Date: May 2004
Posts: 1,413
Default

Hmm. Nevermind. Maybe you can use the NI hardware without their professional software suite. They seem to give out the base NI-DAQmx drivers.

Anyone else work on a project, say robotics or computer driven control of something? What did you use?
Reply With Quote
  #4 (permalink)  
Old 27-May-2008, 02:51 AM
Veeger's Avatar
Veeger Veeger is offline
Senior Member
 
Join Date: Dec 2007
Location: Ohio, USA
Posts: 850
Default

There are too many questions that need answered before a recommendation can me made, imo:

Is the analog voltage AC or DC and what is the voltage range?
How much precision is required?
Are the analog devices voltage or current loop (I assume voltage)?
Does it need to be isolated or common ground?
If you are going to control something, don't you need appropriate output?
..and if so there are more questions.

One final question - am I making it more complicated than it needs to be?

-V
Reply With Quote
  #5 (permalink)  
Old 27-May-2008, 03:03 AM
ASEI's Avatar
ASEI ASEI is offline
Senior Member
 
Join Date: May 2004
Posts: 1,413
Default

Quote:
Is the analog voltage AC or DC and what is the voltage range?
Probably DC. Low voltage.
Quote:
How much precision is required?
At this point I'd be happy to see a 8-bit int every half second or so.
Quote:
Are the analog devices voltage or current loop (I assume voltage)?
Voltage
Quote:
Does it need to be isolated or common ground?
Quote:
If you are going to control something, don't you need appropriate output?
Eventually.
Reply With Quote
  #6 (permalink)  
Old 27-May-2008, 03:07 AM
01101001's Avatar
01101001 01101001 is offline
Senior Member
 
Join Date: Mar 2004
Posts: 11,439
Default

Quote:
Originally Posted by ASEI View Post
I've been doing some thinking about some projects that I want to start.
Are they space- or astronomy-related, or did another general question land in space and astronomy Q&A?
__________________
0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 ...
Reply With Quote
  #7 (permalink)  
Old 27-May-2008, 03:17 AM
darkdrag0nlq darkdrag0nlq is offline
Junior Member
 
Join Date: Mar 2008
Posts: 19
Default

If you're good with circuits, just get some analog to digital converters, and digital to analog converters, and make a little control box to hold it all. Most IC's are ~$0.50 so this is a very cheap solution.
Reply With Quote
  #8 (permalink)  
Old 27-May-2008, 03:33 AM
parejkoj's Avatar
parejkoj parejkoj is offline
Senior Member
 
Join Date: Aug 2003
Location: Philly and New Haven
Posts: 716
Default

Serial to USB converter? That's what telescopes, focusers and autoguiders use to communicate with modern computers. I'm not exactly sure what you mean by "analog input": would it be ok if you could step across a range of values?

There's also the Lego Mindstorms boxes, though I don't know whether they could actually do what you want.
__________________
"What do you care what other people think?" -- Richard Feynman
"For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Feynman, at the conclusion of his Challenger report
Reply With Quote
  #9 (permalink)  
Old 27-May-2008, 04:38 AM
Veeger's Avatar
Veeger Veeger is offline
Senior Member
 
Join Date: Dec 2007
Location: Ohio, USA
Posts: 850
Default

If your PC has a parallel port, a simple device can be built that can supply six channels of analog input. Google PC voltmeter.

Also there are some products for direct analog to USB and they look pretty inexpensive - google USBee DX - software is free and can be used with Visual Basic.

Of course, all of these ideas are perfect for data acquisition for analog telescopic instruments such as homemade light meters, tracking devices, etc.

EDIT: never mind the USBee - too expensive - I might find some more tomorrow.

EDIT again: http://search.ebay.co.uk/_W0QQfgtpZ1...assZmatthijsfh - its in the UK - price in pounds - same device: http://home.planet.nl/~m.f.hajer/scope2k4/hardware.html
Reply With Quote
  #10 (permalink)  
Old 27-May-2008, 12:07 PM
jokergirl's Avatar
jokergirl jokergirl is offline
Senior Member
 
Join Date: Aug 2002
Posts: 1,271
Default

Don't bother with NI... just... don't.
*shudders*
Guess what I'm working with right now...

There are RS232-USB converters, though I don't think they help with your needs for analog.
An A/D converter in acceptable precision shouldn't be so difficult to solder, though...?

__________________
[Foot mouth in put]
Si tacuisses, philosophus mansisses.
Reply With Quote
  #11 (permalink)  
Old 27-May-2008, 12:15 PM
ASEI's Avatar
ASEI ASEI is offline
Senior Member
 
Join Date: May 2004
Posts: 1,413
Default

Quote:
Are they space- or astronomy-related, or did another general question land in space and astronomy Q&A?
Yeah, this is more of a general question. Sorry about misplacing the thread.
Reply With Quote
  #12 (permalink)  
Old 29-May-2008, 12:07 AM
Andreas Andreas is offline
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 312
Default

How about this? Octopus USB. 8 analog inputs, 0-5V it seems.

It's somewhat ambiguous, but it seems the microcontroller may come unprogrammed currently. So you would additionally need an AVR programmer to load the provided firmware.
Reply With Quote
  #13 (permalink)  
Old 31-May-2008, 02:54 AM
HenrikOlsen's Avatar
HenrikOlsen HenrikOlsen is offline
Moderator
 
Join Date: Sep 2003
Location: Denmark 55.6773° N 12.3610° E
Posts: 5,259
Send a message via MSN to HenrikOlsen Send a message via Yahoo to HenrikOlsen
Default

Quote:
Originally Posted by darkdrag0nlq View Post
If you're good with circuits, just get some analog to digital converters, and digital to analog converters, and make a little control box to hold it all. Most IC's are ~$0.50 so this is a very cheap solution.
And if you're not that good with them, get converters with the I2C interface and google for "i2c bit-banging" to control them, fewer wires to keep track of.

Edit to add: Thanks, you got me triggered so I ended up looking for stuff for my own projects at Maxim1 when I noticed they have free samples of many of their chips which would be ideal for me as I don't need more than two anyway.

1) I am not affiliated with them and is providing the link because it look like it may just be possible to get something for free there.
__________________
And the "driving on the freeway on a scooter" analogy still holds true because the pilots are sitting in 7 to 30 ton aircraft o' doom and you are running around them in your very own Meatbody, Mark I. Beep, beep.
Big Don
Trying to make sense of computers, The Error Log.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The energy machine of Joseph Newman banquo's_bumble_puppy Off-Topic Babbling 180 31-October-2008 04:32 PM
Help needed....(Electrical Engg) randb Off-Topic Babbling 28 04-March-2006 09:24 AM
I want input for a extraterrestrail train. JHotz Space Exploration 30 19-November-2005 06:47 AM
Input needed on these grim scenarios A Song Of Distant Earth Astronomy 16 12-March-2004 06:40 PM
Anti-Gravity / Alternate propulsion system Phobos Against the Mainstream 108 21-January-2004 03:19 PM


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
©  2006 Bad Astronomy and Universe Today