Available Attributes

Below is a list of all of the attributes that are present in the system by default. Not all of these attributes will be available from a Speeduino serial connection, but they are all available for logging purposes. Some of these fields are bitmaps that can be used to control certain display items within the system using Boolean Gauges.

Attributes Taken from Speeduino ECU via Secondary Serial

Attribute Data Type Datalog Title Units Canbus Format
secl 1 byte unsigned integer Run Secs s  
status1 1 byte unsigned integer status1 bits  
engine 1 byte unsigned integer Engine Bits bits  
dwell 1 byte unsigned integer Dwell ms  
map 2 byte unsigned integer MAP kPa  
iat 1 byte unsigned integer IAT deg  
clt 1 byte unsigned integer CLT deg  
gammabat 1 byte unsigned integer GammaBat %  
batteryv 1 byte unsigned integer Battery Volts v  
o2 1 byte unsigned integer Air Fuel Ratio AFR  
gammaego 1 byte unsigned integer GammaEGO %  
gammaiat 1 byte unsigned integer GammaAir %  
gammawarm 1 byte unsigned integer GammaWarm %  
rpm 2 byte unsigned integer RPM RPM  
accelenrich 1 byte unsigned integer AccelEnrich %  
gammae 1 byte unsigned integer GammaE %  
ve 1 byte unsigned integer VE %  
afrtarget 1 byte unsigned integer AFRTarget AFR  
pw1 2 byte unsigned integer PW1 ms  
tpsdot 1 byte unsigned integer TPSDot %/s  
advance 1 byte unsigned integer Advance deg  
tps 1 byte unsigned integer TPS %  
loops 2 byte unsigned integer Loops Loops  
freeram 2 byte unsigned integer Free RAM bytes  
boosttarget 1 byte unsigned integer Boost Target kPA  
boostduty 1 byte unsigned integer Boost Duty %  
spark 1 byte unsigned integer Spark bits  
rpmdot 2 byte signed integer RPMdot %/s  
ethanolpct 1 byte unsigned integer Ethanol %  
flexcorrection 1 byte unsigned integer FlexCorr %  
flexigncorrection 1 byte unsigned integer FlexIgnCorr %  
idleload 1 byte unsigned integer IdleLoad load  
o2_2 1 byte unsigned integer O2_2 AFR  
baro 1 byte unsigned integer Baro kPA  
errors 1 byte unsigned integer Errors    
launchcorrection 1 byte unsigned integer Launch Correction %  
pw2 2 byte unsigned integer PW2 ms  
pw3 2 byte unsigned integer PW3 ms  
pw4 2 byte unsigned integer PW4 ms  
ecustatus3 1 byte unsigned integer ECU Status 3 bits  
engineprotectstatus 1 byte unsigned integer Engine Prot Status bits  
fuelload 2 byte unsigned integer Fuel Load    
ignload 2 byte unsigned integer Ign Load    
injangle 2 byte unsigned integer Inj Close Angle deg  
clidletarget 1 byte unsigned integer Closed Loop Idle Target    
mapdot 1 byte unsigned integer MAPdot %/s  
vvt1angle 1 byte unsigned integer VVT1 Angle deg  
vvt1targetangle 1 byte unsigned integer VVT1 Target Angle deg  
vvt1duty 1 byte unsigned integer VVT1 Duty %  
flexboostcorrection 2 byte unsigned integer Flex Boost Corr %  
barocorrection 1 byte unsigned integer Baro Correction %  
asevalue 1 byte unsigned integer Afterstart Enrichment %  
vss 2 byte unsigned integer ECU VSS mph?  
ecugear 1 byte unsigned integer ECU Gear    
ecufuelpressure 1 byte unsigned integer ECU Fuel Pressure    
ecuoilpressure 1 byte unsigned integer ECU Oil Pressure    
wmipw 1 byte unsigned integer WMI Pulsewidth ms  
ecustatus4 1 byte unsigned integer ECU Status 4 bits  
vvt2angle 1 byte unsigned integer VVT2 Angle deg  
vvt2targetangle 1 byte unsigned integer VVT2 Target Angle deg  
vvt2duty 1 byte unsigned integer VVT2 Duty %  
fueltemp 1 byte unsigned integer Fuel Temp deg  
fueltempcorrection 1 byte unsigned integer Fuel Temp Correction %  
ve1 1 byte unsigned integer VE1 %  
ve2 1 byte unsigned integer VE2 %  
advance1 1 byte unsigned integer Advance 1 deg  
advance2 1 byte unsigned integer Advance 2 deg  
nitrous_status 1 byte unsigned integer Nitrous Status    
ts_sd_status 1 byte unsigned integer SD Log Status    
emap 2 byte unsigned integer EMAP kPa  
fanduty 1 byte unsigned integer Fan Duty %  

