Animated Helicopter & Game Controller

Here's a one-minute video illustrating use of Snap! in combination with MicroBlocks to create a game controller:

Here's the Snap! program:

Here's the corresponding MicroBlocks code (attached):

MakerPort Helicopter (tilt sensor).ubp (30.1 KB)

This could also be adapted for other microcontrollers with tilt sensors like the micro:bit.

You can upload the MicroBlocks ubp file in this topic.
I made also a number of samples with Snap! and MicroBlocks together. Let's see if I find a little time to upload them.

Thanks for the explanation. I added the MicroBlocks code as a attachment to this reply:

MakerPort Helicopter (tilt sensor).ubp (30.1 KB)

If you find a moment to upload some of the examples that you have developed, that would be helpful to our students.

Lovely work :slight_smile:

A little tip you may not know. In Chrome you can connect to the microcontroller from Snap! and MicroBlocks at the same time using BLE.

We tried this and it worked! Thanks so much for this recommendation. It is saving a lot of time.

FYI: In the latest dev version of Snap!, Snap! Build Your Own Blocks, you can try the latest version of the MicroBlocks library. You have only 3 blocks and can use the standard Snap! broadcast block to send messages to the microcontroller.

Yes, that's what we have been using. The ability to use the standard Broadcast block is lovely.

Hi @glenbull,

This is a link to my Google Drive with 4 very basic examples that I made and used in Walldorf during Snap!Shot.

It was made for micro:bit's or Calliope mini 3 boards that have a lot of sensors. The activity was for children from SAP employees. I had a 2 hour workshop and the children were able to use 2 programming languages at the same time and often for the first time.

These are lovely! The Flying Birds project is similar to the helicopter example that we shared. Thanks!

@petermathijssen I’m trying to upload a .ubp file, but I keep getting the following message.

”Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, heic, heif, webp, svg).”

Has something changed?

Yes I guess something has changed. This is something @cycomachead has to fix :wink: