TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Wasmino = WASM and Arduino – Running Arduino Code in Browser

84 点作者 gyf304超过 4 年前

6 条评论

gyf304超过 4 年前
Wasmino is an Arduino core fully compatible with the Arduino IDE. It allows you to compile your Arduino sketch to WebAssembly and run it in a browser, all using the Arduino IDE.<p>The Arduino IDE usually requires a physical board, which can be cumbersome. For example in a classroom setting: holding up an Arduino board showing the entire class a LED blinking is not very doable. This is where Wasmino can be used. Wasmino can also be used as a stop-gap during the first few classes, giving students time to purchase an actual Arduino board. Other solutions exist such as 123D Circuits. Wasmino is different as it is integrated with the Arduino IDE, providing a seamless experience - using Wasmino is just like using an actual Arduino board. Migrating to a physical board is also as simple as selecting another board in the Arduino IDE. I believe this is valuable in a classroom setting. Wasmino is also open-source, while most alternative solutions are not.<p>Needless to say, this project is in a very early stage - feedbacks welcome. Also if you can think of other use cases, let me know!
评论 #25600704 未加载
评论 #25599926 未加载
评论 #25598321 未加载
评论 #25598822 未加载
tyrbentsen超过 4 年前
I was excited to see this project on HN today. I see a lot of value of Wasmino in that it runs in the browser: it lowers the bar considerably for starters. I remember when I started that the amount of different boards you could buy was overwhelming and being able to try things out before going in the rabbit hole of selecting the right components and boards might definitely helps out some software developers that do not have a strong background in electronics or electrical engineering and make them excited to work in the field of embedded software.<p>A side project of mine that has become more serious last year is quite similar (<a href="https:&#x2F;&#x2F;www.studiotechnix.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.studiotechnix.com&#x2F;</a>). My tool has the same caveats as Wasmino in that the CPU is modelled as &quot;infinitely fast&quot; and only &quot;time functions&quot; progress time. It is inherent to the method of simulating software coupled to physical models of hardware. Even with these assumptions, simulation can uncover a lot of functional faults &#x2F; logic reasoning flaws in the embedded application. Testing on real hardware is of course still needed, but iterating on your design in simulation is much faster than on the real hardware. And it provides an easy way towards test automation which is much harder to setup with real hardware.
mcshicks超过 4 年前
Tinkercad has a free (as in beer) Arduino simulator tool with a decent number of peripherals. There is a drag and drop interface to make your breadboard and you can even (primitive) dmm and scopes to run tests. I teach Arduino classes (when not affected by covid-19) at my local library to kids and adults with little to no background and I sometimes do a class on using this tool.<p><a href="https:&#x2F;&#x2F;www.tinkercad.com&#x2F;learn&#x2F;circuits" rel="nofollow">https:&#x2F;&#x2F;www.tinkercad.com&#x2F;learn&#x2F;circuits</a>
bArray超过 4 年前
I was really hoping for WASM running on the Arduino! For the PineTime project we were discussing using WASM to run apps on the smart watch, so that they were running in some safe sandbox that couldn&#x27;t crash the device.
StavrosK超过 4 年前
This looks like a very useful project! It might also be very interesting for testing input-&#x2F;output-heay code without needing to get a board, very nice.
评论 #25599857 未加载
nirav72超过 4 年前
incredible. This is why I like checking out HN at least couple of times a day. Always something new.