Menu

#102 GPIO flexible logic: internal stuff

Phase 0
closed
nobody
None
2014-12-05
2014-10-03
Andrey B
No

http://rusefi.com/forum/viewtopic.php?f=5&t=612

to get the ball rolling I want to migrate existing hard-coded fuel pump relay and cooling fan logic into using GPIO flexible logic. This would work as

fuel_pump = (time_since_boot < 4 seconds) OR (rpm > 0)
fan = (not fan && coolant > 90) OR (fan && coolant > 85)

User-defined expressions input would be a separate ticket at a later point

Discussion

  • Andrey B

    Andrey B - 2014-10-03

    http://en.wikipedia.org/wiki/Reverse_Polish_notation would be used, so

    fuel_pump = time_since_boot 4 less rpm 0 more OR
    fan = fan NOT coolant 90 AND more fan coolant 85 more AND OR

     
  • Andrey B

    Andrey B - 2014-10-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,3 +5,4 @@
     fuel_pump = (time_since_boot < 4 seconds) OR (rpm > 0)
     fan = (not fan && coolant > 90) OR (fan && coolant > 85)
    
    +User-defined expressions input would be a separate ticket at a later point
    
     
  • Andrey B

    Andrey B - 2014-12-05
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB