Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"KCS" v3.9.1 firmware BIN file download
#11
I've found another possible bug in the 3.9.x firmware, this time with the output ports rather than the input ports.  Specifically, if you select "Reverse" on the output, in this case DO2, then setting it has no effect.  Here's the setup:

   

Here's the output not set:

   

And here's the output set:

   

So the output state never changes, whether it's set or not set.
Reply
#12
we will check.
Reply
#13
Any update on this? ATM I can't use the board to control things because the output never changes.
Reply
#14
because now during china holidays, we will check when we begin to work.
Reply
#15
It's been nearly a month and I still can't use the board to control an output device, has there been any progress on this?
Reply
#16
these days will update new firmware.
Reply
#17
we have tested all v3.9.x firmware, " Reverse" function all work well. here is test photo.
   
   
can you test with other DO? i have tested with DO1, DO2 all work well.
or you can ERASER ESP32 chip, re download firmware have a test.
Reply
#18
I think I've found the problem, it's caused by the way the output circuitry is set up.  The output LED for e.g. DO1 is lit when there's a voltage between Y1 and GND, whether the output is on or not.  In other words instead of being before the output MOSFET, which would only cause it to be lit when the TLP181 optocoupler output is on, it's after the MOSFET, so if Y1 is connected to something with a pullup then the output LED will be lit even with the MOSFET switched off.

I'll need to do some rewiring tomorrow to test this, I'll post the results here.
Reply
#19
ok
Reply
#20
I've confirmed that this is in fact the problem, the external device (which is a black box, I can't see the insides) has a pullup or something similar on it which puts a small voltage across the output pin.  This means that the output LED is lit even when the output is off.

Is there any reason why the output-on LED is set up to indicate the presence of a voltage on the output pin rather than being between the optocoupler and the MOSFET, so actually indicate whether the output is on?  Putting it before rather than after the MOSFET switch would avoid issues like this.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)