View Single Post
Old 04-11-2007, 10:53 AM   #138
2k1Toaster
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,414
Quote: Originally Posted by SmoL View Post
i want one!



Quote: Originally Posted by SmoL View Post
also if you cant write the last state into ram couldnt you just have a temp file to write/pull from that way even when u loose power there is something to go from. the only problrem with this is what happens if devices re-start after the car turns off/on? how will this syncronise with a temp file?

Yes it writes to a file. It is not a temporary file, it is the config file. It automatically creates a backup of the lasy good config file upon a save. That way, if the computer crashes or hard power offs, while in the write state, the backup file can be restored.

Not sure what you mean by devices restart after the car turns on/off. The PIC works like this for the most part:

a) if there is a signal from the computer within a second or so, then it believes that the computer is on. Therefore pass the values it has to the outputs.

b) if no signal is received, it assumes the computer is off, and all the outputs go low.

So when the PIC is started, it makes all the outputs low, until a signal from the computer is received which contains the info it needs. Since you can power the PIC from anything between ~7v to 18v that means you can power the board from your cars unregulated voltage on a switched line to turn off the board completely when the car is off, or you can use a constant line. Either will work, and no advantage of one over the other.

Quote: Originally Posted by SmoL View Post
I've also noticed that most of the config is done via the OSK. Would it be worthwhile letting it accept keyboard input aswell. That way it will make setup quicker when configuring prior to installing into the car...

It is all done through the program, but that just writes to an ASCII based file called "UserConfig.atom". You may open it in Notepad and do whatever you please, all manually, but I must warn you now as well as the warning in the top of the config file... It is a very unforgiving file. You miss a colon ":" and the entire thing might fail at worst, or overwrite what you just did with the backup file because the one you made has errors.

I DO NOT RECOMMEND MANUALLY EDITING THIS FILE!

The entire config is meant to be really TS friendly for changing everything on the fly, and taking away the need for a keyboard. I even made my own OSK for it.

Quote: Originally Posted by SmoL View Post
Also, how about an option to write values to a file. E.g. have the accelromoter running in the background and have it write the lowest/highest values at the end of each *variable* time preiod. The reson being so i can see what my mechanic gets up to when i leave the car there...

Done

Quote: Originally Posted by h3rk View Post
So is this Fusion's first product? Do you guys do particle accellerators too?
Do you have further plans? If so, what direction are you enviosioning moving from here?

World domination.





2k1Toaster is offline   Reply With Quote