Skip to content

Commit 792b098

Browse files
committed
impr: README.md links
1 parent 6bd869e commit 792b098

File tree

1 file changed

+11
-31
lines changed

1 file changed

+11
-31
lines changed

README.md

+11-31
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
### 1. install mpremote
1515

1616
[mpremote](https://docs.micropython.org/en/latest/reference/mpremote.html) is needed to upload files on the [Arduino® Nano ESP32](https://store.arduino.cc/products/nano-esp32?gad_source=1&gclid=Cj0KCQiA2KitBhCIARIsAPPMEhLtIxV_s7KyLJO4-69RdR1UeFTdgGK_XmI8w7xdbur4gs1oJU4Jl68aAhbaEALw_wcB).
17+
Minimum suggested mpremote release is 1.22.0
1718

1819
```shell
1920
(venv)$ pip install mpremote
@@ -37,39 +38,12 @@ Windows
3738
__NOTE: DO NOT USE LAB FOR MICROPYTHON TO UPLOAD BIN FILES__
3839

3940
### 2.1 mip (MicroPython Package Manager)
40-
This is the recommended method for boards which can connect to Internet.
41-
Run the following MicroPython script using your favourite editor:
41+
This is the recommended method for boards which can connect to Internet. Make sure your board is connected to the Internet and
42+
run the following MicroPython script using your favourite editor:
4243

4344
```py
44-
import network
4545
import mip
46-
import time
47-
48-
SSID = 'YOUR WIFI NETWORK NAME (must be 2.4GHz)'
49-
PWD = 'YOUR WIFI PASSWORD'
50-
51-
interface = network.WLAN(network.STA_IF)
52-
interface.active(False)
53-
time.sleep(0.1)
54-
interface.active(True)
55-
56-
def connect(ssid, pwd):
57-
interface.connect(ssid, pwd)
58-
# Network Connection Progress
59-
max_dot_cols = 20
60-
dot_col = 0
61-
print()
62-
print(f"Connecting to {ssid}")
63-
while not interface.isconnected():
64-
if(dot_col % max_dot_cols == 0):
65-
print()
66-
print('.', end = '')
67-
dot_col +=1
68-
time.sleep_ms(100)
69-
print()
70-
print(f'{"C" if interface.isconnected() else "NOT c"}onnected to network')
71-
72-
connect(SSID, PWD)
46+
7347
mip.install('github:arduino/arduino-alvik-mpy')
7448

7549
```
@@ -79,7 +53,7 @@ mip.install('github:arduino/arduino-alvik-mpy')
7953

8054
### 3. Update firmware on your Arduino® Alvik
8155

82-
You can find the latest Arduino Alvik Carrier Firmware code and pre-compiled binary [here](https://github.com/arduino-libraries/Arduino_AlvikCarrier/releases/latest)
56+
Download the latest Arduino [Alvik Carrier Firmware code](https://github.com/arduino-libraries/Arduino_AlvikCarrier) and/or [pre-compiled binary](https://github.com/arduino-libraries/Arduino_AlvikCarrier/releases/latest)
8357

8458
Go into `utilities` folder and run:
8559
```shell
@@ -183,3 +157,9 @@ It is possible to stop the robot at any time by pressing the `CANCEL touch butto
183157
<br>
184158

185159
__Note: not open bin files with Arduino Lab for Micropython because they will be corrupted__
160+
161+
### Useful links
162+
- [Alvik Carrier](https://github.com/arduino-libraries/Arduino_AlvikCarrier)
163+
- [Alvik C++](https://github.com/arduino-libraries/Arduino_Alvik)
164+
- [Product page](https://store.arduino.cc/pages/alvik)
165+
- [Micropython](https://github.com/arduino/arduino-alvik-mpy)

0 commit comments

Comments
 (0)