pulse counter with neuron

  • Hi,
    I'm having some issues connecting a pulse counter to my neuron: the pulse counter's led is flashing, indicating that it is sending out pulses, but the neuron isn't counting any pulses at all, and the green led to indicate action on I1.1 on the neuron is also not blinking, so I suspect that the pulse isn't seen by the neuron.
    This is the diagram that was included with the pulse counter:
    alt text
    So I have connected 7 to DIGND and 6 to DI1.1, but nothing's happening. Did I make a mistake here?
    The pulse duration is 90 ms, so I set the debounce of DI1.1 to 0. I also changed the scan_frequency parameter to 8 in /etc/evok.conf but this might be more important for the unipi?
    What am I doing wrong?

  • And what's the value of the pullup resistor Rc?

  • In my opinion, you are missing here supply voltage, which you need to limit current to protect the transistor of pulse counter with Rc. Usually this value would be limit on maximum ratings 50mA. I would have liked to 10mA and on examply 24V is this value 2400 Ohm. In datasheet for Neuron is value for Input resistance 6200R and minimum voltage is 5V.
    This results in the value of the minimum current 806uA. Sum of input resistance and Rc si now 8600 Ohm and with 24V you have 2,7mA for digital input. And that is enough for operation of transistor S0 output and Neuron input. Simply use pullup resistor Rc 2200R or something in this range. You will avoid the limit values like 10k or 20k due to speeds and low values due working supply voltage and kill transistor of course.

  • many thanks.
    Found this is in the doc: the load resistance (RC) must be designed so that the closed contact current is under 100 mA.

Log in to reply

Looks like your connection to UniPi.technology Forum was lost, please wait while we try to reconnect.