Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload code from Wokwi to a physical Arduino board #454

Open
gorbounov opened this issue Nov 18, 2022 · 3 comments
Open

Upload code from Wokwi to a physical Arduino board #454

gorbounov opened this issue Nov 18, 2022 · 3 comments
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features

Comments

@gorbounov
Copy link

It would be nice if it can enabled to connect a physical microcontroller (Arduino, and gradually others) to the WokWi. This would provide a great opportunity to:

  • simulating the circuit in the stage of its design until the implementation of the main functionalities of the design entirely in the environment of the simulator
  • design verification by programming real hardware (calling avrdude could be used for programming a physical Arduino board)
  • building an environment for working in a remote laboratory
@gorbounov gorbounov added the enhancement New feature or request label Nov 18, 2022
@urish urish changed the title Possibility to connect real hardware Upload code from Wokwi to a physical Arduino board Nov 18, 2022
@urish urish added the open for vote Vote at https://wokwi.com/features label Nov 18, 2022
@urish
Copy link
Contributor

urish commented Nov 18, 2022

Thanks! I opened this for voting.

In the meanwhile, you can already download the compiled firmware .hex file from Wokwi, by pressing F1 in the code editor and selecting "Download Compiled HEX Firmware".

@MarcelDev
Copy link

MarcelDev commented Dec 27, 2022

Possibly there could be a native program on the user's device which programs the code just like how they do it in the online arduino editor (user's device = PC/laptop)

@aaronjamt
Copy link

I think using WebSerial and/or WebUSB could be a really cool option (at least for Chrome users since Mozilla has decided not to implement them in Firefox). ESPHome is one example of a program that does this: if you go to https://web.esphome.io/ on a Chrome browser, you can actually connect to an ESP32 from the browser without any software downloads. It works on any computer with Chrome installed, even Chromebooks. In fact, ESPHome can not only install firmware on the device, it can also show you the serial monitor right inside your browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features
Projects
None yet
Development

No branches or pull requests

4 participants