this is the global campaign template, current utc time is 2024-04-25 06:04:37

This is the testing info for global variables in phtml

Monday Kids Electricity Meter(Analog) AC Current Sensor Current Transformer 5A for Arduino 30.0mm X 24.0mm X 1.6mm PCB Board

$3.51

Product name is Electricity Meter(Analog) AC Current Sensor Current Transformer 5A for Arduino 30.0mm X 24.0mm X 1.6mm PCB Board...

Product origin name is Monday Kids Electricity Meter(Analog) AC Current Sensor Current Transformer 5A for Arduino 30.0mm X 24.0mm X 1.6mm PCB Board

Availability: In stock
SKU
EK593

Payment Security

Payment Security

We are PayPal Verified

PayPal is a secure and trusted payment processing service that allows you to shop online. PayPal can be used at mondaykids.com to purchase items by Credit Card (Visa, MasterCard, Discover, and American Express), Debit Card , or E-check (i.e. using your regular Bank Account).

  • Brand Name: Monday Kids
  • Theory: Hall Sensor
  • Material: Polymer
  • Output: Analog Sensor
  • Usage: Magnetic Sensor
  • Model Number: AC Current Sensor
  • Type: Magnetic Sensor
  • is_customized: Yes
  • Output Voltage: 0 - 1V
  • Model: Electricity Meter(Analog)
  • PCB Size: 30.0mm X 24.0mm X 1.6mm
  • Use: current sensor for arduino
Overview:

What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.
Electronic brick of electricity sensor is based on TA12-100 current transformer, which can transform AC signals of large current into small amplitude signals. The maximum current that can be detected can reach 5A, and the present current signal can be read via analog I/O port.


Features:


1. Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.
2. With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.



Specifications:


1. PCB size:30.0mm X 24.0mm X 1.6mm
2. Compatible interfaces:2.54 3-pin interface and 4-pin Grove interface(1)
Note: S for analog output port, G for ground, and N for not used pin.

You can use like this:

Text code:


Link the S port of this sensor connect to A0 port of the board, use the following procedure to read analog values. And then display on the computer through the serial port.

#define ELECTRICITY_SENSOR A0 //
float amplitude_current; //
float effective_value; //
void setup()
{
Serial.begin(9600);
pins_init();
}
void loop()
{
int sensor_max;
sensor_max = getMaxValue();
Serial.print("sensor_max = ");
Serial.println(sensor_max);
//the VCC on the Grove interface of the sensor is 5v
amplitude_current=(float)sensor_max/1024*5/200*1000000;
effective_value=amplitude_current/1.414;
//Minimum current value can be detected=1/1024*5/200*1000000/1.414=24.4(mA)
//Only for sinusoidal alternating current
Serial.println("The amplitude of the current is(in mA)");
Serial.println(amplitude_current,1);//Only one number after the decimal point
Serial.println("The effective value of the current is(in mA)");
Serial.println(effective_value,1);
}
void pins_init()
{
pinMode(ELECTRICITY_SENSOR, INPUT);
}
/*Function: Sample for 1000ms and get the maximum value from the SIG pin*/
int getMaxValue()
{
int sensorValue; //value read from the sensor
int sensorMax = 0;
uint32_t start_time = millis();
while((millis()-start_time) < 1000)//sample for 1000ms
{
sensorValue = analogRead(ELECTRICITY_SENSOR);
if (sensorValue > sensorMax)
{
/*record the maximum sensor value*/
sensorMax = sensorValue;
}
}
return sensorMax;

}

  • Unit Type: piece
  • Package Weight: 0.015kg (0.03lb.)
  • Package Size: 15cm x 12cm x 10cm (5.91in x 4.72in x 3.94in)
Write Your Own Review
You're reviewing:Monday Kids Electricity Meter(Analog) AC Current Sensor Current Transformer 5A for Arduino 30.0mm X 24.0mm X 1.6mm PCB Board
Your Rating
Discover More Products from Its Parent Categories: