[TriEmbed] MIT Scratch on an ESP32?

Pete Soper pete at soper.us
Sun Nov 28 16:49:13 CST 2021


Way cool. That might be enough to host Scratch.

-Pete

On 11/28/21 17:45, Michael Monaghan via TriEmbed wrote:
> Low.js is an ESP implementation of Node.js.  May be worth looking 
> into.  I have some ESP32 with 16M flash and 16M psram.
>
> On Sat, Nov 27, 2021, 3:34 PM Jon Wolfe via TriEmbed 
> <triembed at triembed.org> wrote:
>
>     Oh yes, I forgot they have updated it. Originally it was done in
>     Squeak, and it's been either transpiled or ported to
>     Javascript/node.js
>
>
>
>     On Saturday, November 27, 2021 15:28 EST, Pete Soper via TriEmbed
>     <triembed at triembed.org> wrote:
>>     But Mike and I did a search this morning and it seemed to be the
>>     Scratch
>>     we found is implemented with node.js?
>>
>>     -Pete
>>
>>     On 11/27/21 15:27, Pete Soper via TriEmbed wrote:
>>     > The programming paradigm of Scratch in which changes to the
>>     code are
>>     > immediately reflected in program execution is extremely
>>     attractive for
>>     > the community board project. On the fly updating of FPGA bitstreams
>>     > may be a challenge but Mike North and I think it's doable. We're
>>     > currently married to Scratch because it is the lingua franca of
>>     little
>>     > kids.
>>     >
>>     > Pete
>>     >
>>     > On 11/27/21 15:23, Jon Wolfe wrote:
>>     >> Its written in Squeak, which is a derivative language of
>>     SmallTalk.
>>     >>
>>     >> What are the goals, to "Run" something developed in Scratch?
>>     Does it
>>     >> have to be Scratch specifically, or any similar visual programming
>>     >> system? Does it need to be able to run standalone?
>>     >>
>>     >> The "Scractch For Arduino" project used a modified version of
>>     scratch
>>     >> with an Arduino as a "peripheral" that could be treated like a
>>     sensor
>>     >> or actuator from Scratch programs, but everything still ran on
>>     the PC
>>     >> in Scratch.
>>     >>
>>     >> If you want something that is "Scratch-like" but that can generate
>>     >> code that can run standalone on the embedded side, checkout
>>     Blockly,
>>     >> or one of the projects based on that. There is a "Blockly rduino"
>>     >> project that takes blockly programs and generates source. I
>>     wrote a
>>     >> tool several years ago that uses a [very old] version of
>>     blockly and
>>     >> generates Adruino Code targeting Pololu's 3Pi Robot, which is
>>     based
>>     >> on an Arduino Leonardo. https://anibit.com/webtools/3pi/
>>     >>
>>     >> Blockly is web/javascript based, but you can run it offline
>>     using one
>>     >> of the many ways to host offline content, I made a Windows Desktop
>>     >> version of my tool that can directly program an attached arduino,
>>     >> using an embedded instance of Firefox and corrdination between the
>>     >> Javscript and the native decktop code to handle comms with the
>>     >> Arduino software.
>>     >>
>>     >>
>>     >>
>>     >>
>>     >>
>>     >>
>>     >> On Saturday, November 27, 2021 08:28 EST, Pete Soper via TriEmbed
>>     >> <triembed at triembed.org> wrote:
>>     >>> What do you all think of the feasibility of the MIT Scratch
>>     system
>>     >>> being
>>     >>> ported to a fat ESP32? By fat I mean one with outboard
>>     memory. I am
>>     >>> clueless about the Scratch implementation. Is it written in
>>     Python by
>>     >>> chance?
>>     >>>
>>     >>> -Pete (on behalf of the community project working group)
>>     >>>
>>     >>>
>>     >>>
>>     >>> _______________________________________________
>>     >>> Triangle, NC Embedded Computing mailing list
>>     >>>
>>     >>> To post message: TriEmbed at triembed.org
>>     >>> List info:
>>     >>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>     >>> TriEmbed web site: http://TriEmbed.org <http://TriEmbed.org>
>>     >>> To unsubscribe, click link and send a blank message:
>>     >>> mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>>     >>
>>     >
>>     > _______________________________________________
>>     > Triangle, NC Embedded Computing mailing list
>>     >
>>     > To post message: TriEmbed at triembed.org
>>     > List info:
>>     > http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>     > TriEmbed web site: http://TriEmbed.org <http://TriEmbed.org>
>>     > To unsubscribe, click link and send a blank message:
>>     > mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>>     >
>>
>>     _______________________________________________
>>     Triangle, NC Embedded Computing mailing list
>>
>>     To post message: TriEmbed at triembed.org
>>     List info:
>>     http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>     TriEmbed web site: http://TriEmbed.org <http://TriEmbed.org>
>>     To unsubscribe, click link and send a blank message:
>>     mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>
>     _______________________________________________
>     Triangle, NC Embedded Computing mailing list
>
>     To post message: TriEmbed at triembed.org
>     List info:
>     http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>     TriEmbed web site: http://TriEmbed.org <http://TriEmbed.org>
>     To unsubscribe, click link and send a blank message:
>     mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>
>
> _______________________________________________
> Triangle, NC Embedded Computing mailing list
>
> To post message:TriEmbed at triembed.org
> List info:http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
> TriEmbed web site:http://TriEmbed.org
> To unsubscribe, click link and send a blank message:mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20211128/53dd7dad/attachment.htm>


More information about the TriEmbed mailing list