Tunerstudio USB Serial specific attributes

This small group of attributes use different names when using the USB Serial tunerstudio interface rather than the standard secondary serial connection. This is because their format is different to the older serial3 implementation. For example, to get dwell use tsdwell instead.

Attribute Data Type Datalog Title Units Canbus Format
tsdwell 2 byte unsigned integer Dwell ms  
tsgammae 2 byte unsigned integer GammaE %  
tstpsdot 2 byte signed integer TPSDot %/s  
tsmapdot 2 byte signed integer MAPdot %/s  
tsvvt1angle 2 byte signed integer VVT1 Angle deg  
tsvvt2angle 2 byte signed integer VVT2 Angle deg  
ts_sd_status 1 byte unsigned integer SD Log Status    

Attributes requiring SDC Firmware Extensions

Attribute Data Type Datalog Title Units Canbus Format
injectionseconds 2 byte unsigned integer Injection Seconds s  

Attributes calculated by SDC

Attribute Data Type Datalog Title Units Canbus Format
maxrpm 2 byte unsigned integer Max RPM RPM  
maxmap 2 byte unsigned integer Max MAP kPa  
minmap 2 byte unsigned integer Min MAP kPa  
maxspeed 2 byte unsigned integer Max Speed mph  
mpgtripa 2 byte unsigned integer MPG(A) mpg  
mpgtripb 2 byte unsigned integer MPG(B) mpg  
fuelrange 2 byte unsigned integer Range miles  
speedcameradistance 2 byte unsigned integer Speed Cam Dist miles  
fps 2 byte signed integer FPS Frames/sec  
maxtps 1 byte unsigned integer Max TPS %  
cpu0 1 byte unsigned integer Core 0 CPU %  
cpu1 1 byte unsigned integer Core 1 CPU %  
cpu2 1 byte unsigned integer Core 2 CPU %  
cpu3 1 byte unsigned integer Core 3 CPU %  
mps 1 byte unsigned integer Messges/sec mess/s  
autotuneactive 1 byte unsigned integer ATT Active    
gear 1 byte unsigned integer Gear    
maxoilpressure 1 byte unsigned integer Max Oil Pressure PSI  
minoilpressure 1 byte unsigned integer Min Oil Pressure PSI  
filesize String Log File Size Mb  
filename String Log File Name    
systime String System Time and Date    
sysdate String System Date    
systimeonly String System Time    
lastmonmessage String Last system log message    
tripindicator String Current Trip    
devicefreeram 4 byte unsigned integer PI free ram bytes  
deviceramused 4 byte unsigned integer PI RAM Used bytes  
clockspeed 4 byte unsigned integer PI Clock Speed mhz  
playbacktime 4 byte unsigned integer Playback Time s  
injectionsecondstripa 4 byte unsigned integer TRIP A total inj secs s  
injectionsecondstripb 4 byte unsigned integer TRIP B total inj secs s  
wifistatus 1 byte unsigned integer WIFI Status    
currentspeedlimit 1 byte unsigned integer Current Speed Limit mph  
currentaveragespeed 1 byte unsigned integer Current Average Speed mph  
status2 1 byte unsigned integer status2 bits  
timehour 1 byte integer timehour 0-11 hours (12 hour clock)  
timeminute 1 byte integer timeminute 0-59 minutes  
timesecond 1 byte integer timeminute 0-59 seconds  
wheelshorsepower 2 bytes unsigned integer Horsepower (wheels) bhp  
crankhorsepower 2 bytes unsigned integer Horsepower (crank) hp  
wheelstorque 2 bytes unsigned integer Torque (wheels) lbft  
cranktorque 2 bytes unsigned integer Torque (crank) lbft  

Attributes SDC Expects over Canbus

