Youen Toupin
300a6be90f
added background reset check (in case the master sends a reset while another operation had started)
10 years ago
Youen Toupin
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)
10 years ago
Youen Toupin
b492dc675c
refactoring wip : search rom (doesn't work yet)
10 years ago
Youen Toupin
dedc44d9d7
refactoring wip : read bytes
10 years ago
Youen Toupin
22e5d690a0
refactoring (wip)
10 years ago
Youen Toupin
0f941a85fb
missing files
10 years ago
Youen Toupin
b6f8497f64
start of code refactoring (OneWireSlave class)
10 years ago
Youen Toupin
55d1bbf127
more 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
10 years ago
Youen Toupin
cf3f309ade
added code to monitor time spent in interrupt handlers
10 years ago
Youen Toupin
c0250f685b
more reliable search rom (but also with more active waiting)
10 years ago
Youen Toupin
f53e2adae8
small optimization
10 years ago
Youen Toupin
6b4f76c5f4
search rom works, but not completely reliable yet
10 years ago
Youen Toupin
74b3f2100e
search rom algorithm almost working (but code is in an awful state, and master doesn't recognize the ROM yet, maybe a CRC issue)
10 years ago
Youen Toupin
68f4fce878
attempt to implement search ROM algorithm (doesn't work at this time)
10 years ago
Youen Toupin
b236a684ca
implemented reading of bytes sent by the 1-wire master
10 years ago
Youen Toupin
8c473f50e4
implemented presence with timer interrupts
10 years ago
Youen Toupin
8fb20ab065
improved debugging messages on serial port (approximate measured time to append a message : 10µs ; messages are actually sent later, from the main loop)
10 years ago
Youen Toupin
03c2f0afd3
implemented reset detection
10 years ago
Youen Toupin
e8677549ea
Merge branch 'master' of ssh://thor:22/OneWireIO
...
Conflicts:
OneWireIO.ino
10 years ago
Youen Toupin
3359c244eb
oscilloscope burst mode test
10 years ago
Youen Toupin
a474a381f9
start of actual OneWireIO project
10 years ago
Youen Toupin
ef01fe74bb
added code to transmit sample frequency along with sample data (more compatibility between arduino and PC, and possibility to change sampling rate at run-time)
10 years ago
Youen Toupin
d0ef4ee9f9
finished basic oscilloscope functionalities (max sampling rate seems to be 38KHz)
10 years ago
Youen Toupin
691ce28d95
basic display of oscilloscope values in SerialMonitor (no zoom or scroll yet)
10 years ago
Youen Toupin
b728db1e26
first version of debug messages display in Serial Monitor console
10 years ago
Youen Toupin
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)
10 years ago
Youen Toupin
16dbbc37e4
Device identification and simple command listening (not tested yet)
10 years ago
Youen Toupin
8be66217dd
Empty Arduino sketch with OWSlave library downloaded from http://forum.arduino.cc/index.php?topic=65706.msg1756727#msg1756727
10 years ago