How to read from Serial port in a webpage

后端 未结 4 844
轮回少年
轮回少年 2020-12-18 06:05

I want to design a webform that user should fill some fields. The value of one field should be read from Serial port (COM1) of client computer which a special hardware is co

4条回答
  •  长情又很酷
    2020-12-18 06:19

    I was solving the same problem and I did it. It is done using a Java Web Applet. You will need NetBeans. Read "readme" first. Let me know if anything, pls.

    http://racky.wz.cz/applet_rs232.zip

    Designed for serial COM1. Plug in it a RS-232 cable and short (connect) pins 2 and 3 on the other end.

提交回复
热议问题