📄 mica2_energy_model.txt
字号:
# Energy model for the mica2# see http://www.eecs.harvard.edu/~shnayder/ptossim/ for details# Lines starting with '#' are comments# Format: KEY\s+VALUE# Unless otherwise specified, VALUE is a current in mA# Value is always assumed to be a numberVOLTAGE 3.0# CPU numbers:# Idle mode is what the CPU is in when not actively executing, but # no special action is taken. The per-active-cycle numbers are added # on top of that# Added .93mA to idle and active cpu power to account for the# oscillator. Need to make it separate later...#CPU_ACTIVE 8.0CPU_ACTIVE 8.93#CPU_IDLE 3.2CPU_IDLE 4.13CPU_ADC_NOISE_REDUCTION 1.0CPU_POWER_DOWN 0.103CPU_POWER_SAVE 0.110CPU_STANDBY 0.216CPU_EXTENDED_STANDBY 0.223# The startup mode for the cpuCPU_INIT 3.2CPU_FREQ 4000000# It's actually 7382800, but the simulator is hardcoded for 4Mhz, and# the fixes for that aren't merged yet#CPU_FREQ 7382800# These are actual measured numbersRADIO_RX 7.03RADIO_TX_00 3.72RADIO_TX_01 5.21RADIO_TX_03 5.37RADIO_TX_06 6.47RADIO_TX_09 7.05RADIO_TX_0F 8.47RADIO_TX_60 11.57RADIO_TX_80 13.77RADIO_TX_C0 17.37RADIO_TX_FF 21.48RADIO_OFF 0 # These are interpolated from aboveRADIO_TX_02 5.3RADIO_TX_04 5.75RADIO_TX_05 6.1RADIO_TX_07 6.67RADIO_TX_08 6.87RADIO_TX_0A 7.33RADIO_TX_0B 7.6RADIO_TX_0C 7.93RADIO_TX_0E 8.15RADIO_TX_40 9.5RADIO_TX_50 10.5RADIO_TX_70 12.6RADIO_TX_90 15.0RADIO_TX_E0 19.5# The default power mode (0x0F, but python doesn't like hex numbers in floats)RADIO_DEFAULT_POWER 15.00# LEDLED 2.2#default to offLED_INIT 0# EEPROMEEPROM_READ 6.24EEPROM_WRITE 18.40#ADC# we thought it took power, so it's tracked, but it actually doesn'tADC 0.0# If the sensor board is plugged in, it draws this much current at all timesSENSOR_BOARD 0.69# Sensors - don't actually use power beyond the general sensor board powerSENSOR_PHOTO 0SENSOR_TEMP 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -