No announcement yet.

HTML or other coding?

  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML or other coding?

    Hi guys,

    I build websites. I customer of mine has come back & asked 2 questions of which I can't really answer;

    1) Is it possible to have a sensor input displayed in a HTML document
    2) Is it possible to use HTML code to control 1 or more relays via a serial port

    This is all the information I have at the muinite, but going on past disscusions I think he is talking along a Car PC line.
    I think he wants me to make a front end for him in HTML to control various bits on this cars.
    I'm pretty happy with most other aspects but the questions raised above.

    If its not what is the best/quickest code to learn to be able to do this?

    Cheers All


  • #2
    I would say yes, JavaScript is what you would use... I remember someone doing something like this online a few years ago but I cant remember who, what, where, or when.
    "Mess with the best, die like the rest."
    Work Log --> Old Car (Totaled)
    Work Log v2 --> New Car (Totaled)
    Work Log v3 --> GMC Suburban K2500 (Engine died)
    Work Log v4.5 --> 05 Toyota Tundra DC SR5


    • #3
      I am not sure how but a quick search shows an activex control to do it.

      But a suggestion would be to use qbasic, it is really easy to pass arguments and control the parallel and serial ports through it. I can link documentation for you if you want