Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/04/07 06:39
Read: times


 
#140219 - Insufficient Information
Responding to: ???'s previous message
Prabir Biswas said:
i have to transmit data through P1.1 pin.

Why specifically that pin?

Why can't you use a UART?

Must it be only a single pin, or could you add another for a clock signal?

How much data?

How fast?

How often?

Does the receiving device impose any restrictions?

Does the transmission medium impose any restrictions (eg, some require an average DC level of zero)?

As Richard said, Manchester encoding could be an option: http://www.8052.com/forum/read.phtml?id=140213

You could implement the transmit half of a software UART

You could look at how something like Dallas 1-WireTM works.

what should be the code in Bascom8051 ?

Impossible to answer on the information given.

Even with sufficient information, I'd echo Richard's doubts as to whether BASIC (or, in fact, any high-level language) is appropriate: http://www.8052.com/forum/read.phtml?id=140213



List of 13 messages in thread
TopicAuthorDate
data transfer through any port pin            01/01/70 00:00      
   Two questions ...            01/01/70 00:00      
      Manchester Encoding            01/01/70 00:00      
      data transfer through one pin            01/01/70 00:00      
      data transfer through any port pin            01/01/70 00:00      
   Insufficient Information            01/01/70 00:00      
      data transfer through any port pin            01/01/70 00:00      
   Normally two pins are needed            01/01/70 00:00      
      Not for PWM Methods            01/01/70 00:00      
      one only signal pin            01/01/70 00:00      
   Does BASCOM have...            01/01/70 00:00      
      Looks like...            01/01/70 00:00      
         data transfer through any port pin            01/01/70 00:00      

Back to Subject List