How to add new nodes - Kvel2D/ecs193-wireless-sensor-network GitHub Wiki
First, check if the nodes you want to add are in the "All possible nodes" table on Tree structure page. These nodes are pre-defined and can be added without changing anything in the arduino sketch.
Note that you need to add all of the parents of the nodes as well, otherwise they won't connect to the gateway.
Next, you need to write ids to the boards There may be some boards with pre-written ids provided, if so they should have a labeling tape with the id written on them. Otherwise, you'll need to use the id-writer sketch to write ids. See comments in the sketch for instructions.
Finally, upload the main sketch to all of the new nodes. It is located in the "node" folder. Remember that you need to install all of the libraries to compile the sketch. Libraries are included in the "libraries.zip" file in the repo.
If you want to add nodes that are not in the "All possible nodes" table, see How to create and install a network.