Skip to main content
23 votes
Accepted

What's inside the SPIKE Essential small angular motor?

As far as I know, this is the smallest motor LEGO has produced since the micro motor in 1993: This new angular motor is not quite that small, but it is smaller than every other motor currently in ...
jncraton's user avatar
  • 40.6k
16 votes
Accepted

What internal electronics do Spike Prime and Mindstorms Robot Inventor use?

If we open the hub we can take a look at the main PCB inside. There's just one PCB in addition to a small speaker and the replaceable lithium ion battery. Here's the top of the PCB: And the bottom: ...
jncraton's user avatar
  • 40.6k
14 votes
Accepted

What is the battery life of the new Mindstorms and SPIKE Prime hubs?

Power consumption and battery life will of course vary based on the load that the hub is driving. Philo has an extensive analysis for motor power consumption, so I'll just look at what the hub itself ...
jncraton's user avatar
  • 40.6k
10 votes
Accepted

Why did the light block change in SPIKE v2.0.0+?

With the introduction of the SPIKE Essential set, this element was introduced: It's a matrix of 3x3 colored LEDs. It has similar functionality as the 5x5 light matrix on the SPIKE hub, so the same ...
Michael Verschaeve's user avatar
9 votes
Accepted

How to dump the micropython filesystem from the SPIKE Prime (and Mindstorms v4)?

Using rshell I've managed dump the micropython filesystem of my hub after updating it to v1.0.03.0034-c3879ab. rshell connect serial /dev/ttyACM0 115200 rsync -a /pyboard ~/spikefw Note: These ...
gpdaniels's user avatar
  • 398
9 votes
Accepted

Lego colors that the powered up color sensors can detect

Official Sources The LEGO Shop page for the Color & Distance Sensor (88007) says: Detect 6 colors and objects within 5 to 10 cm range with this robot toy accessory for kids. Since this one is ...
David Lechner's user avatar
9 votes
Accepted

Is it possible to non-destructively open the SPIKE Prime smart hub?

No, but the damage can be limited and is not externally visible. I don't know the technical name, but each of the 4 corners are held in place with these fasteners: Using a tool of the same diameter (...
David Lechner's user avatar
8 votes

What electronics are inside the SPIKE Prime angular motors?

Here's what the part looks like from the outside: The first step to opening it up is to remove the cover over a section of the drive. Note that this process is likely to cause permanent damage to the ...
jncraton's user avatar
  • 40.6k
8 votes
Accepted

Is it possible to re-flash the LEGO Spike Prime Hub with Mindstorms Robot Inventor Hub Firmware while retaining all functionality? And if so, how?

Yes, this is possible. Just connect the SPIKE Prime hub to the MINDSTORMS Robot Inventor App. The app will tell you that the firmware needs to be updated. Follow the instructions in the app to update ...
David Lechner's user avatar
7 votes
Accepted

What is the best way to connect SPIKE prime angular motor to a wheel

TL;DR: Unless you do something quite extreme engineering, any coupling will do just fine and the motor will stall or the tire will slip before even a single axle gets to its limit. The pins have a ...
zovits's user avatar
  • 16.2k
6 votes
Accepted

How to use REPL on the 51515 hub?

I've used rshell for this. It's available on PyPI, so it can be installed using: sudo pip3 install rshell You may need to provide the device to connect to such as: rshell -p /dev/ttyACM0 To get a ...
jncraton's user avatar
  • 40.6k
5 votes
Accepted

EV3 with 6 motors

On Powered Up hubs like SPIKE Prime, all ports are the same and can be used with motors or sensors. That means you can use 6 motors and no sensors if you need to on SPIKE Prime. On EV3, ports A-D are ...
David Lechner's user avatar
5 votes

Continuous power supply for the SPIKE Prime or Robot Inventor hubs?

This is what the 45678 user guide says: EN Important information: Only use a high-quality Power Adaptor, PC or Laptop for charging the rechargeable battery. Output 5V DC, 500-1500mA. Use the supplied ...
Dan1138's user avatar
  • 1,103
5 votes

How to get a random value in the Robot Inventor software (Python)

Under operators, there is a block "Pick Random" where you can specify to pick an integral number between x to y... x and y you can type... So for a random direction, set it between 0 and 359 ...
Michael Verschaeve's user avatar
4 votes
Accepted

When using pi * distance between wheels/tracks, how do I measure distance between wheels?

