Using the ACS712 Hall Effect Current Sensor Module (part 1)
Using the ACS712 current sensor to measure current in a circuit. Benefits are that it can measure current in the high side of the circuit, adds just 1.2 milliohms to the cuicuit to be measured and includes all the amplification electronics on chip.
float amps = 0;
float maxAmps = 0;
float minAmps = 0;
float lastAmps = 0;
float noise = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
amps = (516 - analogRead(A0)) * 27.03 / 1023;
amps = (amps + lastAmps) / 2;
lastAmps = amps;
maxAmps = max(maxAmps, amps);
minAmps = min(minAmps, amps);
noise = maxAmps - minAmps;
Serial.print(amps);
Serial.print(" ");
Serial.println(noise);
if (Serial.read() != -1) {maxAmps = amps; minAmps = amps;}
delay(100);
}
Видео Using the ACS712 Hall Effect Current Sensor Module (part 1) канала Julian Ilett
float amps = 0;
float maxAmps = 0;
float minAmps = 0;
float lastAmps = 0;
float noise = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
amps = (516 - analogRead(A0)) * 27.03 / 1023;
amps = (amps + lastAmps) / 2;
lastAmps = amps;
maxAmps = max(maxAmps, amps);
minAmps = min(minAmps, amps);
noise = maxAmps - minAmps;
Serial.print(amps);
Serial.print(" ");
Serial.println(noise);
if (Serial.read() != -1) {maxAmps = amps; minAmps = amps;}
delay(100);
}
Видео Using the ACS712 Hall Effect Current Sensor Module (part 1) канала Julian Ilett
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Kia Sedona: P0320 Igniton Failure Sensor Diagnostics10 Minute Arduino Project - INA219 Current SensorUsing the ACS712 Hall Effect Current Sensor Module (part 2)Measuring 5A-30A AC and DC current using Allegro ACS712 with Robojax Library (code added into video)How to use Hall Effect SwitchesElectronics 101: The Hall Effect explained#321 7 Sensors tested: Measuring Current with Microcontrollers (Arduino, ESP32, ESP8266)Arduino based current meter with i2c LCD screenACS724 Current Sensor Measurements with ArduinoACS712 Current Sensor with Arduino - Measure AC and DC up to 30 ampsCos'è e come funziona il MOTORE ASINCRONO TRIFASE - Campo magnetico rotante - Animazione 3DControl a Stepper Motor with Hall Effect SwitchesACS712 Measuring up to 31 Amps solar panel current ADCUsing the Arduino Pro Mini & FTDILathe RPM Meter using magnet, hall effect sensor and LCD ScreenHow to use Allegro ACS712 AC/DC Current Sensor with ArduinoWhat is a SHUNT? (Used to measure Current) + How to make a DIY versionThis Illegal Car Mod Just Changed the Game#186 Measure Current with an Arduino - Digital or Analog? Easy!