Snap! and MicroBlocks using BLE

A test of the upcoming Snap! blocks making it possible to work with microcontrollers programmed with MicroBlocks.

Peek 2024-05-28 09-53

All sensors sending values to Snap! from a MicroBlocks programmed micro:bit. :partying_face:

A number of projects controlled by a microbit programmed with MicroBlocks and the MicroBlocks library in the Snap! dev version.

Peek 2024-06-08 16-42
Peek 2024-06-08 08-03
Peek 2024-06-08 02-32

Peek 2024-06-11 18-24
Using the same controls as with the flying bird.
Peek 2024-06-11 18-21
The lightbulb gets brighter and dimmer using the light sensor of the micro:bit or calliope mini 3.

I can not upload pdf files here so I do it with images. I made a quick tutorial to demonstrate the MicroBlocks and Snap! collaboration. I wonder if this tutorial needs more info or if it would be workable this way. Please leave any comment.


Another 2 page tutorial that shows a glowing orb when you move your hand over your micro:bit or Calliope mini 3 covering the light sensor. It will make the orb more or less glowing depending on the value of the light level sensor.


A dancing rainbow responding to the volume of the sound captured by a micro:bit or Calliope mini 3.


The first pilot version of MicroBlocks version 2 was released. Instead of 32 bits it generates 16bit code so it gives more room for code on the microcontroller. There is also a completely new UI.

Last stable version MicroBlocks v1

https://microblocks.fun/downloads/latest/
https://microblocks.fun/run/microblocks.html

First Pilot version of MicroBlocks Version 2

https://microblocks.fun/downloads/pilot/
https://microblocks.fun/run-pilot/microblocks.html

Read the blogpost for all new things
https://microblocks.fun/blog/2024-10-07-microblocks-2.0/

It is still great to work with when using Snap! and microcontrollers.

Is there a way to scale down blocks? They seem to be 1.5–2 times bigger than in the previous version. It looks goofy. It also makes it less readable for any non-trivial code. There is also an invisible "elastic" margin on the left that further reduces the usable area of the scripting panel.
Full HD screen comparison.

This is what i'm seeing with the same project
old

new

Blocks are bigger but everything else seems OK

You mean here?
image

:man_facepalming: Yes...

blocks