top of page
kidsbg.png

Code2Grow Tutorials

Welcome to Code2Grow! Make sure you have pressed "Start Coding" before continuing with the starter guide.

intro.png
intro.png

This is our main portal for our coding website. We can get here from the Start Coding option on out top menu. 

This is the coding interface you will see after pressing “Start Coding”.

menuConnect_edited.jpg
menuConnect.png
wired.png

This is our menu bar where you can access all our libraries and download them into your microcontroller if need be. Also our sample codes are here. To connect we will press the chain link button.

First step will be to connect to the robot. Make sure the terminal is open and look for the chain link button. When you hover over it with the arrow it should say “connect”. Click on this. 

portmenu_edited.jpg
portmenu.png

Once done with all the steps you can upload a code from the move menu and watch your robot go!

Once clicked, this menu should pop up. In this scenario we will choose COM3.   Usually the microcontroller will show with a name that ends with COM3. The next step will show if you are connected to the right robot. 

successConnect_edited.png

Once pressed you will come to this window. Choose the one that says Board CDC (COM#). This one is the usual name of the microcontroller. Other options will show but they will connect to other outlets of your computer.

successConnect.png

Successful connection will show robot connected status at the bottom of the screen.  Also on the terminal you will see code which is also means you are connected to the robot.  If you did not see any of these items then you might have connected to the wrong port from the earlier menu. The connection also could have been faulty so recheck all connections. 

installation.png

Once connected, you should be able to see the Connected to Windtree Robot at the bottom. Also on the terminal screen you should see some codes. If you do not see the words on the terminal it might mean you are not connected to the right port.

readyupload.png

Once connected you can upload all the libraries from our installation button. There are more options on this menu like the examples button. The installation of all libraries will take about 30 seconds.

newprojectbutton.png

This part is only is essential if you do not see your blocks that you need. Next steps we will cover how to create a new project. First, go to the bottom menu. Choose the paper button. 

confirmNew.png

When clicked, it will prompt you this window as if you create new project it will delete any work done.

newprojectoptions.png
installation.png

Before moving on make sure you install all our libraries to the microcontroller. These will allow you to turn on color changing light, move motors, mover servos, sonar sensors and much more. If your robot is not moving more likely it's because the motor library has not been installed. Might take a minute to install all.

The next window will allow you to choose your microcontroller and to which robot it is attached too. There are many different types so choose the one that fits you. There are more on the see more option too. You can change the name of the project and once chosen which one to use click on create.

finalmicro.png

Once chosen it will show you which one you choose on the top left. You will some of the blocks would have changed too. 

readyupload.png

Once done you can start coding to move your build. Try moving forwards and backs and watch it go!

bottom of page