Recent content by frank10

  1. F

    capacitor in wire DQ ?

    I have bought a DS9097U serial adapter, it has 0.2V when the 1-wire net is in sleep state and when it communicate with some chips, it raises at 4,88V. This is the problem I think, because the DS2413 lacks tension and resets itself. Is it normal? Shouldn't be always at 4,88V and going 0V at...
  2. F

    capacitor in wire DQ ?

    This is my C with driver Tmex code for the writing func: short Scrivi_DS2413(long session_handle,unsigned char ch) { short flag, i=0 //access and verify it is there flag = TMAccess(session_handle,state_buffer); if (flag == 1) { // channel access write...
  3. F

    capacitor in wire DQ ?

    Ok, thank you. Reading the DS2413 using external switch works well, it detects the change, but if I try to change the pin status through SW (as I would do with a relè or a led) I have some problems: I tried with TMEX function to read the DS2413 and it works fine, this is the reading with all...
  4. F

    capacitor in wire DQ ?

    I made a circuit with a DS2413 to look for external switch on/off. Is it necessary to add a capacitor on the DQ line to avoid 5V loss when the master sends reset? Which uF and how should I connect it? Should I put also a diode? I put my circuit, could you modify it with the capacitor? Thank you.
  5. F

    programming TMEX on IO 8 channel, random answers

    Thank you sda. So, the final CRC is the sum of all the CRC of the bytes read and this cumulative CRC needs to be checked at the end with the CRC byte at the last byte read. I made it wrong comparing the CRC of a single byte read. Ok, I will try this way.
  6. F

    programming TMEX on IO 8 channel, random answers

    Eric, the power injector could solve this problem? Or maybe the 6 channel hub? Nobody knows about the CRC? Thank you.
  7. F

    programming TMEX on IO 8 channel, random answers

    I discovered what it was: I tried to disconnect a part of the net and now it works well. I have a serial network in a stubbed topology: USB master --> 1xIO --> 4x sensor Temp --> 1x Dualcounter --> 2x sensor temp This part is about 79mt cat5e cable +sensor , and this works The other part...
  8. F

    programming TMEX on IO 8 channel, random answers

    I wrote a prog in C with the TMEX api to drive a Hobby Board IO 8ch. I have two questions: 1) (not crucial) when I control the logic or output state I get a sequence of 1 bit to tell the off state of relè. Shouldn't be the opposite: 0 means relè is off? I.e: relè 2 is on: I get a byte of...
  9. F

    DualCounter counts too much

    Thank you a lot Eric. Now it works very well ! So, the dualcounter doesn't like to be driven by a relè? Or is there some ways to use the relé without the contact bounces? I put the relè because I read the dualcounter input doesn't like external +5v that can drain the battery, so passing...
  10. F

    DualCounter counts too much

    I remembered wrong: it works also without the relé. Now, I check it for some days and I will report how it counts. Thank you.
  11. F

    DualCounter counts too much

    thank you eric, I think I tried without the relé with no luck, but I don't remember for sure. Tomorrow I will try to directly connect the output to the input A and I will tell you if the dualcounter counts.
  12. F

    DualCounter counts too much

    How many milliseconds must be the contact in the input to get correct count in the dualcounter? Because I tried to manually make a short contact with a push button and sometimes it gets a double count instead of one.
  13. F

    DualCounter counts too much

    I made this circuit to get contact clicks from the lamping led light of Energy meter: http://www.flickr.com/photos/5volt/3356938784/ Instead of the K1 relè going to mouse button, I connected the relé to Dual Counter input A. Also, I changed the R4 to about 5k and C1 to 0.22microFarad...
Back
Top