Cross-platform radio communication?

Alright, highly speculative ideas here: I’ve seen there are radio extensions in the official Microsoft-endorsed extension section in the arcade code editor, and there are two, one of which resembles/is based off the microbit radio blocks (I was originally introduced to makecode through microbits). It’s https://arcade.makecode.com/reference/radio in case you’re wondering. Now, here’s the question I have: would it be possible for makecode arcade hardware with a radio transmitter+receiver to be able to communicate with a microbit?
(Speaking of which, are there any makecode arcade-compatible hardware that supports radio? It wouldn’t surprise me if Adafruit had a radio transmitter featherwing you could put on a pybadge or pygamer, Xtron Pro may also work considering it has WiFi connectivity features, but I’m no expert. I’m just a curious guy.)

I wanted to suggest the Multi editor, which lets you edit two projects at the same time (and they interact with radio), but it seems that you can only sideload projects made with the same tool (eg. only micro:bit or only arcade.)

I wonder if it’s possible to do the same thing with two different editors :thinking:

2 Likes

Yeah, I’ve used that to program Microbits fairly recently! It would be a great tool to test it out, but I guess different types of Makecode can’t interact with one another. I don’t think the developers ever really intended different hardwares to interact in their default state when running Makecode software, which feels a bit ironic considering how many different devices you can get it running on, lol!

1 Like

same!

2 Likes

I mean, my assumption is that the devices should be able to mutually communicate through radio, since they’re using the same radio broadcast implementation, right?

I hope you’ll be able to test your theory one day! :smiley:
(BTW, how do you configure a PyGamer to broadcast radio? Do you need extra components?)

1 Like

I’ve heard you can plug something called a featherwing into the port in the back (those weird long black strip things), and there’s a featherwing with radio capabilities. All you need to do is solder on the headers (metal prong things), solder on an antennae of some kind - it can even be a strip of wire from what I’ve read, plug it in the back of the pygamer and then put in some coding of some sort. I’m not fully sure on the last part, PIN stuff always evades me, but Adafruit actually has an entire tutorial on it if you want to know more!

But yeah, apparently it can do wireless multiplayer! No idea if it works with the Makecode radio extension by default after this, though.

2 Likes

Is this what you’re talking about, @LunarTethys3 ? VEX- MakeCode Arcade Remote Control ! Meowbit as a Controller. - YouTube. I think i put the code in the description of the video for both send and receive.

1 Like

Wow, so it can actually do that! That’s amazing! Thank you for showing that and solving the mystery! (Seems I underestimated the Meowbit.)

Please understand, @LunarTethys3 and others, that radio communication between Meowbit and other hardware is with a plug-in SD Card-Looking, but NOT an SD card piece of hardware which now costs about $10. It seems to have both radio and bluetooth although I have not got bluetooth to work from Meowbit by Kittenbot. The program for Radio for the Meowbit must be in Arcade (possibly MakeCode Microbit Experimental ? ? ) . The code for the Microbit is in MakeCode for my examples to communicate with Meowbit using radio. Of course, from Meowbit to Meowbit then both codes are in Arcade.

1 Like