iDryer W: do you need USB for emergency flashing or is a UART programmer enough

So, iDryer team, shall we have some fun)
while there’s still no iDryer W thread, I suggest discussing it here
I’m trying to cobble something together with my left hand)

a standalone board with wifi as an alternative to both X and Unit
there are several options for the basic functionality that affect the final cost

  • base: esp32s3, 12V fan, 220V 100W heater, scales
    all of this, as intended, comes with some kind of basic firmware, gets configured by the user, and updated to the main firmware
    fits into X and Unit size-wise. pin2pin compatible

  • extra: this is where it gets tricky! even though it seems like a small thing, it can turn into 6-8 bucks. what am I talking about… the ability to reflash it in case of a failure, and that means a usb connector, tvs diodes, a cp2102 converter, supporting circuitry… basically it all costs money, and it’s really not needed that often, only in some kind of emergency.

so the question is, is it worth spreading that across the board and raising the price, or if something goes wrong should the user just buy a programmer and flash it directly?
it’s kind of all there in KNOMI, but I’m afraid that if I pile things on, I won’t fit into the KNOMI price, because there it’s just a little screen, while here there are scales, the power section, PSU, basically everything all at once…

any opinions are welcome and all of them will be heard
anything off-topic will be deleted (admins​:double_exclamation_mark:) within 24 hours so we don’t lose focus

🇷🇺 Оригинал

Ну что, команда iDryer, пошалим)
пока еще нет темы iDryer W, предлагаю обсудить тут
я пытаюсь что-то левой рукой ваять)

плата standalone с wifi как альтернатива всему и X и Unit
есть несколько вариантов базового функционала влияющего на итоговую стоимость

  • база: esp32s3, кулер 12В, нагреватель 220В 100Вт, Весы
    все это по замыслу приходит с некой базовой прошивкой, конфигурится пользователем и обновляется на основную прошивку
    лезет в X и Unit по габаритам. pin2pin совместимо

  • extra: вот тут сложна! при кажущейся мелочности вопроса он может вылиться в 6-8баксов. о чем речь… возможность прошивки в случае аварии, а это разьем усб tvs диоды конвертор cp2102, обвязка… короче все стоит бабла а нужно далеко не всегда, вернее в каком-то аварийном случае.

и вот вопрос, стоит ли это размазывать по плате и поднимать стоимость или в случае аварии пользователь сам купит программатор и прошьет напрямую?
оно вроде как все у KNOMI, но боюсь, если наворачивать, в цену KNOMI не пролезу т.к. там просто экранчик а тут и весы и силовая часть и бп, короче всего до кучи…

приветствуются любые мнения и все они будут услышаны
все вне обсудения темы будет сноситься(админы‼️) в течении суток дабы не терять фокус

I think usb is needed. A programmer costs money too. And restoring or updating firmware without jumping through hoops is closer to what today’s user, spoiled by Bambu, expects, even if it costs more. IMHO

🇷🇺 Оригинал

Думаю нужен usb. Программатор тоже денег стоит сколько то. Да и восстановление иди обновление прошивки без танцев с бубном сегодняшнему юзаерю, избалованному бамбуками, ближе, хоть и дороже. ИМХО

OTA updates
Recovery is really an emergency case. I get it, but 8 bucks just for that feels like a waste. A programmer costs 300 rubles

🇷🇺 Оригинал

Обновление по воздуху
Восстановление реально аварийная ситуация. Понимаю, но 8 баксов ради этого жалко. Программатор 300р стоит

And what kind of programmer? Would an St link work? Or does it not really matter?

It hooks up with 4 wires, right, over uart

🇷🇺 Оригинал

А программатор какой? St link подойдёт? Или в принципе без разницы?

Он же, вроде на 4 провода цепляется, по uart

Definitely 8 bucks? Seems like a lot. Could you use Сh340? The supporting circuitry is cheaper there, I think. All ESP dev boards use it

Obviously updates are OTA. We already discussed that.

🇷🇺 Оригинал

Точно 8 баксов? Как то много. Сh340 может задействовать? Там обвязка дешевле вроде. Все поаты разработки на esp с ним

Обновление понятно что по воздуху. Это обсуждали.

Just a regular usb ttl. The simplest one)

Even ch340 is 0.4 bucks on a reel​:man_shrugging:. Don’t count just the component cost.
In the reference designs for esp32 it’s only cp2102, and that thing costs almost 2 bucks.
Can you show me an espressif esp32 with ch340? Don’t show me the crap from Chinese basement shops where nothing works)

🇷🇺 Оригинал

Обычный usb ttl. Самый простой)

Даже ch340 стоит 0.4 бакса в катушке🤷‍♂️. Ты по стоимости комплектухи-то не считай.
В референсах для есп32 только cp2102, оно стоит почти 2 бакса.
Покажешь есп32 от espressif с ch340? Говно из китайских подвалов, на котором ничего не работает, не показывай)

Ah, so that’s how you’re talking now) well then yeah. And if all you need is usb ttl, then yeah. It’s dirt cheap. So screw usb then. Just leave a pin header on the edge and that’s enough.

🇷🇺 Оригинал

А. Вот ты как заговорил) ну тогда да. Ну и если usb ttl нужен, то да. Он копеечный. Нафиг тогда юсб. Гребенку пинов с краешку оставить и хорош.

I’ve been calculating it for two days already… it’s driving me nuts. That damn usb blows the whole budget, and the worst part is it’s totally unjustified.
We somehow decided that in iHeater, in a worst-case scenario, the firmware could be loaded with an stlink

🇷🇺 Оригинал

Да я уже два дня считаю… Крышу рвет. Этот гадский usb весь бюджет портит, а самое главное нифига необоснованно.
Мы как-то же мы решили что в iHeater на крайняк прошивку stlink-ом можно загрузить

Yeah, there yes. But there it’s hard to brick the firmware. IMO. And updates aren’t needed at all. It’s all macros anyway. A standalone device is a different story. It’s much easier to break the firmware during an OTA update.

🇷🇺 Оригинал

Там да. Но там прошивку сложно уронить. Кмк. А обновы вообще не нужны. Все ж на макросах. Другое дело standalone устройство. При обновлении прошивки по воздуху ее положить гораздо легче.

No, the logic there is simple.
There are two firmware areas and a boot area that knows which one to load from. So if the update fails, it’ll boot the previous version. So an emergency would have to be something really out of the ordinary.
But the idea about a dev board from @kuzyatheslayer (https://t.me/kuzyatheslayer) is also very interesting!

🇷🇺 Оригинал

Не, там логика простая.
Есть две области для прошивки и бут область которая знает из какой грузить. Т.е. если не прошлось обновление, будет грузится предыдущая версия. Т.е. авария это реально что-то сильно нештатное.
Но мысль про девборд @kuzyatheslayer (https://t.me/kuzyatheslayer) тоже очень интересная!

2 versions? A cheap one for regular people so it just works. And a dev board for geeks, but more expensive… Sounds doubtful.

🇷🇺 Оригинал

2 версии? Дешёвая для обычных людей, чтоб работало. И дев борд для гиков, но дороже… Сомнительно.

I’m personally all for the geeky version, but somehow after all the testing we need to order at least a hundred. Otherwise the price will be pretty depressing.

🇷🇺 Оригинал

Да я сам за гиковую, но как-то нужно после всех тестов сотню хотя бы заказать. Иначе цена будет вообще не радостная