Skip to content

Commit 6d5e8d8

Browse files
authored
Merge pull request #238 from arduino/jacobhylen/ble-sense-rev2-more-small-fixes
More small changes to naming in tutorials
2 parents 820c187 + 6eeedb6 commit 6d5e8d8

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/get-started-with-machine-learning/get-started-with-machine-learning.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Microcontrollers, such as those used on Arduino boards, are low-cost, single chi
6565

6666
Arduino is an open-source platform and community focused on making microcontroller application development accessible to [everyone](https://create.arduino.cc/projecthub). The [board](https://store.arduino.cc/usa/nano-33-ble-sense) we’re using here has an Arm Cortex-M4 microcontroller running at 64 MHz with 1 MB Flash memory and 256 KB of RAM. This is tiny in comparison to cloud, PC, or mobile but reasonable by microcontroller standards.
6767

68-
![Arduino Nano 33 BLE Sense board is smaller than a stick of gum.](assets/nanosenseble.png)
68+
![Arduino Nano 33 BLE Sense Rev2 board is smaller than a stick of gum.](assets/nanosenseble.png)
6969

7070
There are practical reasons you might want to squeeze ML on microcontrollers, including:
7171

@@ -92,7 +92,7 @@ The inference examples for TensorFlow Lite for Microcontrollers are now packaged
9292
For more background on the examples you can take a look at the source in the [TensorFlow repository](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro). The models in these examples were previously trained. The tutorials below show you how to deploy and run them on an Arduino. In the next section, we’ll discuss training.
9393

9494
## How to Run the Examples Using Arduino Create Web Editor.
95-
Once you connect your Arduino Nano 33 BLE Sense to your desktop machine with a USB cable you will be able to compile and run the following TensorFlow examples on the board by using the [Arduino Create](https://create.arduino.cc/editor) web editor:
95+
Once you connect your Arduino Nano 33 BLE Sense Rev2 to your desktop machine with a USB cable you will be able to compile and run the following TensorFlow examples on the board by using the [Arduino Create](https://create.arduino.cc/editor) web editor:
9696

9797
![Compiling an example from the Arduino_TensorFlowLite library.](assets/create-lib.gif)
9898

@@ -117,11 +117,11 @@ Select an example and the sketch will open. To compile, upload and run the examp
117117

118118
## Training a TensorFlow Lite Micro Model For Arduino
119119

120-
![Gesture classification on Arduino Nano 33 BLE Sense, output as emojis.](assets/ezgif-1-c5bdaa9f0bee.gif)
120+
![Gesture classification on Arduino Nano 33 BLE Sense Rev2, output as emojis.](assets/ezgif-1-c5bdaa9f0bee.gif)
121121

122-
Next we will use ML to enable the Arduino board to recognise gestures. We’ll capture motion data from the Arduino Nano 33 BLE Sense board, import it into TensorFlow to train a model, and deploy the resulting classifier onto the board.
122+
Next we will use ML to enable the Arduino board to recognise gestures. We’ll capture motion data from the Arduino Nano 33 BLE Sense Rev2 board, import it into TensorFlow to train a model, and deploy the resulting classifier onto the board.
123123

124-
The idea for this tutorial was based on Charlie Gerard’s awesome [Play Street Fighter with body movements using Arduino and Tensorflow.js](https://medium.com/@devdevcharlie/play-street-fighter-with-body-movements-using-arduino-and-tensorflow-js-6b0e4734e118). In Charlie’s example, the board is streaming all sensor data from the Arduino to another machine which performs the gesture classification in Tensorflow.js. We take this further and “TinyML-ify” it by performing gesture classification on the Arduino board itself. This is made easier in our case as the Arduino Nano 33 BLE Sense board we’re using has a more powerful Arm Cortex-M4 processor, and an on-board IMU.
124+
The idea for this tutorial was based on Charlie Gerard’s awesome [Play Street Fighter with body movements using Arduino and Tensorflow.js](https://medium.com/@devdevcharlie/play-street-fighter-with-body-movements-using-arduino-and-tensorflow-js-6b0e4734e118). In Charlie’s example, the board is streaming all sensor data from the Arduino to another machine which performs the gesture classification in Tensorflow.js. We take this further and “TinyML-ify” it by performing gesture classification on the Arduino board itself. This is made easier in our case as the Arduino Nano 33 BLE Sense Rev2 board we’re using has a more powerful Arm Cortex-M4 processor, and an on-board IMU.
125125

126126
We’ve adapted the tutorial below, so no additional hardware is needed – the sampling starts on detecting movement of the board. The original version of the tutorial adds a breadboard and a hardware button to press to trigger sampling. If you want to get into a little hardware, you can follow that version [instead](https://github.com/sandeepmistry/aimldevfest-workshop-2019).
127127

@@ -162,7 +162,7 @@ The complete sketch can be found below:
162162
when the significant motion is detected.
163163
You can also use the Serial Plotter to graph the data.
164164
The circuit:
165-
- Arduino Nano 33 BLE or Arduino Nano 33 BLE Sense board.
165+
- Arduino Nano 33 BLE or Arduino Nano 33 BLE Sense Rev2 board.
166166
Created by Don Coleman, Sandeep Mistry
167167
Modified by Dominic Pajak, Sandeep Mistry
168168
This example code is in the public domain.
@@ -316,7 +316,7 @@ We will be starting a new sketch, you will find the complete code below:
316316
discouraged in Arduino examples, and in the future the TensorFlowLite library
317317
might change to make the sketch simpler.
318318
The circuit:
319-
- Arduino Nano 33 BLE or Arduino Nano 33 BLE Sense board.
319+
- Arduino Nano 33 BLE or Arduino Nano 33 BLE Sense Rev2 board.
320320
Created by Don Coleman, Sandeep Mistry
321321
Modified by Dominic Pajak, Sandeep Mistry
322322
This example code is in the public domain.

content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/humidity-and-temperature-sensor/content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Let's start by opening the [Arduino Web Editor](https://create.arduino.cc/editor
7676

7777
**2. Connecting the board**
7878

79-
Now, connect the Arduino Nano 33 BLE Sense to the computer to check that the Web Editor recognises it, if so, the board and port should appear as shown in the image. If they don't appear, follow the [instructions](https://create.arduino.cc/getting-started/plugin/welcome) to install the plugin that will allow the Editor to recognise your board.
79+
Now, connect the Arduino Nano 33 BLE Sense Rev2 to the computer to check that the Web Editor recognises it, if so, the board and port should appear as shown in the image. If they don't appear, follow the [instructions](https://create.arduino.cc/getting-started/plugin/welcome) to install the plugin that will allow the Editor to recognise your board.
8080

8181
![Selecting the board.](assets/nano33BS_01_board_port.png)
8282

@@ -123,11 +123,11 @@ If you choose to skip the code building section, the complete code can be found
123123
HS300x - Read Sensors
124124
125125
This example reads data from the on-board HS300x sensor of the
126-
Nano 33 BLE Sense and prints the temperature and humidity sensor
126+
Nano 33 BLE Sense Rev2 and prints the temperature and humidity sensor
127127
values to the Serial Monitor once a second.
128128
129129
The circuit:
130-
- Arduino Nano 33 BLE Sense R2
130+
- Arduino Nano 33 BLE Sense Rev2
131131
132132
This example code is in the public domain.
133133
*/
@@ -191,5 +191,5 @@ Sometimes errors occur, if the project is not working as intended there are some
191191

192192
## Conclusion
193193

194-
In this simple tutorial we learned how to read temperature and humidity values from the **HS3003** sensor using the [HS300x library](https://github.com/arduino-libraries/Arduino_HS300x), and how to use the sensor embedded in the Arduino Nano 33 BLE Sense board, to measure and print out humidity and temperature values from the environment.
194+
In this simple tutorial we learned how to read temperature and humidity values from the **HS3003** sensor using the [HS300x library](https://github.com/arduino-libraries/Arduino_HS300x), and how to use the sensor embedded in the Arduino Nano 33 BLE Sense Rev2 board, to measure and print out humidity and temperature values from the environment.
195195

0 commit comments

Comments
 (0)