Seite 1 von 1
in16-bim112 - 4 input with led(?)
Verfasst: 15. Mär 2025, 16:46
von pete68
hi, I just flashed an ARM sensor with firmware in16-bim112_release_bi4_ts_arm_inverted_v1.12_libv2.10. It works well as an input device, however I did not understand if the firmware provides for the possibility of connecting feedback LEDs, considering that it is possible to configure it via ETS.
From the source files it is not clear (at least I do not understand) if the LEDs are configured on some port of the LPC1115. Is anyone aware of this possibility? thanks
Re: in16-bim112 - 4 input with led(?)
Verfasst: 15. Mär 2025, 17:53
von Darthyson
Hi pete68,
the
in16-bim112 software might support it, but the released
in16-bim112_release_bi4_ts_arm_inverted_v1.12_libv2.10.hexfirmware doesn´t.
You need to change the
config.h and
compile it yourself (wiki in german).
E.g. change empty line
line 18 to
and change
line 64 from
to
This should activate
# define HARDWARE_ID 4 and
hardwareVersion[4] ... "Binary input/LED 4f"
Please keep in mind that this buildconfig is untested, as I honestly didn't even know it exists.
Bye Denis
Re: in16-bim112 - 4 input with led(?)
Verfasst: 15. Mär 2025, 18:38
von pete68
thanks, I can try but which uC ports would be available for the LEDs?
Re: in16-bim112 - 4 input with led(?)
Verfasst: 16. Mär 2025, 05:40
von Darthyson
In theory for a
TS_ARM controller
Code: Alles auswählen
gpio ETS TS_ARM
PIO2_2 A IO2
PIO0_9 B IO3
PIO2_11 C IO4
PIO1_1 D IO5
Re: in16-bim112 - 4 input with led(?)
Verfasst: 16. Mär 2025, 09:11
von pete68
thanks again, but these pins are the ones for the buttons! I meant the ones for the feedback LEDs
Re: in16-bim112 - 4 input with led(?)
Verfasst: 16. Mär 2025, 17:31
von Darthyson
OK, my bad. I thought you meant the LED output function of a
Binary input/LED 4f:

- in16_led_output_parameter.png (18.85 KiB) 3448 mal betrachtet
However, you mean the LEDs that indicate the current status of the input (feedback LEDs).
So forget everything I've written so far.
The simple answer is that the
in16-bim112 software does not yet support feedback LEDs.
Re: in16-bim112 - 4 input with led(?)
Verfasst: 17. Mär 2025, 07:37
von pete68
grazie