So today I think was a successful day!! Still many bugs to work out, but this thing fired all on its own today!!
Having the ability to fully interact with the machine via push of a button on a touch screen is just plain cool!!
I have a few issues unrelated to code and are hardware problems. There is a two channel timer board that is supposed to control the reactor ignition glow plugs and the flare igniter glow plug separately based on trigger inputs into this timer board. It was working and now for some reason it deos not matter channel is triggered both timers set activate. So no biggy I was planning to scrap them anyways and go to a 6 dollar controller with predetermined time sets. So Ill just implement this now.
Some code related issues are some interference with feed back loops to the RPi. The RPi reads these inputs coming from the Arduino Gasifier Control Module. When it sees a state change it then take this and compares to other inputs and then displays a message based on whats on or off at the time of this state change. I have double shielded cable and still having some issue. This is a complicated way to go about it, so I think I2C to the rescue here as well. Just got to figure out how to go about that one. But I can send simple number or letter and when the Pi sees this single input over I2C it have less confusion and just display a corresponding message.
Later in the day I hooked up my laptop so I could see what the GSM was seeing and executing. That was great help to tune the parameters so things are turning on when they are supposed to when temps are achieved. But this came later in the day after the machine was warmed up, so tomorrow I will start from cold start up with this and tune further. But first thing will be change out that timer board and I also need to install a solenoid to drive the hopper shaker. Its taxing the system too much so I need to isolate its power more direct from battery. Other than that I think Ill make it through this part. Once I have the machine firing off in sequence in this semi auto mode, Ill move on the engine controls. First will be to get it up and running on gasoline with your basic on / off switch from a manual panel at the engine. Then Ill wire in the controls that will be able to interview if the manual over ride switch is off. Then once Im that far then Ill move on to the automatic mode. But Ill really need to get that I2C code working before this as this also drives this part of the code.