Last edited by 97cweb at 2025-07-01 13:44:52.628593

SD Card Config

Leader Setup

Take the leader's sd card and insert it into your computer. Open it up in the file explorer and you will see 2 folders: - beeton - LightThread

To start, open the LightThread folder. Inside, there is a file called network.json. Open that in a text editor (notepad works)

This is JSON, a human readable config file format. It looks messy, but the main thing to note is that there are 2 main headers, identity, and network. We'll look at network later, but identity has the role tag below it, and it is labeled joiner currently. As this is the leader, we want it to be leader instead. Change it to be leader. Ensure spelling matches and that it is lower case!

Save and close this file.

Joiner Setup

No specific setup is required to get the joiner to work, as the network file initially starts with joiner selected.

First Life

Put the SD cards back into the proper modules, and plug them back in. A bunch of lights will occur.

Leader Lights

The leader will blink yellow for about 30 - 40 seconds and then turn blue. This is normal, it is setting up the network. Once blue, it is ready.

Joiner Lights

The joiner will very quickly turn blue itself as this is its first time awake. Once it is blue, it is still NOT CONNECTED It is ready to connect.

Connection

Once the leader is blue, press the button labeled boot for less than a second on both the leader and the joiner. They will both start flashing, the leader, green, while the joiner will be a light blue.

Once the flashing stops, the leader will be blue again, while the joiner will now be green. It is now paired and part of the network.

Repeat this button press for the other joiner and now all 3 boards are connected.

Congratulations!

Testing

Once they are all connected to each other, look at the 3 arduino IDEs you have open, click on the magnifying glass looking at dots on top right to open the serial monitor. You will see one saying button 0, and the other 2 showing a bunch of log stuff.

Press the button.

If everything is working, you will see the joiner without the button will say "Motor 1 set speed to 100" and the leader will say forwarding message to 0001:1 at followed by an IPV6 address.

It works!

Custom Things