You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/get-started-with-machine-learning/get-started-with-machine-learning.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Microcontrollers, such as those used on Arduino boards, are low-cost, single chi
65
65
66
66
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.
67
67
68
-

68
+

69
69
70
70
There are practical reasons you might want to squeeze ML on microcontrollers, including:
71
71
@@ -92,7 +92,7 @@ The inference examples for TensorFlow Lite for Microcontrollers are now packaged
92
92
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.
93
93
94
94
## 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:
96
96
97
97

98
98
@@ -117,11 +117,11 @@ Select an example and the sketch will open. To compile, upload and run the examp
117
117
118
118
## Training a TensorFlow Lite Micro Model For Arduino
119
119
120
-

120
+

121
121
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.
123
123
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.
125
125
126
126
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).
127
127
@@ -162,7 +162,7 @@ The complete sketch can be found below:
162
162
when the significant motion is detected.
163
163
You can also use the Serial Plotter to graph the data.
164
164
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.
166
166
Created by Don Coleman, Sandeep Mistry
167
167
Modified by Dominic Pajak, Sandeep Mistry
168
168
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:
316
316
discouraged in Arduino examples, and in the future the TensorFlowLite library
317
317
might change to make the sketch simpler.
318
318
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.
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/humidity-and-temperature-sensor/content.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Let's start by opening the [Arduino Web Editor](https://create.arduino.cc/editor
76
76
77
77
**2. Connecting the board**
78
78
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.
80
80
81
81

82
82
@@ -123,11 +123,11 @@ If you choose to skip the code building section, the complete code can be found
123
123
HS300x - Read Sensors
124
124
125
125
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
127
127
values to the Serial Monitor once a second.
128
128
129
129
The circuit:
130
-
- Arduino Nano 33 BLE Sense R2
130
+
- Arduino Nano 33 BLE Sense Rev2
131
131
132
132
This example code is in the public domain.
133
133
*/
@@ -191,5 +191,5 @@ Sometimes errors occur, if the project is not working as intended there are some
191
191
192
192
## Conclusion
193
193
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.
0 commit comments