Changes between Initial Version and Version 1 of EnergyMeterPulseSensor


Ignore:
Timestamp:
2013-12-01 01:43:59 (11 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EnergyMeterPulseSensor

    v1 v1  
     1[[Image(lightVera.png, align=right, width=300px)]] 
     2= Energy Meter (Pulse Sensor) = 
     3 
     4== Software == 
     5You can download the Arduino sketch [[http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries/Vera/examples/EnergyMeterPulseSensor?js=1|here]].\\ 
     6 
     7This sensor counts pulses from a house meter and converts it into watt/kwh. There are a few parameters that needs to be tuned before everything works. On your meter it is usually specified how many pulses/kwh. Set PULSE_FACTOR to this value. You can also set SEND_FREQUENCY (how often you want the sensor to report values). Default is each 20 seconds. 
     8 
     9If you want the vera device to show your current meeter value. Update Variable1 under the vera devices advanced tab to your meters current kwh-value * PULSE_FACTOR.  
     10 
     11The sensor sketch has two modes: 
     12 
     13'''SLEEP_MODE = true''' 
     14 
     15Use this if you run the sensor on battery. In this mode the sensor will report KWH but cannot report any Watt-value. This is because when sensor sleeps it will lose track of time and therefore it is impossible to calculate a correct Watt-value.  
     16  
     17'''SLEEP_MODE = false''' 
     18 
     19In this mode the sensor will always be awake. Watt value is also reported to Vera.  
     20 
     21== Wire things up == 
     22 
     23Follow the instructions in ConnectingRadioModule to connect radio module. 
     24 
     25Connect the digital DO (Digital Out) of the light sensor to digital pin 3 of the Arduino board.   
     26Connect VCC to +5V of the Arduino board. GND to GND. 
     27 
     28== Hardware - Purchase guide == 
     29 
     30To build this sensor you'll need one arduino + radio specified in the base kit found here:\\ 
     31http://code.mios.com/trac/mios_arduino-sensor/wiki/WikiStart#Buyingguide\\ 
     32 
     33With the following additional parts:\\ 
     341x [[http://www.dpbolvw.net/click-7319170-10881559?url=http%3A%2F%2Fwww.aliexpress.com%2Fitem%2F3-3-5V-input-LM393-light-Sensor-Module-for-Arduino-with-DO-AO-output-w-FREE%2F976122480.html|Light sensor]]\\ 
     35 
     36TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $2.8 (light sensor) = '''$10.4''' 
     37 
     38[[Image(light.jpg, width=500px)]]