
รหัสสินค้า | AT02103 |
หมวดหมู่ | Voltage/Current Sensor |
ราคาปกติ | |
ลดเหลือ | 90.00 บาท |
สถานะสินค้า | พร้อมส่ง |
แก้ไขล่าสุด | 1 ม.ค. 2561 |
ความพึงพอใจ | ยังไม่มีความคิดเห็น |
จำนวน | ชิ้น |
Current Sensor Module (ACS712ELCTR-20A) เป็นโมดูลวัดกระแสขนาด 20 แอมป์ โดยอาศัยหลักการ ฮอลเอฟเฟค สามารถใช้ได้ทั้งไฟ AC และ DC
Sensing and controlling current flow is a fundamental requirement in a wide variety of applications including, over-current protection circuits, battery chargers, switching mode power supplies, digital watt meters, programmable current sources, etc. This ACS721 current module is based on ACS712 sensor, which can accurately detect AC or DC current. The maximum AC or DC that can be detected can reach 20A, and the present current signal can be read via analog I / O port of Arduino.
Features:
Size:
โค้ดตัวอย่าง
วัดแอมป์ไฟกระแสตรง
void setup() {
Serial.begin(9600);
}
void loop() {
float average = 0;
for(int i = 0; i < 1000; i++) {
average = average + (.0264 * analogRead(A0) -13.51) / 1000;
//5A mode, if 20A or 30A mode, need to modify this formula to
//(.19 * analogRead(A0) -25) for 20A mode and
//(.044 * analogRead(A0) -3.78) for 30A mode
delay(1);
}
Serial.println(average);
}
วัดแอมป์ไฟกระแสสลับ
#define CURRENT_SENSOR A0 // Define Analog input pin that sensor is attached
float amplitude_current; // Float amplitude current
float effective_value; // Float effective current
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 Arduino interface of the sensor is 5v
amplitude_current=(float)(sensor_max-512)/1024*5/185*1000000; // for 5A mode,you need to modify this with 20 A and 30A mode;
effective_value=amplitude_current/1.414;
//for minimum current=1/1024*5/185*1000000/1.414=18.7(mA)
//Only sinusoidal alternating current
Serial.println("The amplitude of the current is(in mA)");
Serial.println(amplitude_current,1);
//Only one number after the decimal poin
Serial.println("The effective value of the current is(in mA)");
Serial.println(effective_value,1);
}
void pins_init()
{
pinMode(CURRENT_SENSOR, INPUT);
}
/*Function: Sample for 1000ms and get the maximum value from the S 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(CURRENT_SENSOR);
if (sensorValue > sensorMax)
{
/*record the maximum sensor value*/
sensorMax = sensorValue;
}
}
return sensorMax;
}
ตัวอย่างการทดสอบ
ค่าจัดส่งสินค้า ยอดสั่งซื้อต่ำกว่า 500 บาท ค่าจัดส่งทาง EMS 50 บาท
ยอดสั่งซื้อ 500 บาทขึ้นไป จัดส่งให้ฟรีทาง EMS
หลังจากสั่งซื้อและชำระเงินแล้ว จะต้องแจ้งชำระเงินทางหน้าเว็บเท่านั้น หากไม่มีการแจ้งชำระเงินภายใน 72 ชม. ระบบจะยกเลิกคำสั่งซื้อโดยอัตโนมัติ หากท่านยังต้องการสั่งซื้อสินค้าอยู่ จะต้องทำการสั่งซื้อใหม่อีกครั้ง
รายการที่แจ้งชำระเงินก่อนเวลา 15:00น. จะทำการจัดส่งในวันทำการเดียวกัน รายการที่แจ้งชำระเงินหลัง 15:00น. จะจัดส่งในวันทำการถัดไป จะทำการจัดส่งทุกวัน จันทร์-ศุกร์
***เฉพาะบริการจัดส่งKerryแจ้งยอดชำระก่อนเวลา10:30น. จะจัดส่งในวันทำการเดียวกัน
Kerryจัดส่งวันจันทร์-ศุกร์เท่านั้น
*เฉพาะวันเสาร์ รายการที่แจ้งชำระเงินก่อนเวลา 10:00น. จะทำการจัดส่งในวันทำการเดียวกัน รายการที่แจ้งชำระเงินหลัง 10:00น. จะจัดส่งในวันทำการถัดไป
หลังจากชำระเงินแล้ว คลิ๊กที่นี่ เพิ่อแจ้งชำระเงินทันที หากไม่สะดวกในการแนบหลักฐานการโอนเงิน กรุณาแจ้งชื่อธนาคาร และเวลาโอนเงินที่ถูกต้อง หากไม่สะดวกในการเข้าหน้าเว็บจริงๆ สามารถส่งหลักฐานการโอนเงินมาได้ทาง Official Line ID : @arduinothai
2.ชำระเงินผ่าน QR-CODE ฟรีค่าธรรมเนียม ทุกกรณี
หน้าที่เข้าชม | 2,079,187 ครั้ง |
ผู้ชมทั้งหมด | 600,554 ครั้ง |
เปิดร้าน | 15 ก.ย. 2557 |
ร้านค้าอัพเดท | 23 เม.ย. 2561 |