Embedded device controlled from the Web without ESP

Discuss PC Developer and Web Developer projects and features here.
User avatar
Nico595
Posts: 76
http://meble-kuchenne.info.pl
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Embedded device controlled from the Web without ESP

Post by Nico595 »

Hi Steve,

Thank you so much for your answer.

I use often Mozilla Firefox but I will try with Chrome tonight.
The Windows driver is the cdc driver provided by Microchip.
Last edited by Nico595 on Tue Apr 29, 2025 5:12 pm, edited 2 times in total.

User avatar
Nico595
Posts: 76
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Embedded device controlled from the Web without ESP

Post by Nico595 »

I just tried with Chrome, the Request function work fine. After that I sent cmd packet to set a value, work fine. also I display the return value by the device.

I am very happy, now I can connect my device to the Web App :)

I will design a light version of my Pc App with only control and feedback. I will also try with Chrome Linux browser.
About Web App, I can't find numerical display, I have Gauge and Text but Text is a string and Gauge is too big because I have many values.

I must convert received String to Dec to display the number between 1 - 99. I can create a macro to do that, but is it the best method ?

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: Embedded device controlled from the Web without ESP

Post by Steve-Matrix »

That's great news. I will make a note to check on Firefox and investigate their support for the Serial API.

User avatar
Nico595
Posts: 76
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Embedded device controlled from the Web without ESP

Post by Nico595 »

Thanks Steve.

Mozilla Firefox stay a very popular web browser.

EDIT: I used the JS windows to convert my ascii string return value in string number. It's very perfect. With the USB Com I can design a light Web App to drive my device :)
NOTE: I tried add Charts and Gauge but not visible in the web browser, may be an external plug-in. Also, can I use PHP code in the page if I rename index.html to index.php ?

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: Embedded device controlled from the Web without ESP

Post by Steve-Matrix »

Please attach (or PM me) your Web App fcsx file (plus generated html) and I will look into it.

Also, once the html has been produced you can edit it as you wish. But obviously the changes will not transfer back tot he source Flowcode file. So yes, I think you can convert the file to a PHP file that is also serving the html.

User avatar
Nico595
Posts: 76
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Embedded device controlled from the Web without ESP

Post by Nico595 »

Nice sound.

I think add responsive function. We can also define one html page per device.

I progress good, I will send you my Web App project this WE.

Thanks.

Post Reply