Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Programming with USB
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Aziz




PostPosted: Mon Sep 18, 2006 11:00 pm   Post subject: Programming with USB

Hey guys, again, bringing up the USB issue. I've got an idea for a little project. I want to control an electronic device from a computer (really simple, all I'll need to do is send power on or off). I could easily do this with a parallel port and Turing, but seeing as I don't have a parallel port on my laptop, I'm looking into USB connection. I don't think Turing provides USB support, and I've seen some crazy attempts at it in Java, but I know some VisualBasic as well and willing to dip into C++ or any other language. I might go purchase a wiring kit if I find out this is possible.

Oh, and another thing, wireless! If I want to make a device controlled from a PC wirless emitter. All I'd need is power on/off, is that REALLY complicated, or what? Anyways, I'll google this tommorow. Cya all for now.
Sponsor
Sponsor
Sponsor
sponsor
Justin_




PostPosted: Sat Oct 07, 2006 6:12 pm   Post subject: (No subject)

I'm gonna start looking into usb as well for the same reason. When you say wireless does this mean you've already built a receiver and installed it on your *electronic equipment*?

If yes than... Note i'm not very knowledgable on the subject, but here is a guess: you'd need to tune it to the frequency of the transmitter by using an oscillator and then build a modulator to convert frequency to amplitude (so you get the on and off effect) But from there I don't have any idea's how you could control the frequency of the transmitter... I mean you could start requesting packets by visiting a website to get the ON effect and then when the packets stop transfering the frequency would become sine again and you'd have the OFF affect. It would be doable quite easily if you've made a tunable radio before, but if you haven't than it could take some time to figure it all out.
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: