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/04.pro/boards/portenta-c33/datasheets/datasheet.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ IoT, building automation, smart cities, and agriculture
22
22
Thanks to its high-performance processor, the Portenta C33 supports many applications. From industrial applications to rapid prototyping, IoT solutions, and building automation, among many others. Here are some application examples:
23
23
24
24
-**Industrial Automation:** The Portenta C33 can be implemented as a solution for different industrial applications, such as:
25
-
-**Industrial IoT gateway:** Connect your devices, machines, and sensors to a Portenta C33 gateway. Collect real-time operation data and display them on an Arduino IoT Cloud dashboard, leveraging end-to-end secure data encryption.
25
+
-**Industrial IoT gateway:** Connect your devices, machines, and sensors to a Portenta C33 gateway. Collect real-time operation data and display them on an Arduino Cloud dashboard, leveraging end-to-end secure data encryption.
26
26
-**Machine monitoring to track OEE/OPE:** Track Overall Equipment Efficiency (OEE) and Overall Process Effectiveness (OPE) with the Portenta C33 as an IoT node. Collect data and get alerted on machine uptime and unplanned downtime to provide reactive maintenance and improve production rate.
27
27
-**Inline Quality Assurance:** Leverage full compatibility between Portenta C33 and Nicla family to carry out quality control in your production lines. Collect Nicla smart sensing data with the Portenta C33 to catch defects early and resolve them before they travel down the line.
28
28
-**Prototyping:** The Portenta C33 can assist Portenta and MKR developers with their IoT prototypes by integrating ready-to-use Wi-Fi®/Bluetooth® connectivity and various peripheral interfaces, including CAN, SAI, SPI, and I2C. Moreover, the Portenta C33 can be promptly programmed with high-level languages like MicroPython, allowing for rapid prototyping of IoT applications.
29
29
30
30
-**Building Automation:** The Portenta C33 can be used in multiple building automation applications:
31
-
-**Energy Consumption Monitoring:** Collect and monitor consumption data from all services (e.g., gas, water, electricity) in a single system. Display usage trends in Arduino IoT Cloud charts, providing an overall image for energy management optimization and cost reduction.
31
+
-**Energy Consumption Monitoring:** Collect and monitor consumption data from all services (e.g., gas, water, electricity) in a single system. Display usage trends in Arduino Cloud charts, providing an overall image for energy management optimization and cost reduction.
32
32
-**Appliances Control System**: Leverage high-performing Portenta C33 microcontroller to control in real-time your appliances. Adjust HVAC heating or improve the efficiency of your ventilation system, control the motors of your curtains, and switch on/off lights. The onboard Wi-Fi® connectivity easily allows Cloud integration, so that everything is under control even from the remote.
33
33
34
34
</div>
@@ -483,9 +483,9 @@ All Arduino® devices work out-of-the-box on the Arduino® Web Editor **[2]** by
483
483
484
484
The Arduino® Web Editor is hosted online, therefore it will always be up-to-date with the latest features and support for all boards and devices. Follow **[3]** to start coding on the browser and upload your sketches onto your device.
485
485
486
-
### Getting Started - Arduino IoT Cloud
486
+
### Getting Started - Arduino Cloud
487
487
488
-
All Arduino® IoT enabled products are supported on Arduino® IoT Cloud which allows you to log, graph and analyze sensor data, trigger events, and automate your home or business.
488
+
All Arduino® IoT enabled products are supported on Arduino Cloud which allows you to log, graph and analyze sensor data, trigger events, and automate your home or business.
Copy file name to clipboardExpand all lines: content/hardware/04.pro/boards/portenta-c33/tutorials/energy-meter-application-note/content.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ This application note explores the implementation of a simple yet useful energy
22
22
23
23
Non-invasive current transformers offer several advantages, including electrical safety, easy installation, and the ability to measure current in existing electrical circuits without interrupting the flow of current. These characteristics make them well-suited for applications such as energy metering, power monitoring, and load management.
24
24
25
-
The Portenta C33 features a powerful microcontroller and onboard wireless connectivity, making it an ideal choice for energy monitoring applications. The Portenta C33's onboard Wi-Fi® module enables seamless integration with wireless networks and facilitates communication with the [Arduino IoT Cloud platform](https://create.arduino.cc/iot/).
25
+
The Portenta C33 features a powerful microcontroller and onboard wireless connectivity, making it an ideal choice for energy monitoring applications. The Portenta C33's onboard Wi-Fi® module enables seamless integration with wireless networks and facilitates communication with the [Arduino Cloud platform](https://create.arduino.cc/iot/).
26
26
27
27

28
28
29
-
By combining the Portenta C33 and the SCT013-000 current transformer, you can quickly build an energy meter that can measure Root Means Square (RMS) current, power consumption, and communicates the data to the Arduino IoT Cloud platform for further analysis and visualization.
29
+
By combining the Portenta C33 and the SCT013-000 current transformer, you can quickly build an energy meter that can measure Root Means Square (RMS) current, power consumption, and communicates the data to the Arduino Cloud platform for further analysis and visualization.
30
30
31
31
## Goals
32
32
@@ -36,7 +36,7 @@ The main goals of this application note are as follows:
36
36
- Showcase the integration of the Portenta C33 board with a non-invasive current transformer to measure AC current.
37
37
- Calculate the RMS (Root Mean Square) value of a current waveform, providing an accurate representation of the actual current flowing through the circuit.
38
38
- Use the measured RMS current and a known AC voltage to calculate power consumption in Watts.
39
-
- Establish a connection between the Portenta C33 and the Arduino IoT Cloud to send the measured RMS current data for further analysis, visualization, and remote monitoring.
39
+
- Establish a connection between the Portenta C33 and the Arduino Cloud to send the measured RMS current data for further analysis, visualization, and remote monitoring.
40
40
41
41
## Hardware and Software Requirements
42
42
@@ -51,7 +51,7 @@ The main goals of this application note are as follows:
51
51
### Software Requirements
52
52
53
53
-[Arduino IDE 1.8.10+](https://www.arduino.cc/en/software), [Arduino IDE 2.0+](https://www.arduino.cc/en/software), or [Arduino Web Editor](https://create.arduino.cc/editor)
54
-
- For the Wi-Fi® connectivity feature of Portenta C33, we will use [Arduino IoT Cloud](https://create.arduino.cc/iot/things). In case you do not have an account, create one for free [here](https://cloud.arduino.cc/).
54
+
- For the Wi-Fi® connectivity feature of Portenta C33, we will use [Arduino Cloud](https://create.arduino.cc/iot/things). In case you do not have an account, create one for free [here](https://cloud.arduino.cc/).
55
55
- The [energy meter example sketch](assets/current_transformer.zip)
56
56
57
57
## Hardware Setup Overview
@@ -118,7 +118,7 @@ The non-invasive current transformer sketch has a simple structure which is expl
118
118
@version 1.0 20/06/23
119
119
*/
120
120
121
-
// Import the properties and definitions for the Arduino IoT Cloud integration
121
+
// Import the properties and definitions for the Arduino Cloud integration
122
122
#include "thingProperties.h"
123
123
124
124
// Define a floating-point conversion factor for the SCT013-000 current transformer configuration
@@ -147,7 +147,7 @@ void setup() {
147
147
analogReadResolution(12);
148
148
delay(1000);
149
149
150
-
// Call the function to setup the Arduino IoT Cloud
150
+
// Call the function to setup the Arduino Cloud
151
151
iot_cloud_setup();
152
152
}
153
153
@@ -172,7 +172,7 @@ void loop() {
172
172
Serial.println(F("- Energy measurement has been paused!"));
173
173
}
174
174
175
-
// Update the RMS current and apparent power in the Arduino IoT Cloud
175
+
// Update the RMS current and apparent power in the Arduino Cloud
176
176
cloud_Current = Irms;
177
177
cloud_ApparentPower = AP;
178
178
@@ -181,7 +181,7 @@ void loop() {
181
181
}
182
182
183
183
/**
184
-
This function is executed every time a new value is received from the Arduino IoT Cloud
184
+
This function is executed every time a new value is received from the Arduino Cloud
This function is executed every time a new value from sct_ratio is received from the Arduino IoT Cloud
261
+
This function is executed every time a new value from sct_ratio is received from the Arduino Cloud
262
262
263
263
@param none
264
264
@return none
@@ -268,14 +268,14 @@ void onSctRatioChange() {
268
268
}
269
269
270
270
/*
271
-
This function is executed every time a new value from system_Voltage is received from the Arduino IoT Cloud
271
+
This function is executed every time a new value from system_Voltage is received from the Arduino Cloud
272
272
*/
273
273
void onSystemVoltageChange() {
274
274
Region_Voltage = system_Voltage;
275
275
}
276
276
277
277
*
278
-
This function is executed every time a new value from sample_Control is received from the Arduino IoT Cloud
278
+
This function is executed every time a new value from sample_Control is received from the Arduino Cloud
279
279
*/
280
280
void onSampleControlChange() {
281
281
Sample_Switch = sample_Control;
@@ -320,7 +320,7 @@ bool Sample_Switch = true;
320
320
321
321
### Initialization Function
322
322
323
-
The `setup()` function helps set up the communication with the Arduino IoT Cloud, as well as the communication settings of the board itself:
323
+
The `setup()` function helps set up the communication with the Arduino Cloud, as well as the communication settings of the board itself:
324
324
325
325
```arduino
326
326
void setup() {
@@ -334,7 +334,7 @@ void setup() {
334
334
analogReadResolution(12);
335
335
delay(1000);
336
336
337
-
// Call the function to setup the Arduino IoT Cloud
337
+
// Call the function to setup the Arduino Cloud
338
338
iot_cloud_setup();
339
339
}
340
340
```
@@ -344,7 +344,7 @@ This function runs once when the Portenta C33 starts:
344
344
* It initializes the serial communication.
345
345
* Sets the pin mode of the current transformer input pin to input.
346
346
* Sets the ADC resolution to 12 bits and waits for a second for the system to stabilize.
347
-
* Finally calls the `iot_cloud_setup()` function to set up the Arduino IoT Cloud connection.
347
+
* Finally calls the `iot_cloud_setup()` function to set up the Arduino Cloud connection.
348
348
349
349
### The Main Loop
350
350
@@ -372,7 +372,7 @@ void loop() {
372
372
Serial.println(F("- Energy measurement has been paused!"));
373
373
}
374
374
375
-
// Update the RMS current and apparent power in the Arduino IoT Cloud
375
+
// Update the RMS current and apparent power in the Arduino Cloud
376
376
cloud_Current = Irms;
377
377
cloud_ApparentPower = AP;
378
378
@@ -383,7 +383,7 @@ void loop() {
383
383
384
384
The main `loop()` function executes continuously. At each iteration:
385
385
386
-
* It first updates the Arduino IoT Cloud connection.
386
+
* It first updates the Arduino Cloud connection.
387
387
* If the `Sample_Switch` is true, it measures current, calculates apparent power, and prints them to the IDE's Serial Monitor.
388
388
* If `Sample_Switch` is false, it simply prints that the energy measurement is paused.
389
389
* It then updates the `cloud_Current` and `cloud_ApparentPower` variables with the local values of current and apparent power, then waits for a second before the next iteration.
This function is responsible for setting up the connection with the Arduino IoT Cloud:
420
-
* It initiates the properties of the cloud connection.
421
-
* Begins the cloud connection with the preferred connection method.
419
+
This function is responsible for setting up the connection with the Arduino Cloud:
420
+
* It initiates the properties of the Cloud connection.
421
+
* Begins the Cloud connection with the preferred connection method.
422
422
* Sets the debug message level to 2 for detailed debugging, and prints the debug information.
423
423
424
-
The variables `sct_ratio`, `system_Voltage`, and `sample_Control` are used to synchronize the local values with the Arduino IoT Cloud.
424
+
The variables `sct_ratio`, `system_Voltage`, and `sample_Control` are used to synchronize the local values with the Arduino Cloud.
425
425
426
426
Now, let's talk about the `getCurrent()` function:
427
427
@@ -461,11 +461,11 @@ float getCurrent() {
461
461
462
462
The `getCurrent()` function calculates the RMS current from the sensor reading. It reads the sensor value, converts it to voltage, then calculates the current. The square of the current is summed over 0.5 seconds (approximately 30 cycles at 60 Hz). This sum is compensated for the negative semi-cycle quadratics and then used to calculate the RMS current. This value is returned to the user.
463
463
464
-
Finally, `onSctRatioChange()`, `onSystemVoltageChange()`, and `onSampleControlChange()` functions: These functions get executed every time the corresponding value is changed from the Arduino IoT Cloud. For example, if `onSctRatioChange()` is executed, the `Sensor_Factor` will be updated with the new value received from the cloud, and similarly for the others.
464
+
Finally, `onSctRatioChange()`, `onSystemVoltageChange()`, and `onSampleControlChange()` functions: These functions get executed every time the corresponding value is changed from the Arduino Cloud. For example, if `onSctRatioChange()` is executed, the `Sensor_Factor` will be updated with the new value received from the Cloud, and similarly for the others.
465
465
466
466
### Full Example Code
467
467
468
-
The complete example code can be downloaded [here](assets/current_transformer.zip). The `thingProperties.h` header is already included for your reference, and it is based on the variables of the example code. The header is generated automatically with Arduino IoT Cloud. If you desire to modify the requirements of the application environment, it is recommended to make changes within the Arduino Cloud environment.
468
+
The complete example code can be downloaded [here](assets/current_transformer.zip). The `thingProperties.h` header is already included for your reference, and it is based on the variables of the example code. The header is generated automatically with Arduino Cloud. If you desire to modify the requirements of the application environment, it is recommended to make changes within the Arduino Cloud environment.
469
469
470
470
### Arduino Cloud Dashboard
471
471
@@ -483,9 +483,9 @@ On a mobile phone, the Arduino Cloud dashboard displays the information as the p
483
483
484
484
## Conclusions
485
485
486
-
In this application note, we delved into the interaction between a Portenta C33 board and the SCT013-000 current transformer. We examined how the Arduino IoT Cloud enables us to visualize and analyze real-time and historical sensor data intuitively.
486
+
In this application note, we delved into the interaction between a Portenta C33 board and the SCT013-000 current transformer. We examined how the Arduino Cloud enables us to visualize and analyze real-time and historical sensor data intuitively.
487
487
488
-
By using the Portenta C33 board and the Arduino IoT Cloud, you can transform raw sensor data into meaningful insights. Whether it is reading the RMS current and apparent power information, altering the current transformer configurations in real-time, or adapting to unique site requirements, this application note offers a robust and versatile system for handling these tasks.
488
+
By using the Portenta C33 board and the Arduino Cloud, you can transform raw sensor data into meaningful insights. Whether it is reading the RMS current and apparent power information, altering the current transformer configurations in real-time, or adapting to unique site requirements, this application note offers a robust and versatile system for handling these tasks.
489
489
490
490
One of the key takeaways from this application note is its potential for this application in various real-world scenarios. By integrating IoT and Cloud capabilities, we can effectively monitor and manage energy usage, leading to more efficient power consumption and contributing to a sustainable future.
0 commit comments