Hi Mike & Emily,
As far as I know, I do not believe the Arduino Uno or the SparkFun RedBoard can be programmed with Scratch. I did find a user-created Scratch modification called S4A
that claims to allow for programming Arduino hardware with Scratch but we have not tested it to verify it works well. Also, I am not sure if there will be code support in that add-on that will allow for using a DC Motor driver from our DC Motor Driver Category
. I am not sure if any of our motor drivers would work with a Lego motor as we do not have any to test but most likely, something like the SparkFun Motor Driver - Dual TB6612FNG (with headers)
would be able to drive that motor. Our Hookup Guide
will go over the basics of that motor as well as an example circuit with demo code to get started.
Another option for a node-based code system similar to Scratch would be the BBC micro:bit
. We have a motor driver carrier board, the SparkFun moto:bit
, that connects to the micro:bit to add the ability to drive DC motors and other peripherals. We have an Experiment Guide
that will go over the board's hardware as well as the make:code add-on to code the micro:bit. If you are interested in learning more about the micro:bit, I would recommend taking a look at our micro:bit Landing Page
One last thing that might help provide some inspiration for your project. Recently, a member of our tutorials team built a micro:bit-powered Wall-E LEGO Robot. This blog post
goes into some of the parts and by adapting the example code from this tutorial
, they were able to get this Wall-E "robot" moving.
I hope this information is not too overwhelming and gives you some options on where to get started with your project. Let us know if you have any further questions about these products or tutorials and we would be happy to help as much as we can.