Hardware Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsHARDWAREHardware Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old December 19th, 2008, 01:47 PM
macmoy macmoy is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Posts: 1 macmoy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 18 sec
Reputation Power: 0
Question How to communicate with a hardware? NOOB here.

Hi guys!
I want to make a device that will send 1 or 0 OR true or false to the computer.
Here's the scenario.
I want to make that device,then when 1 or true is sent to my program in the computer(windowsXP), a sound will be playing. so the questions are:

(from a total noob)
How will I make that device?
How to connect it to the computer? (usb? or something else?)
How will my program communicate with that device?(i think, my program will only be listening inputs from the device.
The device must have 8 toggles(i mean, 8 peices of 1 or 0)

Please help me with this, I badly need it.
Thanks a lot.

by the way, I know how to program in vb6,c++(im a game developer).
I hope I can make this device. thanks a lot in advance.

Reply With Quote
  Trader Rating: 0 · #2  
Old March 30th, 2009, 07:21 AM
short's Avatar
short short is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Posts: 45 short User rank is Sergeant Major (2000 - 5000 Reputation Level)short User rank is Sergeant Major (2000 - 5000 Reputation Level)short User rank is Sergeant Major (2000 - 5000 Reputation Level)short User rank is Sergeant Major (2000 - 5000 Reputation Level)short User rank is Sergeant Major (2000 - 5000 Reputation Level)short User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 2 h 23 m 13 sec
Reputation Power: 24
Quote:
Originally Posted by macmoy
I want to make that device,then when 1 or true is sent to my program in the computer(windowsXP), a sound will be playing. so the questions are:

(from a total noob)
How will I make that device?
How to connect it to the computer? (usb? or something else?)
How will my program communicate with that device?(i think, my program will only be listening inputs from the device.
The device must have 8 toggles(i mean, 8 peices of 1 or 0)

What you are asking is not easy for total noob.
First, to make one such device, you need some wire, some switch, solder, soldering wire..... etc. MOST IMPORTANTLY, some sort of device that can convert your switch (true/false) into a signal that computer can understand. This usually can be achieved by certain IC. or, if you have lots of money, just buy a daq device that has at least 8bit digital in. either way, it is highly related to your second question. In short, you solder the device or you buy it.
Second, which I think it should be the first one, pick the interface you like. USB is not a bad choice these days but if you have a PCI daq card, than, you acquire your true and false data through PCI. lots of way to do.
Third to communicate with your DAQ system, it depends on which DAQ you choose. lots of DAQ support VB, some even use AT command (like talking with a modem).
In conclusion, if you want it fast, buy a USB DAQ that has VB class library already written by the manufacturer. If you want to learn how to make one from scratch, pick an IC, something like PIC18F2455/2550/4455/4550 will do. read the ~460 pages manual and you should be able to not only construct one of you dreaming controller, but also write the controller(receiver) program.
Good luck.

Last edited by short : March 30th, 2009 at 07:25 AM.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsHARDWAREHardware Development > How to communicate with a hardware? NOOB here.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT