USB KVM Switch modify project - 2

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

USB KVM Switch modify project - 2

#1 Post by asuz » 20 Oct 2020, 22:09

A few months ago i started a project at the topic USB KVM Switch modify project. That project failed for the reasons I mentioned on that page. So i decided to start a new project with a new KVM. This time i bought a KVM with 4 selection button. That KVM circuit has a micro usb port with 4+1 (ground). This provides port selection. So i decided to connect my nodemcu( already had a ir receiver and ir sender on it) and make that selection with ir remote. I also add a lcd(2004) for future requirements. So how would be the connection ?
I have nodemcu,ir led, ir receiver, PCF8574 GPIO extender also MCP23017, LCD 2004,TLP281 4 CH 4-Channel Opto-isolator IC Module. Is there anybody help me for connection?
Attachments
a.jpg
a.jpg (4.06 MiB) Viewed 47757 times
b-1.jpg
b-1.jpg (177.97 KiB) Viewed 47757 times
opto1.jpg
opto1.jpg (31.18 KiB) Viewed 47757 times
opto2.jpg
opto2.jpg (20.69 KiB) Viewed 47757 times

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#2 Post by asuz » 22 Oct 2020, 02:39

Is there anybody give me idea about the connection, if its ok or not?
Attachments
proje.jpg
proje.jpg (139.4 KiB) Viewed 47710 times

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#3 Post by Ath » 22 Oct 2020, 07:51

Why would you use an opto isolator if you are using the same power source for the 'outside' of that isolator as the Lolin? I would suggest to use a power source from the KVM switch for that, or not use the opto isolator at all, unless you need it for level conversion.
But it looks more likely that the buttons have pull-up resistors, and the action is achieved by pulling the connection to ground, so you might need to check if your switching logic is correct.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#4 Post by TD-er » 22 Oct 2020, 10:18

Well I think it isn't a bad idea here to use optocouplers to replace or override the switches.
After all you don't know if the switches are connected to GND or Vcc and changing impedance may affect the operation of the KVM switch.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#5 Post by asuz » 22 Oct 2020, 21:48

TD-er wrote: 22 Oct 2020, 10:18 Well I think it isn't a bad idea here to use optocouplers to replace or override the switches.
After all you don't know if the switches are connected to GND or Vcc and changing impedance may affect the operation of the KVM switch.
You are right switches are connected to GND not Vcc so I realize that I do not need Vcc at the TLP281 Opto-isolator output side then i remove the J3Y transistor each channel and shorten them with a small wire. Now TLP281 Opto-isolator card act like a relay.
2.jpg
2.jpg (3 MiB) Viewed 47658 times


One more thing i need to know, is that the jumper status are ok if i connect LCD 2004A after PCF8574 GPIO extender or should i need to change them.
Attachments
3.jpg
3.jpg (46.31 KiB) Viewed 47658 times
1.jpg
1.jpg (96.95 KiB) Viewed 47658 times
Last edited by asuz on 23 Oct 2020, 10:26, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#6 Post by Ath » 22 Oct 2020, 22:18

It looks like the default I2C addresses for both PCF8574 and LCD2004 are 0x20, so you should change one of them, and as the PCF has jumpers you could move the A0 jumper to the other position, so it should be configured for 0x21 instead.
/Ton (PayPal.me)

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#7 Post by asuz » 22 Oct 2020, 22:38

Ath wrote: 22 Oct 2020, 22:18 It looks like the default I2C addresses for both PCF8574 and LCD2004 are 0x20, so you should change one of them, and as the PCF has jumpers you could move the A0 jumper to the other position, so it should be configured for 0x21 instead.
Thank you, i will try.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: USB KVM Switch modify project - 2

#8 Post by Grumpf » 23 Oct 2020, 09:31

You mentionned in your previous post a possible boot problem if you use 6 GPIOs of the Lolin. Is that the case or was it just precaution ?

Also, what are those pads on the side of the Aimos ? I can't find the manual for the AM404K, it doesn't have a software key like CTRL-PRTSCN or something similar ? I mention that cause if what you want is simply to use a remote to scan from computer to computer there maybe an easier solution.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#9 Post by asuz » 23 Oct 2020, 10:37

Grumpf wrote: 23 Oct 2020, 09:31 You mentionned in your previous post a possible boot problem if you use 6 GPIOs of the Lolin. Is that the case or was it just precaution ?
I was thinking about modify the KVM switch for that reason i need to use 6 GPIO at lolin.
Grumpf wrote: 23 Oct 2020, 09:31 Also, what are those pads on the side of the Aimos ? I can't find the manual for the AM404K, it doesn't have a software key like CTRL-PRTSCN or something similar ? I mention that cause if what you want is simply to use a remote to scan from computer to computer there maybe an easier solution.
I can't find the manual for the AM404K either. These are Chinese cheap KVM usb switches that share 4 usb stuff with 4 different PC. That KVM does not support keyboard stroke(software key ) switching between devices, for that reason i decide to modify it with ir remote.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: USB KVM Switch modify project - 2

#10 Post by Grumpf » 23 Oct 2020, 10:43

Understood. My electricity knowledge is not that great but basically your KVM will provide +5V and little switches need to be grounded to operate. You do want to command them remotely with a remote (existing or that doesn't matter ?). The IR led is for what though ? You have to pilot something else with it ?

Cheers !

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#11 Post by asuz » 23 Oct 2020, 10:52

Grumpf wrote: 23 Oct 2020, 10:43 Understood. My electricity knowledge is not that great but basically your KVM will provide +5V and little switches need to be grounded to operate. You do want to command them remotely with a remote (existing or that doesn't matter ?). The IR led is for what though ? You have to pilot something else with it ?

Cheers !
In summary, there is a micro usb port at KVM pcb. That micro usb has 4+1 wire connection. 4 wire goes each selection button and 1 is ground. I will trigger each selection button with lolin over ir remote.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: USB KVM Switch modify project - 2

#12 Post by Grumpf » 23 Oct 2020, 11:01

Question for electricians here : If you power the lolin through the KVM, can you drive those lines to GND directly or it'll damage the Lolin ?

As for the remote, you need IR, can't use Wifi ?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#13 Post by TD-er » 23 Oct 2020, 13:00

Grumpf wrote: 23 Oct 2020, 11:01 Question for electricians here : If you power the lolin through the KVM, can you drive those lines to GND directly or it'll damage the Lolin ?
[...]
Well it depends a bit on how you wire it, but I would expect you only pull a line to GND which is pulled up via a pull-up resistor.
That's how almost all GPIO signals are driven on the ESP.
If the optocoupler is used as suggested before, then the ESP does only have to drive an LED.
The signal on the KVM switch side is dealt with by the transistor in the optocoupler.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#14 Post by asuz » 26 Oct 2020, 15:07

I connect nodemcu to the PCF8574 modul then to the 4-Channel Opto-isolator IC Module but when I send the command <esp ip>/control?cmd=PCFGPIO,1,1, I only measure 1 V between IN 1(IN 2, IN3, IN 4) and GND and it seems it doesnot enough voltage to trigger opto output side. When I measure IN 1(IN 2, IN3, IN 4) and GND without opto modul i get 3.3 V. What should I do?
Attachments
4.jpg
4.jpg (148.28 KiB) Viewed 47517 times

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#15 Post by TD-er » 26 Oct 2020, 15:19

Have you tested using a LED and 220 Ohm resistor to check if the PCF does allow to draw the needed current for the LED?
Do you know the voltage drop of the LEDs in the optocoupler?

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#16 Post by asuz » 26 Oct 2020, 19:54

TD-er wrote: 26 Oct 2020, 15:19 Have you tested using a LED and 220 Ohm resistor to check if the PCF does allow to draw the needed current for the LED?
Do you know the voltage drop of the LEDs in the optocoupler?
Thanks i will check LED and 220 ohm. What do you think about using level shifter to power the 4-Channel Opto-isolator modul?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#17 Post by TD-er » 26 Oct 2020, 20:03

First check whether the LEDs inside the optocoupler can be used at this voltage.
As you may already know, the voltage drop differs per LED color.
Red LEDs have a lower voltage drop compared to other colors.
So I assume the voltage drop of the LEDs in the optocoupler are comparable to red LEDs. If not, then this optocoupler may not be usable in this setup.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: USB KVM Switch modify project - 2

#18 Post by Micha_he » 26 Oct 2020, 22:23

Attention:

PCF8574 has:

300 μA at high-level (3.3V) and
25 mA at low-level (0V).

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#19 Post by asuz » 26 Oct 2020, 23:16

Micha_he wrote: 26 Oct 2020, 22:23 Attention:

PCF8574 has:

300 μA at high-level (3.3V) and
25 mA at low-level (0V).
What is your suggestion can you explain a bit more? How can i use that informaiton at my circuit?

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: USB KVM Switch modify project - 2

#20 Post by Micha_he » 26 Oct 2020, 23:27

You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA !
Better connect the anode of the LED+resistor (or LED+resistor of the optocupler) to 3.3v, cathode to the PCF8574-output and switch it on, with a output-state of 0.
Last edited by Micha_he on 27 Oct 2020, 09:52, edited 1 time in total.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#21 Post by asuz » 26 Oct 2020, 23:53

Micha_he wrote: 26 Oct 2020, 23:27 You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA !
Better connect the anode of the LED (or LED oft the optocupler) to 3.3v, cathode to the ouput and switch with a low-output.
Sorry, i am working that project for a while and my mind mixed, do not understad you exactly, if possible can you show me how can i do, if possible drawing light up my way. Or if it is better i can use MCP23017 modul.
Last edited by asuz on 27 Oct 2020, 00:09, edited 1 time in total.

Jakiro
New user
Posts: 3
Joined: 13 Oct 2020, 21:56

Re: USB KVM Switch modify project - 2

#22 Post by Jakiro » 26 Oct 2020, 23:56

thank you! very interesting theme :P

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#23 Post by TD-er » 27 Oct 2020, 09:05

asuz wrote: 26 Oct 2020, 23:53
Micha_he wrote: 26 Oct 2020, 23:27 You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA !
Better connect the anode of the LED (or LED oft the optocupler) to 3.3v, cathode to the ouput and switch with a low-output.
Sorry, i am working that project for a while and my mind mixed, do not understad you exactly, if possible can you show me how can i do, if possible drawing light up my way. Or if it is better i can use MCP23017 modul.
What he meant is that the PCF8574 can only deliver 300 uA, but it can "sink" more.
In other words, if you connect the LED + resistor between the GPIO and GND, then the PCF must deliver the power for the LED.
If you invert it by connecting the (LED + resistor) between 3v3 and the GPIO, then the transistor in the PCF can connect this all to GND for you with enough current to power the LED.

N.B. this also inverts the logic, "0" is LED on.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#24 Post by asuz » 27 Oct 2020, 13:34

TD-er wrote: 27 Oct 2020, 09:05
asuz wrote: 26 Oct 2020, 23:53
Micha_he wrote: 26 Oct 2020, 23:27 You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA !
Better connect the anode of the LED (or LED oft the optocupler) to 3.3v, cathode to the ouput and switch with a low-output.
Sorry, i am working that project for a while and my mind mixed, do not understad you exactly, if possible can you show me how can i do, if possible drawing light up my way. Or if it is better i can use MCP23017 modul.
What he meant is that the PCF8574 can only deliver 300 uA, but it can "sink" more.
In other words, if you connect the LED + resistor between the GPIO and GND, then the PCF must deliver the power for the LED.
If you invert it by connecting the (LED + resistor) between 3v3 and the GPIO, then the transistor in the PCF can connect this all to GND for you with enough current to power the LED.

N.B. this also inverts the logic, "0" is LED on.

1 - OK, i understood thank you and Micha_he. The 4-Channel Opto-isolator modul it too small to edit it but i will try. GND's are common at the pcb so it will be a hard working or i will build 4 piece 817 opto for driven P0,P1,P2,P3 at the MCP23017.

2 - Just want to know your idea about just give up the editing pcb and only remove the 220 ohm resistor (short them) between led and GPIO and connect the P0 to P3 ports directly to the opto?

3 - I need to do after editing Opto-isolator is find a solution to connect ir led and VS1838B ir receiver. Is it possible to connect directly to the P4 and P5 ports of the MCP23017 or should i need something else?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#25 Post by TD-er » 27 Oct 2020, 14:38

If you can't separate the common ground, then you may need to add a transistor in front which does do the heavy lifting for you.
Removing the resistors will only increase the current through the LEDs, so it will not make it easier for the driving output of the PCF.
Resistors in series with the LEDs will lower the current so the current is limited and thus protecting the LED. (LED will get damaged if you power it with a sufficient powerfull supply and no current limiting resistor)

Maybe the MCP can source a higher current?

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: USB KVM Switch modify project - 2

#26 Post by Micha_he » 27 Oct 2020, 14:59

2. No ! The led of the optocupler needs ~1.15V / 10mA. You can not remove the resistor. And the PCF8574 cannot drive +10mA.

3. Look at the IR-led datasheet. If it only needs 300µA, would be unusual, it could work ! In my opinion, there is no Led that works with 300µA.

You need a additional transistor/MOSFET to drive the current for each led/optocupler-led or a schematic like these:
opto.jpg
opto.jpg (9.17 KiB) Viewed 47400 times
Or another I2C port expander...

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#27 Post by asuz » 28 Oct 2020, 21:35

Micha_he wrote: 27 Oct 2020, 14:59 2. No ! The led of the optocupler needs ~1.15V / 10mA. You can not remove the resistor. And the PCF8574 cannot drive +10mA.

3. Look at the IR-led datasheet. If it only needs 300µA, would be unusual, it could work ! In my opinion, there is no Led that works with 300µA.

You need a additional transistor/MOSFET to drive the current for each led/optocupler-led or a schematic like these:
opto.jpg

Or another I2C port expander...
You are right TLP281 4-Channel Opto-isolator IC Module is not suitable for that project even sink connection. I test many different connection but it failed. Then i get some help one of my friend and built similar circuit as your decription with BC546 transistor and PC817 optocoupler for per channel, bingooooo, that works. Thanks for great idea. My projects is about to finish just a few more things i need to do.

ESP_Easy_mega_20201022_normal_ESP8266_4M1M installed at my nodemcu but there is not include ir stuff at that version of espeasy how can i install ir devices in it?
When i install ESP_Easy_mega_20201022_minimal_IRext_ESP8266_4M2M this time there is no PCF8574 device include. What should i do to use both ir and PCF8574 ?

circuit.jpg
circuit.jpg (1.37 MiB) Viewed 47355 times
box.jpg
box.jpg (3.43 MiB) Viewed 47355 times

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#28 Post by TD-er » 28 Oct 2020, 23:32

I think you will need a custom build, as it doesn't seem to be an existing configuration using those.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#29 Post by asuz » 28 Oct 2020, 23:34

TD-er wrote: 28 Oct 2020, 23:32 I think you will need a custom build, as it doesn't seem to be an existing configuration using those.
How can i do that?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#30 Post by TD-er » 28 Oct 2020, 23:36

Setup PlatformIO + VScode and build a custom build...
Or remind me again tomorrow morning and I will make one for you.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#31 Post by asuz » 28 Oct 2020, 23:41

TD-er wrote: 28 Oct 2020, 23:36 Setup PlatformIO + VScode and build a custom build...
Or remind me again tomorrow morning and I will make one for you.
Building by you is better for me i am not familiar that stuff and seems not easy for me doing in a short time i need time to improve myself in time. I will remind you tomorrow with PM. Thank you very muchhhhhh

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#32 Post by TD-er » 29 Oct 2020, 11:28

Can you test this build?
https://www.dropbox.com/s/1qvgk9irw8qm2 ... M.bin?dl=0
If it is working, I will add a "normal_IR" build to the build environments.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#33 Post by asuz » 29 Oct 2020, 13:47

TD-er wrote: 29 Oct 2020, 11:28 Can you test this build?
https://www.dropbox.com/s/1qvgk9irw8qm2 ... M.bin?dl=0
If it is working, I will add a "normal_IR" build to the build environments.
Thank you very much, i just install it but fully test i need to control TSOP4838 and ir IR Transmit. Should i connect them nodemcu GPIO as before or PCF8574 ? If nodemcu GPIO what would be best GPIO choice for me? (PCF8574 is connected at GPIO4 and GPIO 5)

I read something at https://randomnerdtutorials.com/esp8266 ... ence-gpios and high at boot and low at boot things make my mind mixed.

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#34 Post by TD-er » 29 Oct 2020, 14:10

Usually I2C is located at GPIO 4 & 5, but it can be set to different pins.
IR transmit is just like a LED, so that's no problem if it toggles during boot.
For IR receive, there are just a few pins which can NOT be used.
For example GPIO-16 does not have interrupt possibilities, which I believe is used for receiving IR.
Some pins do have (and need) to have a specific state during boot, so if you connect a sensor (or IR receiver) to them, you may end up with a node that will not boot.
For ESP8266 those are 0, 2 & 15.
See: https://espeasy.readthedocs.io/en/lates ... on-esp8266

I see no problem in using GPIO 14, 12 or 13 for the IR receiver.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#35 Post by asuz » 29 Oct 2020, 18:05

Thanks to especially TD-er, Micha_he and my friend HACI for helping to make my dream project come true. Soon, i will record and publish here a video what the actually the project do and might be reference for somebody for a weekend project.

special thanks.jpg
special thanks.jpg (4.21 MiB) Viewed 47231 times

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#36 Post by asuz » 29 Oct 2020, 18:13

I notice that P0 to P7 ports of the PCF8574 GPIO extender is always on after reboot of the nodemcu. How can i set the P0 to P7 ports always off after reboot, should i make a rule or set something at the GPIO boot states ?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#37 Post by TD-er » 29 Oct 2020, 19:28

GPIO boot states are only acting on the internal GPIO's.
If you need to set pins on the external GPIO's, then I would suggest to use rules.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#38 Post by asuz » 30 Oct 2020, 20:39

TD-er wrote: 29 Oct 2020, 19:28 GPIO boot states are only acting on the internal GPIO's.
If you need to set pins on the external GPIO's, then I would suggest to use rules.
Thank you, it works very well.
Last things i need to do is get temperature sensors value from other 2 esp easy and display them at that esp easy's LCD screen. Should I use ESPEasy P2P Networking or something else?

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#39 Post by TD-er » 30 Oct 2020, 21:07

Yes, use ESPEasy p2p for that.
See: https://espeasy.readthedocs.io/en/lates ... #c013-page


Just make sure to have unique unit nrs (not 0, not 255) and use the same UDP port (8266 of course) among them in the same network.

(and keep showing pictures :) )

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#40 Post by asuz » 30 Oct 2020, 21:40

TD-er wrote: 30 Oct 2020, 21:07 Yes, use ESPEasy p2p for that.
See: https://espeasy.readthedocs.io/en/lates ... #c013-page


Just make sure to have unique unit nrs (not 0, not 255) and use the same UDP port (8266 of course) among them in the same network.

(and keep showing pictures :) )
Pictures not enough for you, video will come after all done soon. I need a hand, can you look at the picture and what i am missing, please tell me. I see the 3 esp at the main page but after? I want to send Environment - DS18b20 from senders side to receiver side LCD
Attachments
IR.png
IR.png (49.49 KiB) Viewed 47135 times
IR2.png
IR2.png (28.12 KiB) Viewed 47135 times
IR3.png
IR3.png (51.02 KiB) Viewed 47135 times
Ceylin1.png
Ceylin1.png (45.12 KiB) Viewed 47135 times
Ceylin2.png
Ceylin2.png (52.06 KiB) Viewed 47135 times
Yesilkent1.png
Yesilkent1.png (45.67 KiB) Viewed 47135 times
Yesilkent2.png
Yesilkent2.png (52.42 KiB) Viewed 47135 times

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#41 Post by TD-er » 30 Oct 2020, 21:44

On the sender side you also need to have the ESPEasy p2p controller and link it to the task you want to send via p2p.

On the receiver end you need to have the task nr empty which you try to send.
If you follow the steps on the docs page I linked, you should get it to work.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#42 Post by asuz » 30 Oct 2020, 22:30

TD-er wrote: 30 Oct 2020, 21:44 On the sender side you also need to have the ESPEasy p2p controller and link it to the task you want to send via p2p.

On the receiver end you need to have the task nr empty which you try to send.
If you follow the steps on the docs page I linked, you should get it to work.
Done, thank you again. I learnt its working logic. :D

TD-er
Core team member
Posts: 8642
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: USB KVM Switch modify project - 2

#43 Post by TD-er » 30 Oct 2020, 22:36

asuz wrote: 30 Oct 2020, 22:30 [...]
Done, thank you again. I learnt its working logic. :D
Great!
Not sure if it should be called "logic" as I personally find it quite counter-intuitive to a level of "and then it magically works". (not sure how to describe it anything else)

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#44 Post by asuz » 30 Oct 2020, 23:54

TD-er wrote: 30 Oct 2020, 22:36
asuz wrote: 30 Oct 2020, 22:30 [...]
Done, thank you again. I learnt its working logic. :D
Great!
Not sure if it should be called "logic" as I personally find it quite counter-intuitive to a level of "and then it magically works". (not sure how to describe it anything else)
Describe it however you want, but, yessss it's a really big job. Sometimes it's a little difficult for me to understand the technical stuff in English, but in these times you and other helpful people in the forum have always been with me.Thanks :D

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#45 Post by Ath » 02 Mar 2024, 23:16

On request a Custom build:
ESP_Easy_mega_asuz_custom_IR_ESP8266.zip
(1.13 MiB) Downloaded 47 times
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#46 Post by Ath » 11 Mar 2024, 21:21

A rebuild of the CustomIR build:
ESP_Easy_asuz_20240311_custom_IR_ESP8266_4M1M.zip
(616.58 KiB) Downloaded 17 times
(4M1M build only)
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#47 Post by Ath » 16 Mar 2024, 13:43

Another rebuild of the CustomIR build, now with BUILD_NO_DEBUG enabled, to reduce flash size and memory usage:
ESP_Easy_asuz_20240316_custom_IR_ESP8266_4M1M.zip
(595.68 KiB) Downloaded 13 times
(4M1M build only)
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#48 Post by Ath » 16 Mar 2024, 15:01

A rebuild for ESP32 with the same requested plugins (and most of the default Custom plugins):
(Upload replaced, see below) (ESP32 4M316k)

By default, this Custom_IR build also includes Ethernet support.

Initially flash with the .factory.bin file at address 0x0
Updates can be installed via OTA (Tools/Update Firmware) using the .bin file (without 'factory').
Last edited by Ath on 16 Mar 2024, 16:35, edited 1 time in total.
/Ton (PayPal.me)

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: USB KVM Switch modify project - 2

#49 Post by asuz » 16 Mar 2024, 15:58

I need these devices at ESP32 but custom is not includes those.
Attachments
espsoru.png
espsoru.png (49.58 KiB) Viewed 287 times

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: USB KVM Switch modify project - 2

#50 Post by Ath » 16 Mar 2024, 16:36

Found a small bug in the Build configuration, so the wrong python script was used.
This Custom IR build should include the requested plugins: (ESP32 4M316k)
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 21 guests