HomeAutomation
hardware
BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HomeAutomation
(root)
/
trunk
/
EmbeddedSoftware
/
AVR
/
module
/
sns_power
/
sns_power.c
– Rev 2176
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
SVN
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
2176
5171 d 4 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Reverted modulo optimization, not true
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
2175
5171 d 7 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Optimization of modulo operations according wikipedia, also minor comment cleanup
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
2168
5172 d 0 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Probably solved issue with 32 sample avarage being high from start
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
2163
5174 d 0 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Added support for meters with 100 pulses per kWh, untested
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1995
5253 d 3 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Added config option for pullup on sns_power
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
1988
5255 d 0 h
arune
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Added debugled for sns_power, also minor cleanup
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1978
5261 d 0 h
arune
/trunk/EmbeddedSoftware/AVR/module/
Updated all modules EEPROM config flag
/trunk/EmbeddedSoftware/AVR/module/act_PID/act_PID.h
/trunk/EmbeddedSoftware/AVR/module/act_RGBW/act_RGBW.c
/trunk/EmbeddedSoftware/AVR/module/act_RGBW/act_RGBW.h
/trunk/EmbeddedSoftware/AVR/module/act_SlowPWM/act_SlowPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_SlowPWM/act_SlowPWM.h
/trunk/EmbeddedSoftware/AVR/module/act_pcaPWM/act_pcaPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_pcaPWM/act_pcaPWM.h
/trunk/EmbeddedSoftware/AVR/module/act_softPWM/act_softPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_softPWM/act_softPWM.h
/trunk/EmbeddedSoftware/AVR/module/chn_ChnMaster/chn_ChnMaster.c
/trunk/EmbeddedSoftware/AVR/module/chn_ChnMaster/chn_ChnMaster.h
/trunk/EmbeddedSoftware/AVR/module/sns_DHT11/sns_DHT11.c
/trunk/EmbeddedSoftware/AVR/module/sns_DHT11/sns_DHT11.h
/trunk/EmbeddedSoftware/AVR/module/sns_PIR/sns_PIR.h
/trunk/EmbeddedSoftware/AVR/module/sns_Serial/sns_Serial.c
/trunk/EmbeddedSoftware/AVR/module/sns_Serial/sns_Serial.h
/trunk/EmbeddedSoftware/AVR/module/sns_TCN75A/sns_TCN75A.c
/trunk/EmbeddedSoftware/AVR/module/sns_TCN75A/sns_TCN75A.h
/trunk/EmbeddedSoftware/AVR/module/sns_Touch/sns_Touch.c
/trunk/EmbeddedSoftware/AVR/module/sns_Touch/sns_Touch.h
/trunk/EmbeddedSoftware/AVR/module/sns_VoltageCurrent/sns_VoltageCurrent.c
/trunk/EmbeddedSoftware/AVR/module/sns_VoltageCurrent/sns_VoltageCurrent.h
/trunk/EmbeddedSoftware/AVR/module/sns_counter/sns_counter.c
/trunk/EmbeddedSoftware/AVR/module/sns_counter/sns_counter.h
/trunk/EmbeddedSoftware/AVR/module/sns_inputAnalog/sns_inputAnalog.c
/trunk/EmbeddedSoftware/AVR/module/sns_inputAnalog/sns_inputAnalog.h
/trunk/EmbeddedSoftware/AVR/module/sns_irTransceive/sns_irTransceive.c
/trunk/EmbeddedSoftware/AVR/module/sns_irTransceive/sns_irTransceive.h
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
/trunk/EmbeddedSoftware/AVR/module/sns_rfTransceive/sns_rfTransceive.h
/trunk/EmbeddedSoftware/AVR/module/sns_rotaryHex/sns_rotaryHex.h
/trunk/EmbeddedSoftware/AVR/module/tst_TestPrgRig/tst_TestPrgRig.c
/trunk/EmbeddedSoftware/AVR/module/tst_TestPrgRig/tst_TestPrgRig.h
1910
5355 d 23 h
arune
/trunk/EmbeddedSoftware/AVR/module/
Changed all modules to use BIOS GetHwId function directly instead of macro
/trunk/EmbeddedSoftware/AVR/module/act_DotMatrix/act_DotMatrix.c
/trunk/EmbeddedSoftware/AVR/module/act_PID/act_PID.c
/trunk/EmbeddedSoftware/AVR/module/act_RGBW/act_RGBW.c
/trunk/EmbeddedSoftware/AVR/module/act_RGBdriver/act_RGBdriver.c
/trunk/EmbeddedSoftware/AVR/module/act_SlowPWM/act_SlowPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/act_dimmer230.c
/trunk/EmbeddedSoftware/AVR/module/act_hd44780/act_hd44780.c
/trunk/EmbeddedSoftware/AVR/module/act_hwPWM/act_hwPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_ks0108/act_ks0108.c
/trunk/EmbeddedSoftware/AVR/module/act_linearAct/act_linearAct.c
/trunk/EmbeddedSoftware/AVR/module/act_multiSwitch/act_multiSwitch.c
/trunk/EmbeddedSoftware/AVR/module/act_output/act_output.c
/trunk/EmbeddedSoftware/AVR/module/act_pcaPWM/act_pcaPWM.c
/trunk/EmbeddedSoftware/AVR/module/act_protectedOutput/act_protectedOutput.c
/trunk/EmbeddedSoftware/AVR/module/act_sigmadelta_dimmer/act_sigmadelta_dimmer.c
/trunk/EmbeddedSoftware/AVR/module/act_softPWM/act_softPWM.c
/trunk/EmbeddedSoftware/AVR/module/chn_ChnMaster/chn_ChnMaster.c
/trunk/EmbeddedSoftware/AVR/module/chn_lcd_control/chn_lcd_control.c
/trunk/EmbeddedSoftware/AVR/module/sns_BusVoltage/sns_BusVoltage.c
/trunk/EmbeddedSoftware/AVR/module/sns_DHT11/sns_DHT11.c
/trunk/EmbeddedSoftware/AVR/module/sns_FOST02/sns_FOST02.c
/trunk/EmbeddedSoftware/AVR/module/sns_LM335/sns_LM335.c
/trunk/EmbeddedSoftware/AVR/module/sns_NTC/sns_NTC.c
/trunk/EmbeddedSoftware/AVR/module/sns_PIR/sns_PIR.c
/trunk/EmbeddedSoftware/AVR/module/sns_Serial/sns_Serial.c
/trunk/EmbeddedSoftware/AVR/module/sns_SimpleDTMF/sns_SimpleDTMF.c
/trunk/EmbeddedSoftware/AVR/module/sns_TC1047A/sns_TC1047A.c
/trunk/EmbeddedSoftware/AVR/module/sns_TCN75A/sns_TCN75A.c
/trunk/EmbeddedSoftware/AVR/module/sns_Touch/sns_Touch.c
/trunk/EmbeddedSoftware/AVR/module/sns_VoltageCurrent/sns_VoltageCurrent.c
/trunk/EmbeddedSoftware/AVR/module/sns_counter/sns_counter.c
/trunk/EmbeddedSoftware/AVR/module/sns_ds18x20/sns_ds18x20.c
/trunk/EmbeddedSoftware/AVR/module/sns_identification/sns_identification.c
/trunk/EmbeddedSoftware/AVR/module/sns_input/sns_input.c
/trunk/EmbeddedSoftware/AVR/module/sns_inputAnalog/sns_inputAnalog.c
/trunk/EmbeddedSoftware/AVR/module/sns_irReceive/sns_irReceive.c
/trunk/EmbeddedSoftware/AVR/module/sns_irTransceive/sns_irTransceive.c
/trunk/EmbeddedSoftware/AVR/module/sns_irTransmit/sns_irTransmit.c
/trunk/EmbeddedSoftware/AVR/module/sns_nmea/sns_nmea.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_rotary/sns_rotary.c
/trunk/EmbeddedSoftware/AVR/module/sns_rotaryHex/sns_rotaryHex.c
/trunk/EmbeddedSoftware/AVR/module/template/template.c
/trunk/EmbeddedSoftware/AVR/module/tst_CoreLED/tst_CoreLED.c
/trunk/EmbeddedSoftware/AVR/module/tst_TestPrgRig/tst_TestPrgRig.c
1573
5830 d 23 h
linlun
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Fixed bug in sns_power
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1572
5830 d 23 h
linlun
/trunk/
Update to ModuleManager and added support for two sensors in sns_power
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
/trunk/PcSoftware/scripts/ModuleManager
1437
6103 d 21 h
linlun
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Addded 1 minute avg signal
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1360
6227 d 2 h
linlun
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Fixed bug in setEnergy
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1206
6357 d 20 h
linlun
/trunk/EmbeddedSoftware/AVR/module/sns_power/
sns_power, Old local fixes
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1193
6385 d 0 h
linlun
/trunk/
SNS_POWER, cleaned code and changed behavior on CAN (updated data.xml)
/trunk/Configuration/data.xml
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/can/moduleid.h
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
1192
6385 d 4 h
linlun
/trunk/EmbeddedSoftware/AVR/module/sns_power/
Fixed bug in Energycounter
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1138
6432 d 2 h
linlun
/trunk/EmbeddedSoftware/AVR/
Small changes to sns_power and pcint
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/mcu/pcint.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1136
6432 d 23 h
arune
/trunk/EmbeddedSoftware/AVR/
drivers/pcint: reversed controversial changes, added status to callback arguments
module/sns_power: updated to use status in callback arguments
module/act_dimmer: updated to complie with new callback argument
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/mcu/pcint.c
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/mcu/pcint.h
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/act_dimmer230.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
1125
6433 d 23 h
linlun
/trunk/
Added PCINT driver
Implemented PCINT-driver in sns_power and act_dimmer230, also updated templates and modulemanager
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/mcu/pcint.c
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/mcu/pcint.h
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/act_dimmer230.c
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/act_dimmer230.h
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/act_dimmer230/sources.list
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
/trunk/EmbeddedSoftware/AVR/module/sns_power/sources.list
/trunk/EmbeddedSoftware/AVR/module/template/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/template/sources.list
/trunk/EmbeddedSoftware/AVR/module/template/template.c
/trunk/EmbeddedSoftware/AVR/module/template/template.h
/trunk/EmbeddedSoftware/AVR/personal/template_module/src/config.inc.template
/trunk/PcSoftware/scripts/ModuleManager
1121
6441 d 7 h
linlun
/trunk/
Added sns_power, measures power from powermeter LED output
/trunk/EmbeddedSoftware/AVR/module/sns_power
/trunk/EmbeddedSoftware/AVR/module/sns_power/config.inc.template
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.c
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power.h
/trunk/EmbeddedSoftware/AVR/module/sns_power/sns_power_eeprom.h
/trunk/EmbeddedSoftware/AVR/module/sns_power/sources.list
/trunk/PcSoftware/Atom/Services/Can/power.js
/trunk/Configuration/data.xml
/trunk/EmbeddedSoftware/AVR/avr-lib/drivers/can/moduleid.h