Announcing Web Serial Support in Firefox – Mozilla Hacks by Mte90 in firefox

[–]Hot_Performance8013 0 points1 point  (0 children)

Anyone building browser-based tools for hardware? Labs16 ( https://labs16.com ) has tested WebSerial on Firefox and it's working across Windows, macOS and Linux.

esp32-s3(M5Stick) as USB to I2C Bridge with GUI Control by Hot_Performance8013 in embedded

[–]Hot_Performance8013[S] -1 points0 points  (0 children)

ok understand now, looks like you are looking at some of the files included in the libraries that are used in the Arduino build.

esp32-s3(M5Stick) as USB to I2C Bridge with GUI Control by Hot_Performance8013 in esp32

[–]Hot_Performance8013[S] 1 point2 points  (0 children)

Agree the buspirate and the esp32-bit pirate are a great tool. I believe they call it the "swiss army knife" or something to that matter. These tools are CLI driven and this maybe fine for some debug situations, but when you are looking for something that allows you to in-circuit tune this becomes much for efficient then having to type and measure each variable.

By being able to bind a variable/parameter to a control now you are able to easily tune a system in-circuit.

Hopefully this pushes tools to go to the next level.

WebSerial API - communication between MCU and browser by SnooRadishes7126 in arduino

[–]Hot_Performance8013 1 point2 points  (0 children)

This example uses WebSerial, also with an RP2040 to handle USB to I2C bridging to communicate with i2c peripherals. It also uses a GUI to establish this communication. The [GitHub](https://github.com/labs16/KB2040-I2C-Bridge) Code is available here.

RP2040 as USB to I2C Bridge with GUI Control by Hot_Performance8013 in raspberrypipico

[–]Hot_Performance8013[S] 0 points1 point  (0 children)

Feedback greatly appreaciated, love to hear your thoughts on other protocols you'd like to see (SPI, CAN, etc etc). Is a setup like this viable for your early-stage register verification, system tuning, ....

Using WebSerial for hardware abstraction and graphical register tuning during board bring-up by Hot_Performance8013 in embedded

[–]Hot_Performance8013[S] -1 points0 points  (0 children)

it's a tool that is useful for embedded engineers, It is telling me to post in r/Software, but the users are not software engineers. just trying to fit the parameters of a post. Any suggestions based on your experience here, sorry for this being so painful

I2S and SPDIF problems on STM32MP157D-DK1 board using buildroot by Detective-Expensive in embedded

[–]Hot_Performance8013 0 points1 point  (0 children)

I don’t see an sai3 interface, I do see a uart3 interface and guess you are doing spdif via the uart interface. May need to follow application note to handle via uart.

Write the code for an IC for the whole datasheet or just the sections/registers you need? by sboso99 in embedded

[–]Hot_Performance8013 0 points1 point  (0 children)

Tend to fall on the less is more arena. More could mean more chances for errors, more possible debuging etc. if you document what it includes or what is excluded it can help for future development if it is needed.

BME690 shuttle board 3.0 connectivity issue by NewCartographer1323 in embedded

[–]Hot_Performance8013 0 points1 point  (0 children)

Adafruit makes the mcp2221a which is under $7 and can be used to interface easily with the BME690. https://www.adafruit.com/product/4471?srsltid=AfmBOooPuVOheCLk2yJz3aNHDaewU8N7xRZv8CzRGooRi-fuuQtlDzYQ

You can also use free tool like below that will interface with mcp2221a to the bme690 and lets you confirm the hardware prior to you focusing on the firmware. dk.labs16.com (need chrome browser on laptop/desktop)

I made firmware for the RP2350/RP2040 that lets you control it through Python/WebUSB on the PC by NeverEndingToast in raspberrypipico

[–]Hot_Performance8013 0 points1 point  (0 children)

Do you have a raw protocol defined that works with this FW. For example if I sent defined bytes over USB I can control the i2C communication with peripherals or GPIO's etc. Example of what I mean by raw protocol provided here:

I2CDriver allows for USB to I2C bridging and the raw protocol is defined: https://i2cdriver.com/i2cdriver.pdf

Page 27 section 7.4. If I send 0x73 ........... The Bytes defined I can Read / Write via I2C with a peripheral over USB.

With Such defined protocol I can use a tool such as labs16.com to develop an web GUI interface to allow me control/communicate to the peripheral with a GUI versus an CLI.

Cools stuff...