iDryer firmware: AutoPID, scales, and adding presets after assembly

So if I don’t run auto-PID, the scales won’t flash either?

🇷🇺 Оригинал

А если автопид не делать то и весы не прошьются?

Auto-PID is a separate mode.
It’s all in the video. Set the number of scales, run auto-PID, flash the firmware, calibrate the scales. In that order, the EEPROM won’t get wiped.

🇷🇺 Оригинал

автопид это отдельный режим.
В видосе все есть. Указать количество весов, сделать автопид, прошить прошивку, откалибровать весы. В этой последовательности епром не затрется.

My dryer isn’t assembled yet. I soldered the board and wanted to test the menu. Alright, I’ll assemble the case first. Then I’ll keep trying.

🇷🇺 Оригинал

У меня сушилка ещё не собрана. Спаял плату и хотел потестить меню. Ладно соберу корпус. Потом дальше буду пробовать.

The menu should work even without calibration, as long as the number of load cells is set.

🇷🇺 Оригинал

Меню, даже без калибровки, должно работать если указано количество тенз

I’m not really an expert on this. I was already about to give up on the whole thing. And then, like magic, everything flashed.) :joy:

And if I want to add presets later, do I need to do everything all over again? I mean auto-PID and the scales?

🇷🇺 Оригинал

Я не спец в этом. Сейчас уже собрался сворачивать деятельность. И тут как по волшебству всё прошилось.) :joy:

А если допустим пресеты добавить захочу то всё по новой нужно делать? В смысле автопида и весов?

It reserves an area in the EEPROM to store the scale calibration values, so it’s easier to get those PID values and write them into the firmware, because changing the number of scales can wipe that data. I don’t remember exactly how the addressing works there, but I do remember I didn’t assign variable addresses manually to prevent that.
In the firmware for Unit though, yeah, the addresses for those values are hardcoded, and the firmware doesn’t wipe them within the same major version.

🇷🇺 Оригинал

Там резервируется область в епром для сохранения калибровочных значений весов, так что эти значения пид проще получить и записать в прошивку, потому что смена количества весов может затереть эти данные, я уже не помню что там с адресацией, но точно помню что не прописывал адреса переменных вручную чтобы такого не было.
В прошивке для Unit уже да, адреса для таких значений жёстко заданы и прошивка в рамках одной мажорной версии их не затирает

Would be nice to know how to get those calibration values too.) I haven’t calibrated anything yet, so it’ll probably be easier for me to add presets after I assemble the case, if I want to, and then flash it again.

For now the controller looks like this.

🇷🇺 Оригинал

Если бы еще знать как получить значения этих калибровок.) я пока не калибровал так что мне будет проще после сборки корпуса добавить пресетов если захочу и прошить еще раз.

Пока контроллер вот в таком виде.

https://t.me/iDryer/81116/81118
there, you’ll get to explain exactly what pain points you were solving and why you even needed all this stuff )))

🇷🇺 Оригинал

https://t.me/iDryer/81116/81118
вот как раз и расскажешь какие боли ты закрывал и накой оно тебе все это надо)))