Some while ago I started using a Raspberry Pi to control my Lego. It all started when we wanted to figure out if we could run standard Java on the Raspberry Pi. Instead of writing “Hello World” – we wanted to do something cooler. We decided to use Java and later Scala with Akka on the Raspberry Pi to control Lego trains. In the end we could control the speed of the trains, play train sounds, get a live video feed from the train and retrieve the location of the train based on a RFID reader and some RFID cards. Later we expanded it even further by automating track switches, ferris wheels, Lego technic cars and planes.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.