Re: Old BMS Software Thread
Posted: Fri Dec 09, 2011 3:41 pm
Post your modified code, what's all this reading from the eeprom talk?
Welcome to the BVS forums at www.batteryvehiclesociety.org.uk
http://ww.batteryvehiclesociety.org.uk/bvsorguk/forums/
http://ww.batteryvehiclesociety.org.uk/bvsorguk/forums/viewtopic.php?f=53&t=2060
I2CREAD Scdeeprom,Sckeeprom,AT24C512B,I2CAddr,[Cells,Odo.Byte0,Odo.Byte1,Trip.Byte0,Trip.Byte1,_
Dist.Byte0,Dist.Byte1,Soc.Byte0,Soc.Byte1] 'Read data from I2c eeprom starting at addr 0
I2Caddr = 14 'Set to first available byte of I2C EEprom (First 14 bytes [0-13] reserved for BMS data)
'Manual I2C Temp Sensor initiate routine avoids start up temperature errors
owout DigitalTemp,1,[$55,$28,$B9,$11,$16,$01,$00,$00,$A4,$44] 'Start 1st temp sensor conversion
'Display Splash Screen, Software Version, CPU Speed & Number of Cells in System.