Arduino to mBlock serial communication


#1

Hi,

trying to have my arduino UNO communicate with mBlock 5.

in arduino code : write “hello” to serial port

in sprite code : when I receive “hello” > say “Hello !” for 2 seconds

script compiles and uploads to arduino, but when message is sent nothing happens !

How can I have the sprite listen to arduino serial message ?

What can I have the sprite write to arduino serial to answer the message ?

Thanks


#2

Hi Neoshadow,
There is no plan to have interactive feature between arduino uno boards and sprites, like codey rocky currently does.
We are trying to do other feature for the arduino uno boards in mBlock 5.


#3

While not exactly what you are looking for, I have just finished a Java library for communicating between the Arduino board and Java code run on a PC. If what you are looking for is a way to connect your arduino to the computer, this might be a way around the limitation you’re facing.