| ??? 01/17/05 15:47 Read: times |
#85105 - You mean Dallas 1-Wire? Responding to: ???'s previous message |
Leon Botha said:
I have three(3) 1wire lines, P2.0 – P2.2 and P2.4
The reason is I need to know where the 1wire device was presented Erik Malund said:
I do not understand, are you saying that either of the 3 will start wiggeling and you want to find out which? Are we talking about the same problem as here: http://www.8052.com/forum/read.phtml?id=76444 The problem here is that all 1-Wire devices (eg, iButton readers) are in parallel; so, although you can tell that an iButton has been presented somewhere, you cannot tell where! Erik Malund said:
That will take you into big doo-doo since you have no guarantee that another will not start wiggeling while you process one. Well, the micro is presumably the Master here - so it's the micro that controls the wiggling! Erik Malund said:
Try again, after typing read it with the eyes of someone totally ignorant of what you are doing Very true! Remember, not every one will see "1wire" and automatically know that you are talking about the Dallas Semiconductor 1-WireTM network system! |
| Topic | Author | Date |
| sbit | 01/01/70 00:00 | |
| I do not understand | 01/01/70 00:00 | |
| You mean Dallas 1-Wire? | 01/01/70 00:00 | |
| Re | 01/01/70 00:00 | |
| What's the problem? | 01/01/70 00:00 | |
| I think that... | 01/01/70 00:00 | |
| indirect bit addressing | 01/01/70 00:00 | |
| The same iButton on all 3? | 01/01/70 00:00 | |
| sbit | 01/01/70 00:00 | |
| access all 3 , one at a time | 01/01/70 00:00 | |
| I had the same problem | 01/01/70 00:00 | |
| Lets try again | 01/01/70 00:00 | |
| Need ? | 01/01/70 00:00 | |
| Why? | 01/01/70 00:00 | |
| There is always the switch statement | 01/01/70 00:00 | |
| something like this... | 01/01/70 00:00 | |
| Simultaneous example | 01/01/70 00:00 | |
| Use MASK rather than bit address | 01/01/70 00:00 | |
| Oooops, sorry... | 01/01/70 00:00 | |
| Multiple 1Wire | 01/01/70 00:00 | |
| How to post code, and possible hang-up | 01/01/70 00:00 | |
| simultaneous? | 01/01/70 00:00 | |
| would even be better | 01/01/70 00:00 | |
If it worked! | 01/01/70 00:00 |