This formula will need the lateral distance between wheels, i.e. the distance between left and right wheel, not the back and front wheel. motor_pair.move(8.1 * math.pi / 2, 'cm', steering=100) The ...
jpa's user avatar
  • 156
4 votes

Spike Prime remote command using screen

With the prime hub you need to exit the hub default process before you can send commands using ctrl-c. Ctrl-c is the character 0x03. This is my python script that I use to send micropython scripts ...
gpdaniels's user avatar
  • 398
4 votes

Electronic inside Spike Ultrasonic Sensor 45604

The back of this sensor unscrews. The back breaks out the 6-pin cable into an 8-pin connector: The order of the connections for the pins in that picture from left to right are: 6 5 4 3 x ...
jncraton's user avatar
  • 40.6k
4 votes

What is the carbon footprint of running a Spike Prime robot?

None, running the robot doesn't produce any carbon as it doesn't run on fossil fuels but consumes electrical energy. Producing the electrical energy to charge the battery does have a carbon footprint, ...
Michael Verschaeve's user avatar
4 votes

What is the gyro sampling rate on the Spike Prime hub?

Digging a bit into the C source code for the pybricks firmware, I was able to find these two lines: PT_SPAWN(pt, &child, lsm6ds3tr_c_xl_data_rate_set(&child, ctx, LSM6DS3TR_C_XL_ODR_833Hz)); ...
IvanSanchez's user avatar
  • 8,734
3 votes

Is it possible to re-flash the LEGO Spike Prime Hub with Mindstorms Robot Inventor Hub Firmware while retaining all functionality? And if so, how?

There is no problem with switching between SPIKE Legacy and Mindstorms RI firmware. But ... Do not upgrade your firmware with the SPIKE 3 App. After you will not be able to use your hub with SPIKE 2 (...
julien guy's user avatar
3 votes
Accepted

How to get a random value in the Robot Inventor software (Python)

Python has this built in. Or is there some reason you can't use it?
RSchulz's user avatar
  • 7,512
3 votes

Camera for Spike or Mindstorms for Streaming

You probably want to look into suppliers for copter drone parts - the kind that RC hobbyists attach to drones or RC cars to fly/drive from a first-person point of view. These are called FPV ("...
IvanSanchez's user avatar
  • 8,734
3 votes

Does the color sensor use a camera?

This part has been included in a number of sets since its first use in 2020, including SPIKE sets from LEGO Education as well as the Robot Inventor set. It's purpose is to detect reflected light color,...
jncraton's user avatar
  • 40.6k
2 votes

robotic inventor\spike prime hubs: Hub 2 hub communication AND led matrix control

This isn't a direct answer to your question, but it would be one way to solve the problem. Instead of using the hubs from SPIKE or Robot Inventor, you could use the Control+ hub: This hub ...
jncraton's user avatar
  • 40.6k
2 votes

Camera for Spike or Mindstorms for Streaming

You could use a smartphone to do this. They are lightweight and have a camera and Wi-Fi all in one package.
David Lechner's user avatar
2 votes
Accepted

How to dump the firmware from the SPIKE Prime (and Mindstorms v4)?

Using the micropython REPL interface of the hub I've managed to dump the firmware using the built in tools. This was after I'd updated to v1.0.03.0034-c3879ab. The commands on the hub to achieve this ...
gpdaniels's user avatar
  • 398
2 votes

What is the gyro sampling rate on the Spike Prime hub?

In the comments of one of the accepted answer on the question here: What internal electronics do Spike Prime and Mindstorms Robot Inventor use? it's mentioned that the pybricks people have determined ...
Michael Verschaeve's user avatar
1 vote

What electronics are inside the SPIKE 3x3 LED Matrix?

There are 4 clips holding this together. It isn't too difficult to get apart with a little prying. Here's what it looks like with the cover removed: The board can then be popped out of the housing. ...
jncraton's user avatar
  • 40.6k
1 vote

How I can connect the LEGO SPIKE Prime hub via Bluetooth in Visual Studio Code using the pybricksdev library?

The easiest way to use pybricksdev is as a command line tool. I recommend using pipx to ensure that your are always using the latest version of pybricksdev. Assuming you have already installed pipx ...
David Lechner's user avatar
1 vote

What is the carbon footprint of running a Spike Prime robot?

The official rechargeable battery for the large hub has 2100mAh capacity at 7.3V - This lets you calculate the total watt-hours in one full charge (let us know if you need help with this), which you'...
zovits's user avatar
  • 16.2k

Only top scored, non community-wiki answers of a minimum length are eligible