Attribute Data Type Datalog Title Units Canbus Format
fuellevel 2 byte unsigned integer Fuel Level litres  
currentbrightness 2 byte unsigned integer Brightness count  
flpressure 2 byte unsigned integer Tyre Pressure FL PSI  
frpressure 2 byte unsigned integer Tyre Pressure FR PSI  
rlpressure 2 byte unsigned integer Tyre Pressure RL PSI  
rrpressure 2 byte unsigned integer Tyre Pressure RR PSI  
fltemp 2 byte unsigned integer Tyre Temp FL deg  
frtemp 2 byte unsigned integer Tyre Temp FR deg  
rltemp 2 byte unsigned integer Tyre Temp RL deg  
rrtemp 2 byte unsigned integer Tyre Temp RR deg  
flalarm 1 byte unsigned integer Front Left Tyre Alarm    
fralarm 1 byte unsigned integer Front Right Tyre Alarm    
rlalarm 1 byte unsigned integer Rear Left Tyre Alarm    
rralarm 1 byte unsigned integer Rear Right Tyre Alarm    
flbattery 1 byte unsigned integer FL TPMS Bat %  
frbattery 1 byte unsigned integer FR TPMS Bat %  
rlbattery 1 byte unsigned integer RL TPMS Bat %  
rrbattery 1 byte unsigned integer RL TPMS Bat %  
magheading 2 byte unsigned integer Magnetic Heading deg  
accelx 2 byte signed integer Accel X g  
accely 2 byte signed integer Accel Y g  
accelz 2 byte signed integer Accel Z g  
oilpressure 1 byte unsigned integer Oil Pressure PSI  
odometer 4 byte unsigned integer Odometer 10ths of a mile  
tripa 4 byte unsigned integer TRIP A 10ths of a mile  
tripb 4 byte unsigned integer TRIP B 10ths of a mile  
currenttripcounter 4 byte unsigned integer Current Trip distance 10ths of a mile  
accessorystatus1 1 byte unsigned integer Accessory Status 1 bits  
accessorystatus2 1 byte unsigned integer Accessory Status 2 bits  
speedmph 2 bytes unsigned integer Speed mph  
speedkph 2 bytes unsigned integer Speed kph  

GPS Attributes - these may be local if the GPS receiver is plugged in to the node being configured, or remote via Canbus.

Attribute Data Type Datalog Title Units Canbus Format
lat String Latitude deg  
long String Longitude deg  
gpsheading 2 byte unsigned integer GPS Heading deg  
heading 2 byte signed integer Heading deg  
nsatsinview 1 byte unsigned integer Sats in View sats  
nsatslocked 1 byte unsigned integer Sats Locked sats  
gpsspeedmph 1 byte unsigned integer GPS Speed mph  
gpsconfidence String GPS Confidence    
gpsspeedkph 2 bytes unsigned integer GPS Speed kph  

Accessory Status Bits

Accessory Status 1 and 2 are both 8 bit quantities, whose bits can be independently updated using a canbus message. The “Canbus Index” is used in the canbus message to define which bit it is you want to alter. The “gauge value selector” is the value to use on a Boolean gauge to select a specific bit via the ‘bitvalue’ gauge attribute. Gauge value selectors can be added together to select more than one bit.

The canbus message to control this bitmap is defined in the Canbus Support section

accessorystatus1 Definition

Bit Canbus Index Gauge Value Selector Description
0 0 1 Left indicator status
1 1 2 Right indicator status
2 2 4 Handlebrake status
3 3 8 Main beam status
4 4 16 Ignition status
5 5 32 Dip beam status
6 6 64 Free for custom use
7 7 128 Free for custom use

accessorystatus2 Definition

Bit Canbus Index Gauge Value Selector Description
0 8 1 Free for custom use
1 9 2 Free for custom use
2 10 4 Free for custom use
3 11 8 Free for custom use
4 12 16 Free for custom use
5 13 32 Free for custom use
6 14 64 Free for custom use
7 15 128 Free for custom use

status2 Definition

Bit Gauge Value Selector Description
0 1 Datalogging enabled
1 2 Real time tuning active
2 4 Not used
3 8 Not used
4 16 Not used
5 32 Not used
6 64 Not used
7 128 Not used