Hacker News new | past | comments | ask | show | jobs | submit login
Wokwi – Simulate IoT Projects in the Browser (wokwi.com)
217 points by gadiyar 11 months ago | hide | past | favorite | 20 comments



i use this to teach children electronics, it's amazing, the only thing which is not idea is mobile support

if you're building a similar tool for browser-simulation please, pleaaaaaaase:

do not require me to have an account to enter to simulate, this reduces friction 100000x

i work with children

trust me


100% this. Had a class using Microsoft’s MakeCode last year, which pushes Github integration for sharing code - which seemed like a really cool concept for a group project they were working on. So I have the class follow the link from Microsoft MakeCode - to Microsoft Github. But Github doesn’t use the accounts that they were using for MakeCode, so it prompted them to create new accounts. Guess which class of kids immediately had 90% of their Github accounts inexplicably locked on creation? Spent a chunk of time wrestling with that issue.

I think we wound up merging their stuff by hand. Probably carried on floppy disks. Like savages.


Microsoft seems obsessed with credentials now. I hate using the Xbox I own because of this and having to log in every. single. time. All the verifications and telemetry turned me into a Mac user after 30+ years of MS-DOS and Windows. Of course those thing matter in an office context but I don't want to have to show my ID constantly on my home computer/console.


My org uses Azure auth for some internal apps, that login prompt will always prompt me at the worst possible time, whenever I need to do something fast.

I then need to close the app, go to my PW manager, copy the PW, and go back to where I originally was


Uri Shaked, the creator of Wokwi, is interviewed here: https://embedded.fm/episodes/396


I first learnt of this from this YouTube video that popped up on my feed.

https://youtu.be/yzdCS3A4DvU?si=rwwRLDclrZ39ZbQw

Worth a watch.


Related:

Wokwi – Simulate IoT Projects in the Browser - https://news.ycombinator.com/item?id=32488739 - Aug 2022 (10 comments)

Wokwi – Online Arduino Simulator - https://news.ycombinator.com/item?id=28069770 - Aug 2021 (2 comments)


Fantastic app, it was of great help to me while figuring out the basics, I highly recommend it.

I just wish if people would add more comments to their code, at least those that get to be featured. Lots of beginners' time gets wasted on decrypting the logic behind blocks of code that are often very common patterns in IoT programming, and have already been explained in the documentation in the great detail. Simple one-line comment pointing what to search for in the docs would turn the code to be so much more newbie friendly.


I used this a while back to simulate a 16+ port MIDI thru device using PIO on a Raspberry Pico[1]. It worked surprisingly well with just a small amount of simulation slowdown. Theoretically it might be possible to replace a $200 Kenton Thru 25 (though only 23 max) for about $40 in hardware + whatever a case costs.

[1]: https://www.joshka.net/pio-for-midi-with-raspberry-pi-pico/


Kind of off topic, but is it possible to simulate peripherals with QEMU?

For example: suppose that I'm emulating some microcontroller running my firmware. On the actual board, this firmware will interact with a sensor. Is it doable to create a virtual hardware device simulating the sensor and connect its pins to my microcontroller?


It doesn't seem straight-forward to implement.

Emulating microcontroller peripherals? - https://electronics.stackexchange.com/questions/611403/emula...


Used this heavily for designing some electronics for a friend's Boba Fett cosplay. Absolutely invaluable.


This is great!

I usually shy away to buy such boards, as I don't have a real purpose for them, however this would be a great way to dive into coding them, without that consumist feeling for buying hardware for nothing.

Plus is a great away to play with hardware designs without killing the boards.


I shorted the 3.3V pin to ground on a ESP32 board, but the simulation (and the board) ran just fine. I'm a software guy, I'm not sure if that's the expected outcome.


Magic smoke?


It’s great to see Wokwi on here. This site comes up once in a while - Uri has done an incredible job emulating arduino in JS.


Would I be able to use this to emulate WLED? That would be a huge time saver


Yes, it works great for emulating the various WorldSemi RGB LEDs with drivers onboard.


+1. Looks fantastic!


It is! I have been using it with TinyGo, it was a delight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: