1

Topic: how do I get the current sensor data (SCT-013-100) via bluetooth?

help with the firmware, you need to link it to the application for monitoring the readings (amperage). There is a ready-made firmware, but not as it is not possible to link with the application, please help!
CODE:
#include "EmonLib.h" // // Include Common Library
Energy Monitor emon1; // Create an instance
void setup()
{
Serial.begin(9600);

emon 1.current(1, 111.1); // Current: input pen, calibration.
}

void loop()
{
double Irms = emon 1.calcIrms(1480); // Calculate Items only
Serial.print(Irms*230.0); // Apparent power
Serial.print(" ");
Serial.println(Irms); // Irms
}

2 (edited by Gunner 2021-05-22 22:22:14)

Re: how do I get the current sensor data (SCT-013-100) via bluetooth?

Hello.

Your question is not really clear on what you are unsure about. 

I would recommend you first checkout some of the examples that use the text element:

https://remotexy.com/en/examples/temperature/

https://remotexy.com/en/examples/dth11/

As well as the "How it Works" information about the same element

https://remotexy.com/en/help/indications/text/

Then you can build your layout and merge your sensor code with the RemoteXY code to display your data in the text element... for example...

Serial.print(Irms);  \\ To Serial Monitor
dtostrf(Irms, 0, 2, RemoteXY.text_1); \\ To Text Element 1
"And voila, which is French for.......'and then I found out.'" - Ready Player One