Mirko Pavleski
Published © GPL3+

DIY Static Charge Monitor - Electrostatic Field Detector

This simple Static Charge Monitor uses a parallel-plate detector and TL071 op-amp circuit to measure electrostatic fields

BeginnerFull instructions provided3 hours85
DIY Static Charge Monitor - Electrostatic Field Detector

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
TL081 Op Amp IC
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×3
Resistors, Capacitors
×1

Software apps and online services

Arduino IDE
Arduino IDE
Serrialcominstruments

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Schematics

Schematic

...

Code

Code

C/C++
...
int charge = 0;

void SendString(byte InstrNo, int MValue) {
 Serial.print('#');
 Serial.print(InstrNo);
 Serial.print('M');
 Serial.print(MValue);
  Serial.print('<');
}


// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  int charge = map(sensorValue,0,500,0,100);
//  Serial.println(charge);
//  delay(1000);

    SendString(1,charge);       // Instrument #01
    SendString(2,charge);       // Instrument #02
    SendString(3,charge);       // Instrument #03
    delay(100);
  } 
 

Credits

Mirko Pavleski
193 projects • 1477 followers

Comments