Interestingly the change to 16mhz has given me a timing problem with the serial video data which drops characters when the picaxe is cold.
The data should be OK and is when the temp of the picaxe is more than 15C but if less the resonator/picaxe is drifting and upseting the 9600 baud comms. I'll try another resonator later or picaxe or drop back to 8mhz for my particular board.
Software is working well otherwise, went on 114 mile trip today. No Alarms. One of odometers is off by about 2% according to my Insight trip meter, I don't have sat nav to check both/which, but that's not bad.
www.solarvan.co.uk/bms/BMS050909.jpg
This is a big pic file 700kb so you can zoom into the displays. Soc and wh/distance remaing calculations all working and in line with my top of the head estimates.
You can see we did 134mpg for the 112/114 mile trip.
The battery wh/mile was 51 and we know my pack is 6400wh, then dividing 6400 / 51 gives 125 miles. You will note on BMS display trip distance is given as 112 travelled with 13 remaining or 125
The Soc shows 10.55% remaining so I used 89.45% for 112miles. Again 112 / 89.45 gives 1.25. 1.25 x 10.55 = 13 miles
I have been trying a version of the software which is quicker and does not use the 128 byte scrachpad ram, this means the number of cells is unlimited, but 168 is a more reasonable maximum giving around a 650V pack. You can't look at the individual cell voltages yet though.
www.solarvan.co.uk/bms/MASTER_16mhz_SER ... 00BAUD.txt
The one below is the normal one allowing cell V viewing. I haven't tried it yet.
www.solarvan.co.uk/bms/MASTER_16mhz_SER ... 00BAUD.txt