Introduction: Vehicle Intelligent Distance Avoidance Sensor KWh Meter Cloud Enabler

Picture of Vehicle Intelligent Distance Avoidance Sensor KWh Meter Cloud Enabler

Yes, achieve actionable insights from your old kWh meter by putting it's big data in the cloud.

Step 1: What You Will Need

Picture of What You Will Need

1 Arduino uno (about 3 dollars at Aliexpress)

3 Female to male jumper wires (10 cents)

1 Vehicle intelligent distance avoidance sensor (50 cents)

3 pieces of tape

Step 2: Technical Stuff

Picture of Technical Stuff

Connect gnd to gnd, vcc to 5v and out to analog pin 4.

And then, upload the code below.

It's unnecessarily lengthy, yet readable.

int sensorpin = 4; // analog pin for vehicle intelligent distance avoidance sensor output

int val = 0; // variable for sensorpin output

void setup() {

Serial.begin(9600); // fire up the serial monitor!

}

void loop() {

val = analogRead(sensorpin); // read vehicle intelligent distance avoidance sensor output

Serial.println(val); // send vehicle intelligent distance avoidance sensor output to your cloud enabled device

}

Step 3: Getting It to Work

Picture of Getting It to Work

Tape your vehicle intelligent distance avoidance sensor to your kWh-meter. Handle your tape carefully, you only have three pieces.

Keep fiddling with the vehicle intelligent distance avoidance sensor until the LED of the vehicle intelligent distance avoidance sensor sings in tune with the black mark on the spinning disk.

You're done.

Comments