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

Username:   Password: 
 RegisterRegister   
 Digital communication
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: Mon May 18, 2009 1:42 pm   Post subject: Digital communication

i dont have much experience in this topic. i do understand the digital wave and how it works _-_--_-__-- etc.
what i'm trying to achieve is to send data in 8-bit. is there a standard delay time in between every bit or does it vary from device to device?

the reason i'm asking is that i'm trying to learn to communicate with certain electronic devices such as http://www.robot-electronics.co.uk/htm/srf02techSer.htm through the parallel port. any information or articles to read would be appreciated.
Sponsor
Sponsor
Sponsor
sponsor
DtY




PostPosted: Mon May 18, 2009 4:07 pm   Post subject: RE:Digital communication

Serial ports (RFC-232c (I think that's the right numbre, the one people call the serial port), USB, Ethernet, etc.) send data in waves, parallel ports, which are very uncommon anymore (the only ones I know off the top of my head are the parallel/printer port, and most old joysticks (like the joystick ports you see on old soundcards, and a lot of old game systems))

Parallel ports communicate by turning pins on and off. To send 8-bits of data, you could either use a delay (kinda simulate serial, which most devices probably do, I don't know much about it), or if you have 8-pins you can use, each one could be a bit.
Homer_simpson




PostPosted: Tue May 19, 2009 2:28 pm   Post subject: Re: Digital communication

i've got it "Serial data is fixed at 9600 "
but i dont think the parallel port is capable of that
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  [ 3 Posts ]
Jump to:   


Style:  
Search: