高级会员
主题
回帖0
积分3336
阅读权限30
注册时间2012-5-18
最后登录1970-1-1
在线时间 小时
|
1、从一楼官方的表格中可以看出现在的软件版本是1.08k
2、关不关电池检测主要是看自己的需要。如果自己觉得有必要的话可以加上。
但是电池检测需要自己根据情况设置低电量报警电压,默认的是对应9V电池的。
象你这样用三节锂电,可能电量检测不太准,因为满电电压为12.6V,放光电为10.8V。电压差只有1.8v。
而告警电压在无电电压大于5.4v时要高0.8v。 所以如果想要用的话需要自己改程序了。
MAKEFILE文件中的相关设置如下:可以参考前面传的中文版MAKEFILE。
# Option BAT_CHECK enables the Battery Voltage Check, otherwise the SW Version is displayed instead of Bat.
# BAT_CHECK should be set for battery powered tester version.
CFLAGS += -DBAT_CHECK
# The BAT_OUT option enables Battery Voltage Output on LCD (if BAT_CHECK is selected).
# If your 9V supply has a diode installed, use the BAT_OUT=600 form to specify the
# threshold voltage of your diode to adjust the output value.
# This threshold level is added to LCD-output and does not affect the voltage checking levels.
CFLAGS += -DBAT_OUT=150
# To adjust the warning-level and poor-level of battery check to the capability of a
# low drop voltage regulator, you can specify the Option BAT_POOR=5400 .
# The unit for this option value is 1mV , 5400 means a poor level of 5.4V.
# The warning level is 0.8V higher than the specified poor level (>5.3V).
# The warning level is 0.4V higher than the specified poor level (>2.9V, <=5.3V).
# The warning level is 0.2V higher than the specified poor level (>1.3V, <=2.9V).
# The warning level is 0.1V higher than the specified poor level (<=1.3V).
# Setting the poor level to low values is not recommended for rechargeable Batteries,
# because this increase the danger for deep discharge!!
CFLAGS += -DBAT_POOR=6400
3、2.5V的基准要用精度高的,稳压管精度不高的话最好不用。
4、如果不用上拉电阻的话需要在MAKFILE文件中更改一下后重新编译。该电阻要求不高,10k-30k均可。
# The PULLUP_DISABLE option disable the pull-up Resistors of IO-Ports.
# To use this option a external pull-up Resistor (10k to 30k)
# from Pin 13 to VCC must be installed!
CFLAGS += -DPULLUP_DISABLE
5、你说的小马软件我不知道是什么。作者建议先不要编程熔丝位,把程序写入后看能否运行。可以运行后再编程熔丝位。
|
|