hi! little bit to slowpoke, but i`m find this perfect diy project
built it, and in result - have some questions.
the main questions is:
controller board does not swithch off rf_en then tip removed. the buck converter switch permanently when switch on by button and switch off by button.
it has no reaction on remove tip, but message - NO TIP is displayed correctly (circuit works), and sense installed tip.
this burn me some more fet`s
in code power_manager.c i find a place, which must to handle it, but i think there is something miss. i`m not expert in c programming
cur_tip = tip_detect_get_status();
if(cur_tip != old_tip)
{
if(old_tip == TIP_MISSING)
{
power_manager_init_state();
infodisplay_reset();
if(power_manager_get_state() == PM_OFF)
{
power_manager_set_state(PM_HEATUP);
}
else if(power_manager_get_state() == PM_MANUAL_OFF)
{
power_manager_set_state(PM_MANUAL_NORMAL);
}
}
old_tip = cur_tip;
}
anyone use/fix or made further development of original firmware?
will try to add an else statement , which must execute instead of setting work states then tip not present
like
if(power_manager_get_state() != PM_OFF)
{
logger_print_params();
cur_tip = tip_detect_get_status();
if(cur_tip != old_tip)
{
if(old_tip == TIP_MISSING)
{
power_manager_init_state();
infodisplay_reset();
if(power_manager_get_state() == PM_OFF)
{
power_manager_set_state(PM_HEATUP);
}
else if(power_manager_get_state() == PM_MANUAL_OFF)
{
power_manager_set_state(PM_MANUAL_NORMAL);
}
}
else
rf_manager_set_mode(RF_POWER_OFF);
old_tip = cur_tip;
}
}
thanks