Timeline for 1-Wire Serial communication to standard RX/TX Serial ports in microcontrollers
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 21, 2014 at 20:23 | vote | accept | Eriol | ||
Nov 21, 2014 at 20:23 | comment | added | Eriol | After analyzing the datasheet a bit longer, I'll try using some of the commands directly there and toy around with them using your suggestion. I'll expand if I find anything else, but I think the +nn command may be of use in the case of the 28380 even though it says otherwise in the datasheet. I'll expand on the specifics back at the Arduino SE if I get it to work. | |
Nov 21, 2014 at 15:43 | comment | added | Wouter van Ooijen | Read up on the 1-wire protocol, it should be explained in the datasheet of your sensors. There are commands that target a specific peripheral (identified by its ID). | |
Nov 21, 2014 at 15:04 | comment | added | Eriol | Alright, so it is kind of silly to drive them with the native UART. I've been able to drive a single sensor using a library, so that part I can understand. Regarding your first point then, what you're telling me is that I can simply do the resetting of the sensors all at once through the same wire, switch the pin state to input, and cycle through IDs with interrupts/using a state machine to be able to read the inputs individually? | |
Nov 21, 2014 at 14:49 | history | answered | Wouter van Ooijen | CC BY-SA 3.0 |