Discuss Scratch

BetaCat096
Scratcher
8 posts

Scratch for Arduino Uno?

is there anyway to do this? I'm not very good at Arduino C, so this would help!
minniesworld
Scratcher
500+ posts

Scratch for Arduino Uno?

I've been working on a project that could do this for a while, but it's nowhere near ready for release.
BetaCat096
Scratcher
8 posts

Scratch for Arduino Uno?

I can help; I know JavaScript and React (I don't like TypeScript ;-, so if you want help, I'm always available!
minniesworld
Scratcher
500+ posts

Scratch for Arduino Uno?

BetaCat096 wrote:

I can help; I know JavaScript and React (I don't like TypeScript ;-, so if you want help, I'm always available!
It's written in Python, the base functionality is almost finished and Arduino shouldn't take much longer to add. I'll let you know when its finished
MonkeyBean2
Scratcher
500+ posts

Scratch for Arduino Uno?

Pictoblox lets you program the Arduino Uno with scratch blocks, it also lets you see what the code would look like in javascript (and lets you edit it there too) which I guess could help learning C++ for arduino

Last edited by MonkeyBean2 (July 30, 2025 17:55:17)

BetaCat096
Scratcher
8 posts

Scratch for Arduino Uno?

pixtoblox does not work on linux, unfortunatly.
MonkeyBean2
Scratcher
500+ posts

Scratch for Arduino Uno?

BetaCat096 wrote:

pixtoblox does not work on linux, unfortunatly.
what about microsoft makecode? it's web based. https://maker.makecode.com/boards/arduino
minniesworld
Scratcher
500+ posts

Scratch for Arduino Uno?

MonkeyBean2 wrote:

BetaCat096 wrote:

pixtoblox does not work on linux, unfortunatly.
what about microsoft makecode? it's web based. https://maker.makecode.com/boards/arduino
Doesn't seem to support UNO
hacktronics
Scratcher
100+ posts

Scratch for Arduino Uno?

CodeSkool is a web based IDE, works on any platform, no installation for code generation, they have Linux based tool chain also for compilation and uploading.
MonkeyBean2
Scratcher
500+ posts

Scratch for Arduino Uno?

minniesworld wrote:

MonkeyBean2 wrote:

BetaCat096 wrote:

pixtoblox does not work on linux, unfortunatly.
what about microsoft makecode? it's web based. https://maker.makecode.com/boards/arduino
Doesn't seem to support UNO
oh, oops
EpsilonX
Scratcher
35 posts

Scratch for Arduino Uno?

In theory, you should be able to send commands from an Arduino connected to your computer to Scratch, but not vice versa. This would require quite a bit of code, though. How: Scratch recognizes keypresses, so what you would need to do is download the Arduino library for a keyboard. You would then be able to simulate keypresses through the Arduino Uno.
MonkeyBean2
Scratcher
500+ posts

Scratch for Arduino Uno?

EpsilonX wrote:

In theory, you should be able to send commands from an Arduino connected to your computer to Scratch, but not vice versa. This would require quite a bit of code, though. How: Scratch recognizes keypresses, so what you would need to do is download the Arduino library for a keyboard. You would then be able to simulate keypresses through the Arduino Uno.
you could also just use the web serial API to expose the serial connection to scratch…
minniesworld
Scratcher
500+ posts

Scratch for Arduino Uno?

MonkeyBean2 wrote:

EpsilonX wrote:

In theory, you should be able to send commands from an Arduino connected to your computer to Scratch, but not vice versa. This would require quite a bit of code, though. How: Scratch recognizes keypresses, so what you would need to do is download the Arduino library for a keyboard. You would then be able to simulate keypresses through the Arduino Uno.
you could also just use the web serial API to expose the serial connection to scratch…
Not sure that works on all browsers or devices, they created scratch link so there was a solution that only required the browser to support websocket, which is much more common then the serial API.

Powered by DjangoBB