HelloAs the 1-wire counter is discontinued I tried to make my own counter from ds2408 and 8-bit counter with bit output 74hc590. It all stared when my energy supplier changed the energy meter to electronic one with blinking led. It pulses 1200 times per kWh. I read those pulses with phototransistor and amplify it with NPN transistor (74hc590 counts when input changes form low to high). Then I attach the output from 74hc590 to ds2408 and I get the value of the counter by reading sensed.BYTE. It works almost well but sometimes I get double counts. I' rather an amateur so I don't exactly know what's wrong. I suspect that I need to add some capacitor to smooth the change form low to high. Could someone with better knowledge than me look at the schematics and suggest a solution?
And another question about DS2408 behavior. Shouldn't RSTZ change it's state while performing read from sensed.BYTE?
I attach zipped eagle schematic -- p4trykx
<<attachment: counter.png>>
1wire_licznik fototranzystor.sch.tar.bz2
Description: application/bzip2
------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers