this library for Voltage Sensing and Current Sensing.
Follows the MIT license ( Please check LICENSE file for more information. )
- in case of Library file in Arduino/Library folder
#include <ElectroSensor.h>- In case of Library file in Source code file
#include <"ElectroSensor_Lib/ElectroSensor.h">- Current Sensor
ElectroSensor elec_sensor(CURRENT, (int)pin);
//elec_sensor is object name
//sensorType CURRENT = Current Sensor- Voltage Sensor
ElectroSensor elec_sensor(VOLTAGE, (int)pin);
//elec_sensor is object name
//sensorType VOLTAGE = Voltage Sensor- printVoltage(char lastChr = '\n')
elec_sensor.printVoltage();- readVoltage(int unit = NORMAL);
elec_sensor.readVoltage();- printCurrent(int unit = NORMAL);
elec_sensor.readVoltage();- readCurrent(int unit = NORMAL);
elec_sensor.readVoltage();-
Supports the sensors below.
Voltage SensorCurrent Sensor
-
The boards below are supported.
- Test Finished.
Arduino UNOArduino MEGAArduino NANO
- Support Forecast
All boards using Arduino IDE
- Test Finished.
The contents of the example are see Exemples folder.
- 0.0.1
- Start of Develop
- Jihoon Kim (jihoonkimtech, jihoonkimtech@naver.com)
