My introduction and GyroBoy code copy/paste

I wanted to say hello from Oregon. I’m using MakeCode because the Lego EV3 software released in 2012 (block coding with wires) does not work on a Chromebook. ( the Chromebook extension lacks variables and most essential functions )

I have not yet tested this but someone shared their MakeCode for the Gyroboy build.

https://github.com/julianbei/jsGyroBoy

Below are the build instructions:
https://education.lego.com/en-us/product-resources/mindstorms-ev3/downloads/building-instructions

This is the code review for the 2012 EV3 software released in 2012 for Mac, Windows
https://le-www-live-s.legocdn.com/sc/media/files/ev3-program-descriptions/ev3-program-description-gyroboy-8f351eb6ca8c99121f27be9cb2b12ad6.pdf

1 Like

Hi @peli

In two weeks our local school is holding a computer fair, where the pupils will work with different programming and IT projects the next two weeks, and then showcasing their work two evenings to parents and other interested audience who will show up during open school.

Much of the work will be done in MakeCode!

During preparations, I stumbled upon a video that you posted many years ago on Twitter:

The Gyro Boy i a really fun project, and I am wondering if you built that demo with blocks in MakeCode for Mindstorms, if you have a link to a blocks project for MakeCode or whether you think it will be possible to program it to work with blocks in MakeCode?

So far, I have only done it earlier in LabView, and the only code I can find for MakeCode is in JavaScript, the same repository on GitHub as @gyroboy is linking to above…

I really hope for a quick answer, since the kids and teachers need all the time the have left to get Gyro Boy ready and working in two weeks!

Br,
Vegard

Anyone else who has solved this one in MakeCode with only blocks, and would like to share, by the way?

Bump, I am really struggling with this one… -Please help!

@gyroboy? @peli? @MakeCode? Anyone?

This make code project works if your hardware is constructed exactly as LEGO tips suggest for gyroboy.

https://makecode.com/_LYTc0sJ86bUx

1 Like

Thank you for coming to the rescue, @gyroboy!
Your code worked and the computer fair was a success.

I also found and tested ok some code buried deep inside the GitHub px3-ev3 repository, which I assume might be the code from @peli’s video above

  1. Microsoft’s block code version, as show in the video above:
    https://makecode.com/_XJJfEXLeacLK
    In an older version of the editor, in case of compatibility issues with older blocks:
    https://makecode.mindstorms.com/v1.0#pub:92982-96157-54183-60465
    Source:
    https://raw.githubusercontent.com/microsoft/pxt-ev3/master/docs/examples/core-set/gyroboy-blocks.md

  2. Microsoft’s direct translation of the Lego’s official LabView project into JavaScript with certain parts allowing to be translated to blocks:
    https://makecode.com/_K0v7Jw3oY1mD
    Source:
    https://raw.githubusercontent.com/microsoft/pxt-ev3/master/docs/examples/core-set/gyroboy-labview.md

Cheers! :wink: