Exercise 26 - WefaaRobotics/Smorphi GitHub Wiki

Items needed:

  • Computer
  • A USB to USB-C cable
  • Internet connection
  • An assembled Smorphi mini /Smorphi 2 robot
  • Blynk account

Objectives of exercise:

  1. Learn about Blynk
  2. Learn how to control Smorphi using Blynk

Steps Description
1 [Template of a maze to build]

For this exercise, for ease of movement, let's put your Smorphi into its ‘O’ shape configuration.

2 [Some important settings to change in Arduino]

Make sure the arduino "Tools" settings are as as follows:
* Make sure the flash frequency is in 40MHz
* CPU Frequency is in 240MHz
* The flash mode in “QOUT”
* Flash Size is in 4MB
* Partition Scheme is in Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)



3 [Activity]
For this exercise, make the Smorphi move with a click of a button using Blynk. And, with another click it would stop.
Challenge yourself by getting the Smorphi to move from one end to another.

4 [For C++/Arduino users]

Once you are done, you can compare your solutions here.

5 [Extra challenge]

Just as an opportunity to explore more complex mazes, if you wish to challenge yourself, you can try out the maze below, and get Smorphi to navigate through the maze using Blynk.



Challenge your own coding skills. Try to make a code that can make Smorphi2 move left, right and backwards with the Blynk Button.
Once you are done, you can compare your solutions here.

You can also design your own maze and try out your code.

⚠️ **GitHub.com Fallback** ⚠️