AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 16th July, 2004, 07:44 PM
DigitalKnight's Avatar
Member
 
Join Date: October 2003
Location: Jefferson City, MO, USA
Posts: 99

Connecting to a computer...

For my cap-stone class my team is building a sensor system, and we would like to write the software in such a way so that we can up-load the data to a computer after a set time. My question is this: Would it be easier to use USB or the use a parallal port to comunicate with the PC?

Thanks for any input.

DK.
__________________
No matter how big you are, there are always bigger fish...

Main Rig: - Down
Proc: P4 2.66 Ghz Mobo: MSI MS-6701 RAM: 768 Mb DDR333 Video Card: GeForce4 Ti 4200 OS: Windows XP SP2 / Mandrake Linux 9.0
Laptop:
Proc: P4 3.06 Ghz RAM: 1280 Mb DDR400 Video Card: ATI Radion Mobility 9000 OS: Windows XP SP2

AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 16th July, 2004, 07:58 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

Good question. How much data do you have to transfer? Does your sensor network have a dedicated controller of it's own?

If you're using Windows NT/2000/XP, then you're shielded from the hardware by the OS. You then have to place another layer of software (GiveIO for example) in the mix in order to be able to get at the port hardware. It's certainly doable however!

Alternatively, you could use the serial port, which is fairly easy to interface to, isn't that fast, but doesn't require special drivers.

For USB, there's a number of devices and ActiveX controls that can make your life much easier. USB also nets you reasonable speeds. There are some good USB to FIFO chips out there. FTDI do some nice components that shouldn't be too hard to get hold of. The FT232BM is pretty nice - see this page for more details on it.
__________________
Any views, thoughts and opinions are entirely my own. They don't necessarily represent those of my employer (BlackBerry).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 16th July, 2004, 09:30 PM
DigitalKnight's Avatar
Member
 
Join Date: October 2003
Location: Jefferson City, MO, USA
Posts: 99

I think that it'll be around 2 mb of data. The sensor is a VOM circuit that records a voltage and current reading every five seconds for a couple of days. Right now I am thinking of using a CPU, some flash memory chips, and VOM circuit, and maybe if need be a I/O controller. Given the small amount of data to be moved I don't think that the speed of a USB connection is needed, I'm just looking for the easiest connection option possable, as most of our time will be spend on the sensor package (I hope).
__________________
No matter how big you are, there are always bigger fish...

Main Rig: - Down
Proc: P4 2.66 Ghz Mobo: MSI MS-6701 RAM: 768 Mb DDR333 Video Card: GeForce4 Ti 4200 OS: Windows XP SP2 / Mandrake Linux 9.0
Laptop:
Proc: P4 3.06 Ghz RAM: 1280 Mb DDR400 Video Card: ATI Radion Mobility 9000 OS: Windows XP SP2

AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 16th July, 2004, 10:58 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

If your controller has a UART, you can throw data out it's UART to the PC's serial port. If it doesn't, you can always bitbang the stuff up to the PC.
__________________
Any views, thoughts and opinions are entirely my own. They don't necessarily represent those of my employer (BlackBerry).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting a PSP to an Xbox 360 danrok Mobile Devices and Networking 4 4th December, 2005 01:29 PM
Connecting SLI JPR420 Graphics and Sound cards; Speakers and other Peripherals 11 9th August, 2005 02:15 PM
connecting to net but can't browse michealwolfe CRASHED! 6 31st March, 2005 02:10 PM
Has any one tried connecting a CD-ROM to SATA on NF7-S? mookydooky AMD Motherboards & CPUs 10 22nd March, 2004 01:01 AM
folding/connecting to the net kat ThunderRd's AOA FOLDING@HOME Team 3 30th December, 2001 03:32 PM


All times are GMT +1. The time now is 03:08 PM.


Copyright ©2001 - 2023, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0