View Single Post
Old 02-19-2012, 12:05 AM   #73 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Easy to troubleshoot - a goal

I would like to UNDERSTAND how SalvageS10 works, to WORK on it when there are issues, and to GATHER every piece of information I can think of to assist me in WORKing on it

To accomplish that goal, I plan to connect an arduino to the serial port on the PLC5, logging all of the data that is sent out the serial port to a USB stick/Compact flash. This arduino will then source this data to the other displays - as yet undetermined. The logged data files will be downloaded to a PC daily for analysis and history.

The PLC will decide when information has changed, or when it needs to be reported. The plan is to have the Arduino acknowledge received data, pass through GPS data, and request an update to some data, but it is a limited interface.

Along with the Inputs and outputs, the PLC will be logging decisions. For example, based on .. speed, heading, position and a look-ahead of 5 seconds for the terrain from the map, the throttle setpoint was calculated as 98 kph for the Cruise setpoint of 100 kph. This is useful for troubleshooting cruise control, but has many other applications.

The arduino is also planned to gather environmental data such as outside air temperature, wind speed and direction, barometric pressure, and anything else that I can think of. If I see a troublesome trend, I want to be able to correlate it will anything and everything and determine what is important.

Another arduino is planned to interface to the OBDII interface and the ability to 'fake' these signals for the systems that require it. The idea is to be able to run a vehicle like it still has it's ICE engine and ECU. It could also provide information to a scangauge or other third party OBDII devices, if I get around to that part.
  Reply With Quote