Railway Challenge / Mbed 2 deprecated challenge-ChaiUpdated

Dependencies:   mbed millis

History

Energyy Storage code updated, pins changed default tip

2022-06-20, by cdevarakonda [Mon, 20 Jun 2022 17:12:18 +0000] rev 33

Energyy Storage code updated, pins changed


Energy Storage display code added. Train Lights code added. Pins updated for brakes and lights.

2022-06-20, by cdevarakonda [Mon, 20 Jun 2022 09:49:27 +0000] rev 32

Energy Storage display code added. Train Lights code added. Pins updated for brakes and lights.


New fork with cleaned up main, more object oritentated. Created a brakes class to implement regen, friction and emergency stop functionality

2022-06-15, by cdevarakonda [Wed, 15 Jun 2022 15:32:46 +0000] rev 31

New fork with cleaned up main, more object oritentated. Created a brakes class to implement regen, friction and emergency stop functionality


Code Cleaned up, brakes class implemented. More object orientated

2022-06-15, by cdevarakonda [Wed, 15 Jun 2022 15:27:54 +0000] rev 30

Code Cleaned up, brakes class implemented. More object orientated


added brake control redundancy

2022-06-15, by cdevarakonda [Wed, 15 Jun 2022 13:38:05 +0000] rev 29

added brake control redundancy


Update brakes pins, created brakes class and made new functions but still to be tested;

2022-06-15, by cdevarakonda [Wed, 15 Jun 2022 13:36:11 +0000] rev 28

Update brakes pins, created brakes class and made new functions but still to be tested;


Implemented new logic for regen braking using switch case to define braking values

2022-06-13, by cdevarakonda [Mon, 13 Jun 2022 11:06:32 +0000] rev 27

Implemented new logic for regen braking using switch case to define braking values


Commented out motor1.setforward im regen braking as this over rode direction switching

2022-06-13, by cdevarakonda [Mon, 13 Jun 2022 10:01:29 +0000] rev 26

Commented out motor1.setforward im regen braking as this over rode direction switching


Regen Braking enabled

2022-06-13, by cdevarakonda [Mon, 13 Jun 2022 09:36:41 +0000] rev 25

Regen Braking enabled


In brake code for regen braking, changed motor1.setPark() to motor1.brake(brakeRate); Given the system must be using a motor controller with H bridge PWM and there is an amp circuit for throttle control this should automatically acheieve regen braking

2022-06-13, by cdevarakonda [Mon, 13 Jun 2022 09:35:46 +0000] rev 24

In brake code for regen braking, changed motor1.setPark() to motor1.brake(brakeRate); Given the system must be using a motor controller with H bridge PWM and there is an amp circuit for throttle control this should automatically acheieve regen braking