Hacker News new | ask | show | jobs
by olivierbrcknr 2075 days ago
Hey! Thanks a lot for the appreciation! Yes, as we need access to the serial port to connect with the Arduino, we currently need to rely on a native app, the browser does not allow us to do so at the moment. If this would be the case in the future, we would consider this of course as well.
3 comments

There's an on-going origin trial of the web serial API - https://web.dev/serial/ - if you can get a token you could probably run the code in a browser (specifically Chrome at the moment).
Thank you for the tip! We will have a look at it!
I wrote small webserver for proxying serial port requests from the browser to solve a similar problem about 10 years ago. It's not generic enough for what you're doing, but something similar would be quick to code.

https://github.com/learc83/adapter

Thanks for sharing!
Doesn't the Arduino web IDE access the serial ports? I'm possibly missing something here but why not do it how they do it?
Arduino requires you to install a software to bridge this serial port issue.