You can buy a module that will take care of the charging for you but if I remember correctly they aren't cheap. If you have two batteries where one battery is used for the gas motor and the second battery is hooked in series with the first one for the 24 volt troller you can do what you want...