Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
| Date | Stars |
|---|---|
| 2026-07-25 | 828 |
| 2026-07-28 | 828 |
| 2026-07-30 | 828 |
| 2026-08-06 | 828 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# AVR8js This is a JavaScript library that implementats the AVR 8-bit architecture. It's the heart- but not the whole body- of the Arduino simulator at [https://wokwi.com](https://wokwi.com). [](https://github.com/wokwi/avr8js/actions/workflows/ci.yml) [](https://www.npmjs.com/package/avr8js)   [](https://gitpod.io/#https://github.com/wokwi/avr8js) ## Example Applications Using `AVR8js` * [Wokwi Arduino Simulator](https://wokwi.com) - Arduino simulator with a choice of hardware that can be wired up dynamically in your browser! * [avr8js-electron playground](https://github.com/arcostasi/avr8js-electron-playground) - a Downloadable Electron Arduino simulator app * [AVR8js-Falstad](https://markmegarry.github.io/AVR8js-Falstad/) - combining the Falstad circuit simulator with AVR8js! * [The Engineering Physics Department of Dawson College's Arduino Course](https://tawjaw.github.io/Arduino-Robot-Virtual-Lab/) - an introduction to Arduino with a focus on robotics ## How to Use This Library This library only implements the AVR CPU core. You have to supply it pre-compiled machine code to run, and implement functional simulations of any external hardware. You will probably also want to add audio/visual representations of external hardware being simulated. A rough conceptual diagram: ``` Pre-Compiled machine code --> AVR8js <--> Glue code <--> external hardware functional simulation <--> simulation state display for the user ``` You may be interested in exploring the [wokwi-elements](https://github.com/wokwi/wokwi-elements) collection of web-components for visual representations of many common hardware components. (Note: these are visual only elements- you will need to add the appropriate functional simulation and glue code.) ### Walkthrough Video Tutorial A step-by-step video tutorial showing how to build a simple Arduino simulator using AVR8js and React: [](https://youtu.be/fArqj-USmjA) And a related [blog post](https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/). ### Unofficial examples These examples show working examples of using `avr8js` in an application. Many of them also demonstrate how to use the `wokwi-elements` and include working examples of functional simulations of the components, and how to hook them up to `avr8js`. * [Minimal Example](https://stackblitz.com/edit/avr8js-minimal?file=main.ts) * [6 LEDs](https://stackblitz.com/edit/avr8js-6leds?file=index.ts) * [LED PWM](https://stackblitz.com/edit/avr8js-pwm?file=index.ts) * [Serial Monitor](https://stackblitz.com/edit/avr8js-serial?file=index.ts) * [NeoPixel Matrix](https://stackblitz.com/edit/avr8js-ws2812?file=index.ts) * [Arduino MEGA NeoPixel Matrix](https://stackblitz.com/edit/avr8js-mega-ws2812?file=index.ts) * [Simon Game](https://stackblitz.com/edit/avr8js-simon-game?file=index.ts) - with pushbuttons and sound * [XMAS LEDs](https://stackblitz.com/edit/avr8js-xmas-dafna?file=index.ts) * [Assembly Code](https://stackblitz.com/edit/avr8js-asm?file=index.ts) * [EEPROM persistence](https://stackblitz.com/edit/avr8js-eeprom-localstorage?file=eeprom-localstorage-backend.ts) Note: they are all hosted outside of this repo. ## Running the demo project The demo project allows you to edit Arduino code, compile it, and run it in the simulator. It also simulates 2 LEDs connected to pins 12 and 13 (PB4 and PB5). To run the demo project, check out this repository, run `npm install` and then `npm start`. ## Which chips can be simulated? The library focuses on simulating the *ATmega328p*, which is the MCU used by the Arduino Uno. However, the code is built in a modular way, and is highly co
Excerpt of 4,738 characters
Read on GitHubUri Shaked · Uri Shaked · Israel
319
19
3
3
2
2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:22281531540ad849, topic:simulation, readme:robotics