Technology
Web Serial API
The API enables websites to read from and write to serial devices (e.g., microcontrollers, 3D printers) directly via JavaScript.
The Web Serial API bridges the web and the physical world, enabling direct browser communication with serial devices like Arduino boards and 3D printers. It uses the `navigator.serial.requestPort()` method to prompt a user for permissioned access to a connected serial port (physical, USB, or Bluetooth-emulated). Once connected, the `SerialPort` object provides `readable` and `writable` properties, leveraging the Streams API for asynchronous, non-blocking data transfer. This capability allows for complex, device-interfacing applications to run entirely within a secure web context (HTTPS).
Related technologies
Recent Talks & Demos
Showing 1-1 of 1