Learn Javascript with Sphero

Class Updates

Graduate from dragging blocks to writing the text code yourself! 

Download Sphero EDU App HERE

Screen Shot 2020-09-23 at 1.20.59 PM.png

 Go to Programs and select "Create"

Remember to create an account if using a PC or Mac computer.

Name your program, Select "Text" and "Mini"

Try this starter code. What will Sphero do?

Do you remember what the numbers mean?

"0" is the Heading (Direction)

"45" refers to Speed

"2" is the number of seconds Sphero will roll (Duration)

Time to modify the code!

Change the Heading, Speed or Duration

Add another line of code

Try different combinations

Inner/Outer Square Maze

Use a "Loop" (3 times) and end with an obstacle in the center

Check back next week for new code sequences

Block Code

Text Code

FEATURED ON

  • Instagram Social Icon
  • Facebook Social Icon
  • Twitter Social Icon
Solar Logo Sep 18.JPG
Screen Shot 2019-10-10 at 12.15.06 PM.pn
Screen Shot 2019-10-10 at 2.08.08 PM.png
Screen Shot 2019-10-29 at 10.46.39 PM.pn

© 2019-2020 by SoLA Robotics.  All Rights Reserved.