Skip to content

Practical usage of Wokwi Online Arduino Simulator #7130

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

Closed
VojtechBartoska opened this issue Aug 15, 2022 · 4 comments
Closed

Practical usage of Wokwi Online Arduino Simulator #7130

VojtechBartoska opened this issue Aug 15, 2022 · 4 comments
Milestone

Comments

@VojtechBartoska
Copy link
Contributor

VojtechBartoska commented Aug 15, 2022

This issue is tracking implementation of Wokwi simulator into Arduino ESP32 repository.

It contains more steps:

[ ] Add Wokwi link & description into Issue report template

Motivation:
This project is very often used as a welcome gate into Embedded World thanks to Arduino framework and it's popularity. It means there is a bunch of new users and also many different types of HW and also SW solutions. Very often we are facing the problem that we are not able to replicate the issue due to more reasons as for example unknown HW, unknown SW setup and so on...Here comes a Wokwi simulator which can be handy for those cases. If the Author of the issue is able to provide the failing code running under Wokwi platform, Espressif developers can easily reproduce the issue and make next development steps. This can speed up the development process and also improve Users's experience.

[ ] Use Wokwi more actively by Developers in answers

Motivation:
This step is relate to task above. Wokwi can be also used as an example and proper answer to the particular problem. Instead of just saying, your code is wrong and you need to change this function. Developers can just share a Wokwi simulation which is showing properly working piece of the code. This tasks is meant firstly for Espressif Devs but this approach can be used by anyone.

[ ] Compilation tests of favorite librariers in Wokwi

Motivation:
Arduino offers tons of different libraries. This project is moving forward and we are not able to cover all resources so it happens that we broke something. Having a test for most favorite libraries can help us with spotting that and be aware of the consequences.

There is already written automated tests framework available in this GH repository.

Subtasks:

  • investigate how we can run those testes on scheduled basis
  • write tests sketches

5 libraries for first version of Libraries compilation tests: (proposed candidates)

  1. Blynk
  2. Adafruit NeoPixel
  3. AsyncWebServer
  4. Adafruit GFX Library
  5. FastLED

More can be added later.

This is an intitial description which will be updated up to the investigations.

@VojtechBartoska VojtechBartoska added Status: Needs investigation We need to do some research before taking next steps on this issue Status: To be implemented Selected for Development labels Aug 16, 2022
@VojtechBartoska
Copy link
Contributor Author

Wokwi docs links:

@urish
Copy link
Contributor

urish commented Aug 18, 2022

List of the 15 most popular libraries on Wokwi:

Library Project Count
LiquidCrystal_I2C.h 47647
Servo.h 30721
LiquidCrystal.h 20950
WiFi.h 19537
DHT.h 16404
Adafruit_GFX.h 14452
Adafruit_SSD1306.h 13165
FastLED.h 11625
ArduinoTrace.h 10857
Keypad.h 9483
DHTesp.h 8523
RTClib.h 7270
PubSubClient.h 5302
Adafruit_NeoPixel.h 5272
EEPROM.h 5029

@VojtechBartoska
Copy link
Contributor Author

We do have now library tests implemented.

Wokwi is used from time to time for demonstration.

I think for now we can close this ticker as there are no action points.

@VojtechBartoska VojtechBartoska removed Status: To be implemented Selected for Development Status: Needs investigation We need to do some research before taking next steps on this issue labels Feb 20, 2024
@urish
Copy link
Contributor

urish commented Feb 20, 2024

Yeah, been open for a long time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants