3e251a82f6integrated Timer1 library (instead of custom code) ; but for an unknown reason it breaks the 1-wire communication (timer code doesn't work at all, or timings are wrong, or both) ; search algorithm is broken, and probably everything else as well
timer1
Youen Toupin
2017-05-03 22:06:09 +0200
64b496a549Merge branch 'master' into timer1
Youen Toupin
2017-05-03 21:59:50 +0200
a108089f02fixed probable cause of rare 1-wire bus deadlock where the Arduino would not release the bus and keep pulling it low forever (thanks to fari on http://www.stm32duino.com/viewtopic.php?f=9&t=1852 for posting this fix)
Youen Toupin
2017-04-25 21:11:19 +0200
3e75b83248updated sample code with new function names
Youen Toupin
2016-03-20 10:11:01 +0100
f068849a7d- breaking change: writeBit has been renamed to beginWriteBit to show it's asynchronous, and a new function writeBit has been introduced, which is synchronous and can't be called from an interrupt handler - fixed possible bugs when a write operation is canceled and a timer interrupt is still registered
Youen Toupin
2015-12-20 21:40:25 +0100
b71858b9a3- fixed synchronous write bugs - added possibility to log messages generated by OneWireSlave
Youen Toupin
2015-12-18 23:25:02 +0100
b92a13a59d- breaking change: OneWireSlave::write has been renamed to OneWireSlave::beginWrite, to show it's asynchronous. A new function OneWireSlave::write has been introduced, which is synchronous (and can't be called from an interrupt handler) - added code to make sure a client completion callback will always get called, even if it's because of a reset or an error
Youen Toupin
2015-12-18 21:13:46 +0100
5621c45c02Merge pull request #5 from ntruchsess/fixresetdetection
Youen
2016-02-25 19:03:38 +0100
c7457d0d8afix missing detection of reset during write of zero-bits
ntruchsess
2016-02-23 17:23:54 +0100
887741a806- added possibility to be notified of individual bits received - fixed bug when sending individual bits or canceling a write operation - DS18B20 sample now sends zeros during conversion, and ones when conversion is finished
Youen Toupin
2015-12-14 23:00:27 +0100
c5a141b57eadded code to write individual bits (instead of bytes), and to cancel the current write operation before it completes
Youen Toupin
2015-12-14 22:32:26 +0100
35b866d933basic implementation of DS18B20 emulation
Youen Toupin
2015-12-13 22:03:13 +0100
b97a643227- breaking change: global instance of OneWireSlave renamed from "OneWire" to "OWSlave" to avoid conflict with the OneWire master library in case someone wants both libraries in the same sketch - upgrade to visual 2015 and arduino IDE 1.6.6
Youen Toupin
2015-12-13 21:33:43 +0100
216fcf8cb5- methods that don't write memory now take const parameters - simplified pin number management
Youen Toupin
2015-08-11 21:18:35 +0200
300a6be90fadded background reset check (in case the master sends a reset while another operation had started)
Youen Toupin
2015-04-26 21:09:30 +0200
2294595995- fixed bug in Pin::attachInterrupt (this is an arduino bug : interrupts that have been triggered before the handler is attached will cause it to be called immediately ; but only interrupts happening after should call the handler) - changed OneWireSlave interface to make it completely static (there is an instance, but it's only a wrapper to the static stuff, so that the syntax looks nice) - the search rom algorithm works fine most of the time, but sometimes it fails, probably because of interrupts being blocked at the wrong time (small delay to respond to the master to send a zero)
Youen Toupin
2015-04-26 20:24:11 +0200
b492dc675crefactoring wip : search rom (doesn't work yet)
Youen Toupin
2015-04-26 19:46:52 +0200
55d1bbf127more robust reset detection, now purely implemented in interrupts, that allows the match rom algorithm to work even if our rom is not the first one
Youen Toupin
2015-04-25 12:19:31 +0200
cf3f309adeadded code to monitor time spent in interrupt handlers
Youen Toupin
2015-04-25 00:19:47 +0200
c0250f685bmore reliable search rom (but also with more active waiting)
Youen Toupin
2015-04-25 00:06:00 +0200
6b4f76c5f4search rom works, but not completely reliable yet
Youen Toupin
2015-04-24 22:34:55 +0200
74b3f2100esearch rom algorithm almost working (but code is in an awful state, and master doesn't recognize the ROM yet, maybe a CRC issue)
Youen Toupin
2015-04-24 20:17:29 +0200
68f4fce878attempt to implement search ROM algorithm (doesn't work at this time)
Youen Toupin
2015-04-24 12:13:29 +0200
b236a684caimplemented reading of bytes sent by the 1-wire master
Youen Toupin
2015-04-24 11:29:59 +0200
8c473f50e4implemented presence with timer interrupts
Youen Toupin
2015-04-24 10:30:11 +0200
8fb20ab065improved debugging messages on serial port (approximate measured time to append a message : 10µs ; messages are actually sent later, from the main loop)
Youen Toupin
2015-04-23 18:56:18 +0200
e8677549eaMerge branch 'master' of ssh://thor:22/OneWireIO
Youen Toupin
2015-04-23 15:07:36 +0200
3359c244eboscilloscope burst mode test
Youen Toupin
2015-04-23 15:06:13 +0200
a474a381f9start of actual OneWireIO project
Youen Toupin
2015-04-23 10:39:45 +0200
ef01fe74bbadded code to transmit sample frequency along with sample data (more compatibility between arduino and PC, and possibility to change sampling rate at run-time)
Youen Toupin
2015-04-16 19:30:57 +0200
d0ef4ee9f9finished basic oscilloscope functionalities (max sampling rate seems to be 38KHz)
Youen Toupin
2015-04-14 00:16:48 +0200
691ce28d95basic display of oscilloscope values in SerialMonitor (no zoom or scroll yet)
Youen Toupin
2015-04-12 19:49:17 +0200
b728db1e26first version of debug messages display in Serial Monitor console
Youen Toupin
2015-04-12 12:16:54 +0200
a7ae407b6c- removed the OWSlave library (that just doesn't work, at least on Arduino Uno when talking to a DS9490 master) - added debugging tools (oscilloscope and debug messages through serial port ; work in progress) - empty C# application for displaying debug data (work in progress)
Youen Toupin
2015-04-11 20:28:53 +0200