The Raspberry Pi platform is wonderful for DIY projects that involve coding. The pi-top  is a Pi 4 kit with everything you need to get started faster. It comes with a Pi 4, programmable sensors, buttons, and LEDs. It comes with LEGO connectors, so you can make your LEGO builds smarter.
The pi-top  has WiFi connectivity built-in. It can connect to your TV or computers. The battery lasts up to 5 hours. A coding lesson is included with this kit.