LEGO Spike Prime – Explanation of Accelerometer Data and Line Graph Analysis

In the App of LEGO Spike Prime, there is an advanced unit category which creates different devices, logs and analyzes gyroscope or accelerometer data. In today's post, I will use the same model of "Build a Smart Kettlebell" project and introduce how to read and analyze the recorded accelerometer data. I will also update the …

Continue reading LEGO Spike Prime – Explanation of Accelerometer Data and Line Graph Analysis

LEGO Spike Prime – Use PID to Control A Self-balancing Robot and Some Key Points

On YouTube, I just accidentally found a video introducing a self-balanced robot controlled with PID. That is really amazing. However, when I tried to build the model and copied its code, I met some problems. It seems not as easy to get the robot keeping balanced as shown in the video. In this post, I …

Continue reading LEGO Spike Prime – Use PID to Control A Self-balancing Robot and Some Key Points

Which New Model to Choose From – LEGO Spike Prime or LEGO MindStorms Inventor?

In August of 2020, LEGO released a new version of LEGO MindStorms called LEGO MindStorms Inventor, which is released just a few months after the release of LEGO Spike Prime. So what is the difference between MindStorms Inventor and Spike Prime? Does that mean I have to upgrade my LEGO Spike Prime in order to …

Continue reading Which New Model to Choose From – LEGO Spike Prime or LEGO MindStorms Inventor?

Play LEGO Spike Prime – Upgrade Demo Project Security Box – Python Code

In my previous post, I introduced how to upgrade the model and programming blocks of the demo project - Security Box. In this post, I would "translate" the programming blocks into Python code. I would say it is an efficient way to get familiar with LEGO Spike Python module and improve your Python coding skills. …

Continue reading Play LEGO Spike Prime – Upgrade Demo Project Security Box – Python Code

Play LEGO Spike Prime – Upgrade Demo Project Security Box

In the building plans of LEGO Spike Prime software, we could find the building specification of a security box. When Left button is pressed, the box could be unlocked. However, if we want to design a more high-tech security box, simple lock/unlock functionality is not enough. On YouTube, we could find videos on how to …

Continue reading Play LEGO Spike Prime – Upgrade Demo Project Security Box

LEGO Spike Prime – “Translate” Programming Blocks into Python Code

In my previous post, I introduced how to set a mission for LEGO Spike Prime and implement the task with LEGO Spike programming blocks. As I mentioned before, Lego Spike Prime supports MicroPython pretty well. Most of the programming blocks could find corresponding Python functions. In this post, I will demonstrate how to "translate" my …

Continue reading LEGO Spike Prime – “Translate” Programming Blocks into Python Code

Play LEGO Spike Prime at Home – Another Mission for Your Robot Vehicle – Part 2

This is the second part of LEGO Spike Prime mission and focuses on the introduction of mechanical structure. If you would like to check how to use program to control your robot, you could refer to my previous post. Top View The following is the top view of the robot vehicle. Since the model needs …

Continue reading Play LEGO Spike Prime at Home – Another Mission for Your Robot Vehicle – Part 2

Play LEGO Spike Prime at Home – Another Mission for Your Robot Vehicle – Part 1

In my previous post, I introduced a way to design a mission for LEGO Spike Prime, so that even without the competition map of FLL or WRO, you could still sharpen your programming skills of LEGO robot vehicles at home. In today's post, I would like to continue this method but introduce a different map …

Continue reading Play LEGO Spike Prime at Home – Another Mission for Your Robot Vehicle – Part 1

Play LEGO Spike Prime – Design a Mission for Your Robot at Home – Part 2

In the previous post, I introduced how to design a mission for the Lego Spike Prime vehicle at home and explained a sample program in detail. In this post, I would like to introduce mechaical structure of the model. Top View The top view of the model is shown below. It has a front attachment …

Continue reading Play LEGO Spike Prime – Design a Mission for Your Robot at Home – Part 2

Play LEGO Spike Prime – Design a Mission for Your Robot at Home – Part 1

You might wonder if we could make LEGO Spike robot accomplish a task at home, just like it does on FLL or WRO competition maps. But what if we do not have those maps? Do we have to buy such maps to train LEGO robot vehicles? The answer is no. You could create unique missions …

Continue reading Play LEGO Spike Prime – Design a Mission for Your Robot at Home – Part 1