Haha. Great read. And aesthetically it's sweet as well. I wish your son accurately tracked and lasting health. He has an amazing dad to lean on!
Building a T1D smartwatch for my son from scratch
61–70 of 88 posts
Re: Building a T1D smartwatch for my son from scratch
#62I'm going to buck the trend and say this is an excellent idea, but it should absolutely NOT be used for its indended purpose. If OP wants to track his own insulin levels, fine, but to put DIY, uncertified, learn-as-you-go medical monitoring device on someone else, let alone your own son is f*cking bonkers.
Just to clear up the confusion here: there's basically no risk to this device. It's not inventing numbers on its own. It's simply a secondary display to the same data that's on the phone. The phone alarms are still there, and can't be disabled, not to mention the insulin pump, which also alarms independently.
Re: Building a T1D smartwatch for my son from scratch
#63Did you ever look into an e-ink display?
I did, but they're surprisingly expensive, and a black-and-white display isn't all that exciting for a kid. An always-on display would however be perfect for this use case though.
Re: Building a T1D smartwatch for my son from scratch
#64Earlier quoted context omitted.
Just to clear up the confusion here: there's basically no risk to this device. It's not inventing numbers on its own. It's simply a secondary display to the same data that's on the phone. The phone alarms are still there, and can't be disabled, not to mention the insulin pump, which also alarms independently.
So AIUI rephrased differently it allows finer grained management before the all hands on deck full tilt red alert alarms go blaring?
Re: Building a T1D smartwatch for my son from scratch
#65Earlier quoted context omitted.
Another alternative is to use ESP32's deep sleep mode. You can tell ESP to sleep until some event occurs. There are many options for waking up the microcontroller. https://docs.espressif.com/projects/esp-idf/en/stable/esp32c... It uses little power, so standard 18650 battery could last years with single charge. https://www.programmingelectronics.com/esp32-deep-sleep-mode
The ESP32-S3 spends most of its time in deep sleep, only waking up for about 5-10 seconds every 5 minutes. The problem I ran into was that not just the ESP32-S3, every component on the board (the accelerometer, the haptic motor driver, the LiPo battery charger, the 3v3 LDO) has a some constant, minimum (quiescent) current draw. And even how your resistors are configured (pullup or pulldown) and their resistance value…
Re: Building a T1D smartwatch for my son from scratch
#66Wonderful. I'm interested in learning about circuit and PCB design. What would you recommend as the best introductory resources to get started?
I point out to people that it's clear that Adafruit is noticeably more expensive than the cheap stuff on amazon, but the fact that you can buy something from them, follow the tutorial on it and basically expect everything to work right off the bat makes the cost worth it. Even as a professional embedded developer, I go straight to them when I need to build a prototype and don't want to waste time faffing around.
Re: Building a T1D smartwatch for my son from scratch
#67I'm going to buck the trend and say this is an excellent idea, but it should absolutely NOT be used for its indended purpose. If OP wants to track his own insulin levels, fine, but to put DIY, uncertified, learn-as-you-go medical monitoring device on someone else, let alone your own son is f*cking bonkers.
Medical Design process basically exists (oversimplifying of course) because the engineers are not the users. It's entirely possible for one person to build something that far exceeds the quality and performance of an off the shelf device simply because they care to do a good job and have constant feedback on how it works.
There's a lot to be said for scratching your own itch!
Re: Building a T1D smartwatch for my son from scratch
#68> I learned that One Does Not Simply put glass in front of a TFT display. It will look like a first-generation, low-budget Android phone if you do. Do you happen to have any before-and-after photos of what this looked like, and more details on how your tortilla press DIY method works? I recently received a little hackable music player device with a TFT display that looks kind of bad and I wonder if this is something…
The process was applying steady pressure to the TFT display -> OCA film -> glass, sandwiched between soft rubber, for about a minute. However you need to do a decent job applying the OCA film in the first place - there are youtube videos that show how to do it. I probably wouldn't recommend what I did in your case - it's easy to go too far and break the glass, and I'm not sure if what's wrong in your case is due to t…
I'd definitely recommend that if you're just assembling less than, say, 10 screens.
Re: Building a T1D smartwatch for my son from scratch
#69Re: Building a T1D smartwatch for my son from scratch
#70Earlier quoted context omitted.
Another alternative is to use ESP32's deep sleep mode. You can tell ESP to sleep until some event occurs. There are many options for waking up the microcontroller. https://docs.espressif.com/projects/esp-idf/en/stable/esp32c... It uses little power, so standard 18650 battery could last years with single charge. https://www.programmingelectronics.com/esp32-deep-sleep-mode
The ESP32-S3 spends most of its time in deep sleep, only waking up for about 5-10 seconds every 5 minutes. The problem I ran into was that not just the ESP32-S3, every component on the board (the accelerometer, the haptic motor driver, the LiPo battery charger, the 3v3 LDO) has a some constant, minimum (quiescent) current draw. And even how your resistors are configured (pullup or pulldown) and their resistance value…