Micro:Bit simulation with Tinkercad

The micro:bit is a small, pocket-sized computer board that can be programmed to perform a wide range of tasks, from displaying messages and images to interacting with sensors and creating simple games. Micro:bit programming is designed as an exciting and accessible way to introduce coding and electronics to beginners of all ages. The available languages are JavaScript, Python (MicroPython), C++, Blocks (a visual programming language) and Microsoft’s Touch Develop language (visual + code).

Tinkercad has a electronics circuits design section that has a browser-based electronic circuit simulator. Tinkercad environment supports simulating electronics circuits and micro:bit embedded board. Tinkercad support programming micro:bit wired to an electronics circuit.

I played a bit with example circuit from https://www.tinkercad.com/things/6Agy2ibne4a-smashing-habbi/editel?tenant=circuits

I first wrote some code with Blocks:

tinkercadmicrobit1

In addition to supporting blocks-style programming (via Tinkercad or Microsoft MakeCode), the micro:bit can also be programmed using the popular scripting language of Python. Tinkercad can also run Python and convert your Blocks code to Python code.

tinkercadmicrobit2

More:

Python Coding with micro:bit in Tinkercad Circuits
https://www.tinkercad.com/blog/python-coding-with-microbit-in-tinkercad-circuits

5 Comments

  1. Tomi Engdahl says:

    From
    https://www.facebook.com/groups/168863453878/permalink/10160785858748879/

    Wokwi oli itelle ihan käänteen tekevä löydös, simulaattori missä sen koodin saa pyörimään simuloidulla raudalla aina samantien. Ei tartte häseltää koekytkentöjä ja latailla koodia jokasen muutoksen jälkeen sisään nähdäkseen et meniköhän se nyt sinnepäinkään mitä piti
    Tai enhän mää ennen jokaista muutosta lataillut. Wokwi mahollistaa sen että voi räpsytellä sitä simulaatiota ihan jatkuvastikin helposti jos se vähänkään saattaa auttaa kehitystyössä
    https://wokwi.com/

    Reply
  2. Kelly says:

    This is a good article with a lot of interesting content, I have learned a lot of new knowledge through your articles. papas games

    Reply
  3. fall guys says:

    I found this post to be a really great blog. it contains a lot of useful information.

    Reply
  4. fall guys says:

    I found this post to be a really great blog. it contains a lot of useful information.

    Reply
  5. Daris says:

    I gotta tell you about this online casino I’ve been playing at called Dazard. Let me just say, it’s a total game changer! First off, their website is sleek and user-friendly, making it super easy to navigate through all the exciting games they offer. From classic table games like blackjack and roulette to an extensive collection of vibrant and engaging slot machines, Dazard Online https://dazard.casinologin.mobi/ has something for every kind of player. Not only that, but their graphics are top-notch, creating a captivating gaming experience that feels incredibly realistic. On top of all the fun and variety, Dazard also takes player security seriously with their encryption technology and secure payment options. Oh yeah, and let’s not forget about the generous bonuses they dish out regularly! Whether you’re a casual player looking for some entertainment or a high-roller seeking that adrenaline rush, Dazard is definitely worth checking out!

    Reply

Leave a Reply to fall guys Cancel reply

Your email address will not be published. Required fields are marked *

*

*