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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/08 19:56
Read: times


 
#159587 - Controlling the sn75176!!
Responding to: ???'s previous message
HAPPY B'DAY 8052.COM!!!! WISHING YOU ALL THE VERY BEST!!!
Thank you all .. Thank you so very much for all the information that you have provided and I Appreciate that.
Secondly .. I am still stuck.. and i need help
There are wide gaps that I need to fill . I hope no one minds my amateurish , not so intelligent:-) questions!!!

Here's what's happening,
2 items from the menu are displayed on the lcd, the patron scrolls thru the items list , ( slave will display the items and know where the cursor is ie the corresponding row of that page).

Let's say a customer liked the 2nd item on the 4th page( if that can be said) he hits enter, the patron gets a message "would you like to confirm the order? - ( slave writes to LCD) - customer hits EN enter- 2 things happen:
1.Lcd displays the list again.
2.order is confirmed ( every item corresponding to a row is say given a code - that is copied to

the acc. and is ready to be xfered .. copied to sbuf )
and now I am in trouble!!!
Now , there are 2 possibilities of working with this part,
ie 1.The master "polls" every slave device to see ,checks TI, if there is anything that needs to

be xfered, and if the polled device wished to xfer info it will do so immediately.... that means

the master is active at all times, ...

or 2. i could use interrupts .. raise INT0/1 on slave, send it on bus to master µc, which when

received by the master , sends an acknowledgement and asks to send data, and is ready to receive

the data and process it.

I really don't know what's the best solution here....

Let's look at the next issue.
1.When slave wishes to send the so called data to the master , we intend to use RS 485 USING

SN75176b. P3.1 (pin 11) of slave is connected to pin 4, and P3.0 (pin 10) is connected to pin 1

of SN75176B (I'll call it RS 485) RE(rs pin 2) to p 3.2( µc 12), and DE( rs pin 3) to p 3.3 (µc

13)
Lets say i wish to send some bits from the slave to the master .
ie . µc needs to make pin 4 (d) high and pin 3(DE) high as well. the truth table provided by the

manufacturer indicates o/p A would be high and o/p B would be low ......
on the master side vid>.2 v to be able to recive ... ahem .. well i really really don't know

how that translates to any communication ... !!!!

I know I am missing a lot here... I'd appreciate if you can help me understand this RS485!!
URGHHHHHHH......



List of 24 messages in thread
TopicAuthorDate
Interfacing RS485 (SN75176) with AT89c51            01/01/70 00:00      
   Select your components with care            01/01/70 00:00      
   Compnents are irreplacable !!            01/01/70 00:00      
      What do you miss in the datasheet            01/01/70 00:00      
      It is a simple chip            01/01/70 00:00      
   do not do rs485 without ...            01/01/70 00:00      
   Here's the info for starting            01/01/70 00:00      
   Controlling the sn75176!!            01/01/70 00:00      
      use the \"industrial strangth\" LT1785 instead            01/01/70 00:00      
         Easy to control the RS-485 transeciever            01/01/70 00:00      
            this is one of the biggest mistakes in RS485            01/01/70 00:00      
               Not so much specific for RS-485            01/01/70 00:00      
               might be???            01/01/70 00:00      
                  These are NOT RS485            01/01/70 00:00      
                     Lack of dominant bit state            01/01/70 00:00      
                        that's exactly why on RS485...            01/01/70 00:00      
                           Token-passing requires explicit or arbitrated mast            01/01/70 00:00      
                        the amazing thing is ...            01/01/70 00:00      
                           ... that it matter            01/01/70 00:00      
                              I am NOT talking about multiple masters, ...            01/01/70 00:00      
      follow the link            01/01/70 00:00      
         the two REAL 485 sources            01/01/70 00:00      
            Preview?            01/01/70 00:00      
               I do not know why            01/01/70 00:00      

Back to Subject List