Skip to content

Commit 880625c

Browse files
committed
apply Jose's feedback
1 parent 04dccc6 commit 880625c

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

content/hardware/08.edu/solution-and-kits/alvik/tutorials/getting-started-mblock/getting-started-mblock.md

+31-28
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags:
77
author: "Gaia Castronovo"
88
---
99

10-
![Alvik's Robot](assets/getting-started.jpg)
10+
![Alvik Robot](assets/getting-started.jpg)
1111

1212
Welcome to your first steps with Alvik, your companion for exploring robotics and programming. In this guide, we'll walk you through setting up your Alvik and starting your journey with block based language.
1313

@@ -18,6 +18,19 @@ When unboxing Alvik, you should find the following items:
1818
- Alvik robot
1919
- USB-C® cable (located under the cardboard tray)
2020

21+
## Update Firmware with Alvik Updater
22+
23+
Updating the firmware on your Alvik ensures it has the latest features, bug fixes, and performance improvements. Regular updates help maintain compatibility with the mBlock software and ensure optimal performance of your robot.
24+
25+
![Alvik Firmware Updater](assets/AlvikFirmwareUpdater30sec.gif)
26+
27+
1. Visit https://alvikupdate.arduino.cc.
28+
2. Connect Alvik to your computer.
29+
3. Turn ON your Alvik.
30+
4. Click the "Connect" button.
31+
5. **A pop-up window will appear** prompting you to select the COM port. Choose the correct port and confirm.
32+
6. Once connected, click the "Update" button and wait for the process to complete.
33+
2134
## Preparing Your Environment
2235

2336
During the installation process, you may **need to install additional drivers**, that require access to the **administrator login password** to your OS.
@@ -37,7 +50,7 @@ You can use a computer with different operating systems like:
3750

3851
For a quick start, you can use the *mBlock web version*. Scroll down on the [download page](https://mblock.cc/pages/downloads) to download the correct **mLink driver** for your **operating system**.
3952

40-
![mlink drivers](assets/mlink-1.png)
53+
![mlink web version](assets/mlink-1.png)
4154

4255
After downloading, install the **drivers**. This small software helps your computer communicate with the robot. When prompted, simply click "INSTALL."
4356

@@ -51,21 +64,21 @@ Please [download the software](https://mblock.cc/pages/downloads), then double-c
5164

5265
If you're using a *Windows* or *Mac* computer, scroll down the page and click the appropriate button. For *Chromebook* or *Linux* users, the process is slightly different.
5366

54-
![download webpage](assets/download-version.png)
67+
![Download Webpage](assets/download-version.png)
5568

5669
### Windows
5770

5871
To install mBlock on Windows:
5972

6073
1. Click the "Download for Windows" button, wait for the download to finish, and find the file in your Downloads folder.
6174

62-
![download folder](assets/installing-download.png)
75+
![Download Folder](assets/installing-download.png)
6376

6477
2. Double-click the downloaded file and click "YES" when prompted. Follow the on-screen instructions to complete the installation.
6578

6679
3. Install the **drivers**: a window will appear asking you to click "INSTALL."
6780

68-
![install driver](assets/install-drivers.png)
81+
![install driver](assets/install-drivers.png)
6982
The driver installation window may occasionally open in the background. If this happens, look for the computer icon in your taskbar and click it to proceed.
7083

7184
If you encounter an installation error, click 'UNINSTALL' and then 'INSTALL' again. Once the drivers are installed, close the driver window manually by clicking the 'X'. Afterward, complete the mBlock installation.
@@ -77,7 +90,7 @@ To install mBlock on macOS:
7790
1. Click on the "Download for Mac" button on the [Download page](https://mblock.cc/pages/downloads), wait for the download to finish, and find the file in your Downloads folder.
7891
2. Double-click the downloaded file to mount the `.dmg` file. Then, drag the Panda icon to the Applications folder.
7992

80-
![install on mac](assets/install-mac.png)
93+
![Install on mac](assets/install-mac.png)
8194

8295
3. Open the Applications folder, locate the mBlock app, and open it. The first time you open the software, right-click (or Control-click) on the app and select "Open" from the dropdown menu.
8396

@@ -87,7 +100,7 @@ If you're using a **Chromebook** ([read the full guide here](https://support.mak
87100

88101
To find the "mLink - mBlock web version driver" and download the appropriate file for your operating system.
89102

90-
![download mlink](assets/mlink.png)
103+
![download Chromebook mlink](assets/mlink.png)
91104

92105
## Connect the Robot to mBlock
93106

@@ -97,50 +110,39 @@ To program Alvik, start by opening the mBlock software if you haven’t already.
97110

98111
***To ensure a proper connection and protect the robot's battery, always turn off the robot before connecting it to your computer; it may not appear if left on.***
99112

100-
![Alvik switch slide on or off](assets/robot-off.png)
113+
![Alvik switch slide OFF](assets/robot-off.png)
101114

102115
**2.** <a href="https://ide.mblock.cc">Open mBlock</a>. In the `Device` section, add Alvik as a programmable board by clicking the `+ Add` button, then selecting Alvik from the robot list.
103116

104-
![add device in mblock](assets/add-device.gif)
117+
![Add device in mblock](assets/add-device.gif)
105118

106119
**3.** **Connect the programming cable** to your computer and the Arduino Nano ESP32.
107120

108121
![Connecting Alvik to the PC](assets/connecting_alvik.gif)
109122

110123
**4.** Locate the robot's **on/off switch** and slide it to the **ON** position.
111124

112-
![Alvik switch slide on or off](assets/alvik-on.png)
125+
![Alvik switch slide on](assets/alvik-on.png)
113126

114127
**5.** Establish the connection to **mBlock** clicking on the **Connect** button.
115128

116-
![mblock connect button](assets/connect-button.png)
129+
![mBlock connect button](assets/connect-button.png)
117130

118131
**6.** Click the **Connect** button in the pop-up window.
119132

120133
In the connect window, select the **Serial Port**, in Windows you might see something like COM4 (or another number), while on other operating systems, it could be something like `/dev/tty.[yourSerialPortName]`. mBlock typically detects the correct port automatically, but if you encounter any issues, make sure the selected port is the right one.
121134

122-
![mblock connect button](assets/COM-port.png)
135+
![mblock COM port selection](assets/COM-port.png)
123136

124137
**7.** You are **ready** to work!
125138

126-
## Update Firmware with Alvik Updater
127-
128-
![Alvik Firmware Updater](assets/AlvikFirmwareUpdater30sec.gif)
129-
130-
1. Visit https://alvikupdate.arduino.cc.
131-
2. Connect Alvik to your computer.
132-
3. Turn ON your Alvik.
133-
4. Click the "Connect" button.
134-
5. **A pop-up window will appear** prompting you to select the COM port. Choose the correct port and confirm.
135-
6. Once connected, click the "Update" button and wait for the process to complete.
136-
137139
## Blocks
138140

139-
Explore mBlock to start programming Alvik. You'll find a list of visual blocks in the center of the interface. Each block represents a command Alvik can execute, divided into **different colored folders by action kind**.
141+
Explore mBlock to start programming your Alvik. In the center of the interface, you’ll find a list of visual blocks, each representing a command that Alvik can execute. These blocks are grouped **into color-coded categories based on the type of action** they perform.
140142

141-
![command list](assets/actions.png)When you're creating a sequence of commands for Alvik you **always need to start by stating the initial event**:
143+
![Command List](assets/actions.png)When you're creating a sequence of commands for Alvik you **always need to start by stating the initial event**:
142144

143-
![event in the action menu](assets/events.png)
145+
![Event in the action menu](assets/events.png)
144146

145147
* `When Alvik starts` - the code will be executed the moment you turn ON Alvik.
146148

@@ -168,7 +170,7 @@ On the top of Alvik you can also find **8 buttons**, that let you operate the ro
168170

169171
![Alvik buttons](assets/touchButtons.png)
170172

171-
The goal of our first program is to make the LEDs flash when you press a button on Alvik:
173+
The goal of **our first program** is to make the LEDs flash when you press a button on Alvik:
172174

173175
1. Navigate to the `Events` folder and drag the command `When button [ok] is pressed` to the coding area on the right.
174176

@@ -194,9 +196,10 @@ Inside a loop block called `forever` , use the command `if < > then { } else
194196

195197
Alvik needs time to read the distance sensor therefore we need to avoid executing the loop block `forever` too fast. To fix this, add a **small delay** (about 0.1 seconds) with the block `wait ( )`. This won’t change much in behavior but will give Alvik **enough time to read the sensor**.
196198

197-
We'll also use two other kind of blocks: `Motor` contains all actions to control Alvik's wheels and inside the folder `Distance Sensors` the blocks to control the Time of Flight sensor.
199+
We'll also use two other types of blocks: the `Motor` blocks contain all the actions needed to control Alvik's wheels, while the `Distance Sensors` folder holds the blocks for controlling the Time of Flight sensor.
198200

199201
### Next Steps
200202

203+
* For more in depth block-based guided projects with STEAM topics [visit the course page](https://courses.arduino.cc/block-based-coding-robotics).
201204
* If you want to learn more about how Alvik is built or which functions you can use to program it, visit the documentation in the [Docs space for Alvik](https://docs.arduino.cc/hardware/alvik/) and follow the respective [Alvik's User Manual](https://docs.arduino.cc/hardware/alvik/user-manual) to know more about how to build incredible projects with your robot!
202205
* If you want to follow step-by-step guided projects following an educational approach to learn MicroPython and robotics topics with Alvik, follow the [Explore Robotics in MicroPython](https://courses.arduino.cc/explore-robotics-micropython/) course.

0 commit comments

Comments
 (0)