SEEED XIAO SAMD21 Circuit Simulator 250413

Hello SEEED forum,

Turning to circuit simulation as an alternative to breadboarding.
Have looked at WOKWI.
https://wokwi.com/,

WOKWI has simulators using Arduino, ATtiny, Arduino Nano et.al.
Can’t seem to find the XIAO SAM D21.

Is there a circuit simulator that includes the XIAO SAM D21?

Thanks.

Allen Pitts

Hi there,

Yes, the Wokwi circuit simulator does include support for the SAMD21 microcontroller, which is commonly found on boards like the Arduino SAMD21 boards. You can simulate these boards and their associated projects directly in the Wokwi simulator.

Elaboration:

Wokwi is an online simulator designed for creating and testing IoT projects, including those using microcontrollers like the SAMD21. It allows you to simulate various components, including sensors, displays, and IoT modules, all without needing physical hardware. You can add components to your simulation by clicking the plus icon and then connecting them with wires.

Key features of Wokwi related to SAMD21:

  • SAMD21 support:

Wokwi supports various SAMD21-based boards, including the Arduino SAMD21 boards. Albeit not free there are some others. Flux.Ai may be free to start? YMMV
For simulating circuits that include SAMD21 (a microcontroller) and other components, Proteus Design Suite is a suitable choice. Proteus allows you to simulate various embedded systems, including the SAMD21, with a wide range of components, debugging tools, and the ability to execute code on the simulated hardware.

Other options to consider:

  • LTspice:

A free, powerful simulation tool for analog circuits from Analog Devices. While it’s primarily for analog, it can be used in conjunction with other tools for digital components.

  • Simulink:

A powerful tool for modeling and simulation, especially useful for systems with complex interactions between components, including the SAMD21.

  • Multisim:

An interactive, online simulation tool that works on any device, offering a database of community circuits.

  • CircuitLab:

A cloud-based design tool, potentially suitable for simpler circuits and designs.

Key features to look for in a simulator:

  • SAMD21 support:

The simulator should have a model of the SAMD21 microcontroller and its peripherals.

  • Component library:

A wide range of components, including sensors, actuators, displays, and other electronic components, is essential.

  • Debugging tools:

Features for debugging the code running on the simulated hardware, such as breakpoints and watchpoints, are crucial.

  • Code execution:

The ability to simulate code running on the SAMD21, allowing you to test your firmware before deploying it to the actual hardware.

  • Simulation accuracy:

The simulator should accurately model the behavior of the components and the SAMD21.

Choosing the right tool:

The best tool will depend on your specific needs and the complexity of your designs. If you’re working with digital circuits and embedded systems, Proteus is a strong choice. For analog circuits, LTspice or Multisim might be more suitable. If you need to simulate complex system-level interactions, consider Simulink.
none are free for the deluxe stuff, but there is a feel for what it’s about.

HTH
GL :slight_smile: PJ :v:

This answer is garbage, it’s like you typed in “what does someone want when simulating SAMD21” to an LLM.
The linked wokwi project is for a pi pico.
As far as I know the SAMD is not yet simulated on Wokwi, but there are some unlisted boards supported. Most are shown on the new project page:
wokwi .com /projects/new

1 Like

Hi there,

No the answer is based on Practical experience, If you don’t like too BAD…AFAIK you don’t know anything, the Wokwi circuit simulator does include support for the SAMD21. I don’t see any answer or help offered, Go look and see what you can do yourself instead of throwing shade for trying to widen the ops position.

the only "Garbage " is this…
For it being your first post, you won’t get welcomed like that. , I’m sus you’re someone else just stirring the pot , don’t waste our time.

GL :angry:

Provide a better one… :clown_face:

NOTE: too all the other folks just adding “garbage” to posts without any attempt to add to the discussion, enforcement is coming, This isn’t REdDIT…it’s a support forum if you don’t like it, we can gladly offer you the Door. The whining and complaining unrelated to products or information will be scrutinized. I will remind you to read the RULES “everybody Knows the rules” :grin:
As you were :v:

No, it categorically does not support the SAMD21.
I even asked on the official discord last night after questioning it just being undocumented.

discord. com /channels/787627282663211009/1407661338494505061

Apologies for the tone, and use of the word garbage, but at best it’s a misleading answer that’s wrong about SAMD21 support and is supplied with an irrelevant wokwi project link.

Unfortunately this thread was relatively high in the search engine results for “wokwi samd21” and I was trying to find out how myself (as a massive wokwi fan for the last few years) for a current github CI test on embedded arduino stuff on various architectures.

As a result, coming up against this as “the best available answer” was frustrating as it’s incorrect.