In this video, we code a website and an Arduino that can communicate with each other directly. It uses a new API called navigator serial.
In the video, I use an Arduino UNO and Max led matrix. Let me know if you have any questions.
Demo:
https://phptuts.github.io/led-matrix-...
Code:
https://github.com/phptuts/led-matrix...
Blog Post:
https://www.codingwithnoah.com/2020/0...
Chrome Serial Docs:
https://wicg.github.io/serial/
Arduino Led Matrix Library Used:
https://github.com/valmat/LedMatrix
The only thing that is not accurate is the filter information. You have to prepend USB to the filter name.
Helpful Tutorial
https://codelabs.developers.google.co...
Time Stamps:
0:00 Project Demo
1:12 Project Setup
3:16 User Interface
13:03 Creating the message for Arduino
18:04 Wiring the led matrix
19:07 Testing Led Matrix
27:26 Fixing the led Arduino Message
30:17 Coding the Arduino to receive the message
38:35 Sending a message from the chrome browser to Arduino
58:26 Final Demo
Let me know if you have any questions or feedback about this.
Смотрите видео How to build a website using svelte that controls an Arduino & Led Matrix with navigator.serial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Noah Glaser 17 Сентябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,14 раз и оно понравилось 3 людям.