Тёмный

Porting Python to a terrible $3 smartwatch 

Poking Technology
Подписаться 6 тыс.
Просмотров 80 тыс.
50% 1

In whch yr hmbl svt makes an incredibly cheap trash smartwatch run Micropython.
This is me disassembling, exploring, reassembling and reflashing a super-cheap LT716 smartwatch from AliExpress. For approximately $3 you get a 24MHz Telink TC32 CPU with 512kB of flash and 16kB of RAM, a decentish 80x160 screen, BLE hardware and the usual set of hardware, all in a fairly nice small package. What to do with it? Well, it turns out it runs Micropython really well.
Useful links follow:
- the RP2040 Telink debugger I wrote: github.com/davidgiven/telinkd...
- the Micropython port itself: github.com/davidgiven/micropy...
- rbaron's blog post, which a lot of this work is based on and which inspired me to do this: rbaron.net/blog/2021/07/06/Re...
- pvvx's github repository, who I completely forgot to mention in the video but who did a lot of the SWS reverse engineering and produced the STM32 debugger --- even though I couldn't make this work, this was invaluable as a reference, so thanks! github.com/pvvx/TlsrTools
- Linux and Windows TC32 compiler binaries: github.com/Ai-Thinker-Open/Te...
- Telink's TLSR8232 documentation page, including the SDK downloads: wiki.telink-semi.cn/wiki/chip-...
- archive.org mirror of the compiler and SDK, in case it vanishes from Telink's web site: archive.org/details/tc32_comp...
- archive.org upload of the ROM dumps from the two devices: archive.org/details/wristband...
- affiliate link to what may or may not be the same model of watch that I bought: s.click.aliexpress.com/e/_DlE... (the vendor I bought mine from seems to have vanished!)

Наука

Опубликовано:

 

22 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 181   
@joshmyer9
@joshmyer9 3 дня назад
"The battery is slightly squidgy, which is a bit concerning" -- the guy who was just poking it with very pointy tweezers 😅
@hjalfi
@hjalfi 3 дня назад
Sometimes you have to make your own entertainment.
@snarekeeper8053
@snarekeeper8053 2 дня назад
Come on, the channel name is "Poking Technology", what did you expect
@goiterlanternbase
@goiterlanternbase 2 дня назад
5:55 Funily, two wires are enough, if you are clever. When the Led has sent its pulse, there is a reflection coming back and since Leds work as photocell, a current spike is generated and the current is dependent on what is reflecting. So all the sensor needs is power and ground and some sniffer on the powerline. But i bet this is not implemented🤗
@SteffenF
@SteffenF День назад
Jup that is an option but in this case it's just a nice blinking-light. I thought about this for a self dimming clock that's just barely visible. Too much hassle to implement. Used a standard cheap photocell. And in the aftermath just bought a cheap off the shelf chock 😂
@Kenionatus
@Kenionatus 21 час назад
So measuring the power draw which is lower when more light is reflected and reabsorbed?
@goiterlanternbase
@goiterlanternbase 18 часов назад
@@Kenionatus Can you measure the drop? It isn't much.
@SteffenF
@SteffenF 18 часов назад
@@Kenionatus No! The led generates power like a solar cell and you could measure that. But only in a narrow wavelength. And I'm not sure if you could use the bounce back from rapidly switching between powering and reading voltage to detect anything
@francistaylor1822
@francistaylor1822 15 часов назад
@@SteffenF next you will tell me that the heart rate of the desk its sitting on is wrong
@curiouslycory
@curiouslycory 2 дня назад
"Running, skipping, and sit-up." I LOVE the skipping option. I think this should be an exercise on more smart watches :D
@NaoPb
@NaoPb 14 часов назад
I agree. Just skip the excercise
@christ2290
@christ2290 2 дня назад
Well, the heartrate / Sp02 sensor is 100% fake. It's only got 2 conductors and looks like it's just flashing an LED. At a minimum you'd need 4 wires (ground, 1 for photodiode sense, two for the pair of inversely connected LEDs (one IR, one visible).
@any1alive
@any1alive 2 дня назад
later in the thign there is pads for a sensor apparently
@AJB2K3
@AJB2K3 2 дня назад
Of you are cleaver you can use the led as a photodiode but I would guess that from the screen that its 100% fake
@christ2290
@christ2290 2 дня назад
@@AJB2K3 it would be impossible to generate light and sense light simultaneously using the same LED at the same time.
@craxen1
@craxen1 2 дня назад
Might be true, but the human eye does not notice high frequency, so you can actually sample the diode do different things and you cannot detect the difference​@@christ2290
@supermaster2012
@supermaster2012 18 часов назад
@@christ2290you absolutely can by pulsing it measuring the current spike from the reflection.
@emanuellandeholm5657
@emanuellandeholm5657 День назад
I absolutely love this. General computing is a basic human right, and this is making it happen. The kids don't have to make computers using redstone in Minecraft anymore, they can simply hack their Temu "smart" watch. It's brilliant.
@SteffenF
@SteffenF День назад
i love that your desk has a hartrate. amazing. please feed it well
@Xodabeef
@Xodabeef 2 дня назад
The fact that this watch is a knockoff of a xiaomi band watch, which itself is only 20-40€, is crazy it's a cheaper version of an item that's already cheap!
@FennecTECH
@FennecTECH 2 дня назад
Pro tip. Instead of stripping your magnet wire manually. Hit it with a flame from a lighter and it will burn the coating right off. Then pinch in a tissue and pull to remove the char. It’s way quicker than scraping it off
@hjalfi
@hjalfi День назад
I'll have to try that --- I attempted to burn the coating off with solder but it never worked very well.
@DuroLabs85
@DuroLabs85 День назад
​@@hjalfiI reuse the wires from brushed motor windings, Also as many as I have got till now the coating can be removed easily with the soldering iron itself no need of scraping or need of a lighter. Really nice for thin jumper wires !!
@HobkinBoi
@HobkinBoi 23 часа назад
I've done that and have also just burned it off with the soldering iron, though the flame is more effective i've noticed.
@willyarma_uk
@willyarma_uk 20 часов назад
@@hjalfi Set your iron to 400 deg C and just touch the very end of the wire - it works for me, it goes from doing nothing to coming off easily when temp is raised.
@philipegoulet448
@philipegoulet448 14 часов назад
The fumes released by burning the isolation on magnet wire is quite toxic! Don't breathe them in :)
@monster2slayer
@monster2slayer День назад
while it is garbage, i still find it amazing that you make something like this for THREE DOLLARS. crazy
@thesuhasvasishta
@thesuhasvasishta 22 часа назад
not even that, since im assuming they're trying to make a profit, i suppose they're making this garbage for EVEN cheaper, which is astonishing
@Kenionatus
@Kenionatus 21 час назад
And three dolars at the consumer. How fucking cheap do the production costs have to be that it's worth shipping that thing through a logistics chain across the world, market it, pay for accounting etc...
@thesuhasvasishta
@thesuhasvasishta 21 час назад
@@Kenionatus exactly
@Entertainment-
@Entertainment- 21 час назад
@@KenionatusDon’t forget it’s shipped for basically free due to the Universal Postal Union.
@Alfred-Neuman
@Alfred-Neuman 11 часов назад
Yeah, he just improved the value of this watch by a factor of 10x or maybe even more lol
@rbaron
@rbaron 5 дней назад
Great job! I may have to dig my watch up and try your micropython port. I really like the rp2040 programmer too - tks for sharing that with the community.
@RickDkkrd
@RickDkkrd 2 дня назад
That's quite hardcore. Thanks for a really interesting hack. And thanks for sharing the code and all the findings.
@ebrombaugh
@ebrombaugh 6 дней назад
Nice work - digging around in these things seems like a lot of fun. I've also experienced these "smart watch" devices with the faux biometrics that merely flash a green LED and then make up a bunch of bogus data. Funny thing is that I've got a Xiaomi smartwatch that looks almost identical to this which does have fully functional sensors and works nicely.
@jan_harald
@jan_harald 2 дня назад
it's not that trivial to tell them apart, actually, because the legit sensors, I'm pretty sure, DO work by shining an LED and then taking an image, and trying to read the bloot oxygen from that, or something, and heartbeat you can just measure with like, 2 contacts or so, so it can be tricky to tell whether it's totally bogus, or whether it's PARTIALLY real and just mixes in bogus data for missing parts
@ebrombaugh
@ebrombaugh 2 дня назад
@@jan_harald Yep. I think the LCD in the real Xiaomi is taller and you can clearly see the blood sensor next to the green LED on the back. I think the charging terminals may be located differently too, but otherwise they're very similar.
@hjalfi
@hjalfi 2 дня назад
The really strange thing is that all the devices I've seen have an unpopulated HSR footprint for a real heart rate sensor, so it's clearly something they designed for.
@mmuller2402
@mmuller2402 10 часов назад
Populate it and see if it woks? 😂​@@hjalfi
@KallePihlajasaari
@KallePihlajasaari 2 дня назад
I would have taken the wires out through the heart rate monitor window. I enjoyed this video very much. Thank you for taking the time to document your steps. The platform is very close to what I am looking for. Battery life is an issue I would like it to last many days of stand by. Actual use would be just a few minutes per day. I want an vibration alarm once or twice a day, with an ACK button, and a timer and a tiny bit of logging that can do some simple stats like average and totals. My app would probably fit into the RAM.
@Rob_III
@Rob_III День назад
I normally only subscribe after I've seen a few videos from a channel and am convinced of their quality and them having earned my subscription. But halfway this video I subbed. Great video! Can't wait to binge some others!
@strayling1
@strayling1 2 дня назад
Great to see a video which explores a bit closer to the metal. Also nice to see someone else who uses gkrellm - still my system monitor of choice.
@Klannahar
@Klannahar 2 дня назад
Hey man ur desk is alive, its a living organism and this watch is confirmed it for us!! Ladies and Gentleman's we are officially found out FIRST Alien life form!
@MaxintRD
@MaxintRD День назад
Interesting video. I like the humorous way of how you very clearly explain how you gained control of this cheap yet interesting piece of hardware. Thank you for sharing! Some years ago Aaron Christobel made an Arduino core for the somewhat similar D6 Fitness tracker. (similar features, monochrome display, nrf5 mcu; equally cheap and crappy watch). On his RU-vid channel you can find a few video's around him hacking that D6 watch, but also quite a few for some other watches such as the P8 as well as many other devices.
@atc1441
@atc1441 5 дней назад
Nice to see the TLSR Legacy living on
@budderbrotDE
@budderbrotDE 2 дня назад
I knew you were going to be Here somewhere hahahahaha
@raphaelponthieu4737
@raphaelponthieu4737 День назад
Thank you so much for sharing that !!!! Funny to see the ST32 disapear for a Pico :D Sometimes changing HW ease SW soooo much.
@hjalfi
@hjalfi День назад
The RP2040's PIO is amazing. It gets you about 1% of the functionality of an FPGA at about 1% of the complexity. For doing weird bitbanging like this it's perfect.
@andymouse
@andymouse 4 дня назад
Fascinating ! even though I understand about 7% of what you did but that was enough for the time to fly by !!.....cheers.
@ahmetkipkip
@ahmetkipkip День назад
Wow, amazing content! Thank you so much for sharing. Just subscribed. Gonna watch the video in detail on free time..
@jouletube5605
@jouletube5605 6 дней назад
Always love your vids!
@smt52
@smt52 5 дней назад
Amazing work, genius!
@tubeDude48
@tubeDude48 День назад
Totally understand!! I have one that doesn't have the features you mentioned! I DON''T care about fitness at 76!! Same here on that heart rate, since I use a REAL device to check that. They aren't even close!!!
@smitcher
@smitcher 2 дня назад
Absolutely great video, i'm going to give this a try too. Just something to think about - you can get brass pogo pads, you solder a wire to the pad, drill a tiny hole in the case for the wire to pass through and then epoxy or uv glue down the pogo pad. Then you can easily 3d print or otherwise make a clip with pogo pins that are spring loaded and press on the pads... the pads are very low profile and used on similar watches that attach to a magnetic charging cable...
@hjalfi
@hjalfi 2 дня назад
Skipping is a very traditional cardio training exercise and is _much_ harder than it looks.
@hjalfi
@hjalfi День назад
Also, I replied this to a different comment. What's it doing here?
@TheXmas100
@TheXmas100 День назад
i enjoyed the heck out of this video, i did not even realize that it was an hour long lol 30:45 Also i did not know that you could just select the lines where you want to replace a value on vscode the way you did it, thank you
@aboxninja
@aboxninja 5 часов назад
Really good job, really underrated channel.
@GabrielPettier
@GabrielPettier 5 дней назад
Hey, i have one of these! As you can imagine, it's sleeping in a drawer, because that's not a great watch! But it might be fun to hack some python into it. nice work. I think mine was slightly more expensive and does detect motion (though not very reliably), will see if which parts are fake when opening it.
@eagledee7753
@eagledee7753 18 часов назад
"LED/Heart sensor" LOL!!! Brilliant.
@cocusar
@cocusar 6 дней назад
this was a lot of fun, what an interesting and weird mcu. also, how weird that the ble stack consumes so much ram for no good reason. I don't think the stack will be reverse engineered right now, but hopefully someone does it. same for the arm thumb assembly to tc32 assembly. but we can dream!
@kraklakvakve
@kraklakvakve 6 дней назад
Sometimes the flash has wait states so running code from it is slower than from RAM. Just speculating, though.
@hjalfi
@hjalfi 6 дней назад
In addition, I completely forgot to say --- I'm _sure_ I recorded a bit but then couldn't find the footage --- that the flash is emulated via SPI, like the ESP's PSRAM or the RP2040. 2.5kB of RAM is dedicated for the flash cache. So anything which might run from an interrupt handler will have to be in RAM, in case an interrupt happens when the flash is busy. It's entirely plausible that most of the BLE stack runs in an interrupt context. I have actually been debating decompiling the BLE stack in ghidra. I'd need to disassemble it, rewrite all the instructions into Thumb, assemble it again, and that way produce a Thumb binary which ghidra could understand!
@cocusar
@cocusar 6 дней назад
@@hjalfi that'll be a video and a half!
@voinea12
@voinea12 2 дня назад
you should use 30 AWG silicone wire don't even bother with the transformer wire, it brakes even if you just observe it because you collapse it's wavefuntion and it's so fragile that it's the only thing holding it together
@willyarma_uk
@willyarma_uk 6 дней назад
This was absolutely fascinating!
@ibmicroapple9142
@ibmicroapple9142 6 дней назад
Entertaining project!
@foobar9761
@foobar9761 5 дней назад
Came for the video, subbed for the chip tunes!
@hjalfi
@hjalfi 5 дней назад
Those are real XMs from ModArchive, I'll have you know!
@foobar9761
@foobar9761 4 дня назад
@@hjalfi a man of culture 😀
@SianaGearz
@SianaGearz 3 дня назад
Excellent, i do have one of these because i heard people were hacking on them. I wish there was a more watch-like version with more screen and maybe real touch or a couple more HMI inputs and more battery and maybe an accelerometer or something. I had one which was more of like an MTK phone in a watch form factor which i bought for 5€ but a series of unfortunate accidents befell it while i was trying to do things to it.
@AryaFairywren
@AryaFairywren 2 дня назад
have you seen the Lilygo T-Wristband? I've hacked on it some, it is pretty good. also, there's the T-Watch series with even more screen
@pjcnet
@pjcnet День назад
For that price it's amazing it works at all, yes it's terrible, but what else would you expect for $3? You're getting a colour touch screen smart watch that's effectively a full computer that has given you hours of fun.
@krzysztofadamski7804
@krzysztofadamski7804 День назад
Hi, nice video and great work. I didn't think about porting micropython for that MCU family and I think the Xiaomi LYWSD03MMC thermometer that pvvx is making firmware for might be even better target for micropython as it has much more SRAM and might be better documented/understood thanks to pvvx (and others) work.
@nunofelicio
@nunofelicio 5 дней назад
Great video!, thanks!
@theleveluniverse
@theleveluniverse День назад
Great video!
@PhilippBlum
@PhilippBlum 2 дня назад
I would love to get RIOT OS support for these devices. We could build some fun stuff with IPv6 over BLE. Fun IoT home automation shenanigans.
@riccamutt
@riccamutt 11 часов назад
what a great video! new subscriber here and new fan😊
@Rich-on6fe
@Rich-on6fe 17 часов назад
This is good stuff. Thanks
@user-yc7nv2qx2n
@user-yc7nv2qx2n 8 часов назад
I spent 9.99 yuan on live streaming shopping in China and purchased a smartwatch for approximately 1.3 US dollars. You can make phone calls and have a built-in app that allows you to connect to your phone using Bluetooth. I also bought Bluetooth earphones for 1.99 yuan, about 0.25 US dollars. It can be charged, similar to Apple's Bluetooth earphones.
@juanignaciodominguez5902
@juanignaciodominguez5902 18 часов назад
i don't understand a thing but im glad i watched the whole video. amazing!
@sophiespaan2995
@sophiespaan2995 День назад
I have one of these I found in the bin at work, mine's battery is also squishy and feels pressurized. I think they sell them with pre-aged batteries, or terribly sealed ones.
@agenda697
@agenda697 20 часов назад
Faskinating plus luv those ant512 tunes !
@AJB2K3
@AJB2K3 2 дня назад
Slightly squidgy? Spicy Pillow!
@titop.5228
@titop.5228 День назад
Would love to see you do something like this with an entry-level Amazfit, which these intend to imitate. Of course they're more than 3€, have a lot of high-level documentation, and are less archaic; but the contrast would be very cool to see.
@BuzzBazzJ
@BuzzBazzJ День назад
Oh damn! That’s even cheaper and crappier than the Huawei and Xiaomi bands I’ve been buying. They have been perfect at the only few things I would need them to do: Sleep tracking, Time & Date, Simple workout/steps/calorie counters and maybe heartrate. They have been waterproof and with a simple update to the mainscreen a good background that sips battery for close to a month of actual use. It is far better than any other “smart” device as they last anywhere over a week to close to a month and I can do simple swims or for gods sake just wash my hands without worrying about them. I did upgrade to a Huawei GT2 and have enjoyed it, and I did upgrade the Wife to a second hand Apple Watch gen 4, but her battery life is abysmal to less than a day with tons of restrictions to save as much battery as possible. What you have there in the video should not exist. It is manufactured junk.
@pelihahmo6951
@pelihahmo6951 2 дня назад
damn that is awesome
@ndrechtseiter
@ndrechtseiter 23 часа назад
Amazing video! By the way, what is the model of your keyboard?
@DarkGT
@DarkGT День назад
I have one of those named Canyon sb01bn, I wondered what makes it work. Out of the box it didn't work. I resolder almost everything and start working. Squishing the whole unit makes it go nuts and do random presses. If I put more pressure the whole UI flips upside down. What a great E-waste product.
@Rpahut1
@Rpahut1 День назад
I've been holding on to one of these thinking I might hack it in some useful way, but after watching this it seems best to just throw it away.
@goiterlanternbase
@goiterlanternbase 2 дня назад
5:20 Lots and lots of air in it. To say it in Steve terms; make it smaller!
@myrmeko
@myrmeko 15 часов назад
After seeting this, i really wonder what you could do with something a little more powerful like a Samsung Fit3. Considering that you know so much about this kinda stuff, i wonder if you could get Android 1.0 or 1.5 running on that. Like, yeah, Android 1.0 needs 32MB of RAM, double the quantity in the Fit3, but it has enough internal storage for swap RAM. But i really doubt that 1.5 would be able to run on that. Either way, it would be a very interesting thing to see if you ever want to do it.
@meanxmeanx1763
@meanxmeanx1763 День назад
The screen could be using half duplex SPI. The data line is switching between being MISO & MOSI. The rounded screen i have somewhere is made that way.
@wchen2340
@wchen2340 7 часов назад
hackable, cheap and smart. "terrible" doesnt serve much of a purpose. i find it distracting. and offensive. Terrible recommendations are commonly of little demand id say. Thats why i got here way later than i like to be. Outstanding content. Glad i didn't miss it in the noise.
@RicardoBHubner
@RicardoBHubner День назад
Maravilhoso o seu trabalho amigo.
@0xad
@0xad 2 дня назад
I thought magnet wire melted its coating during soldering, no need to strip it.
@gurumurthy779
@gurumurthy779 День назад
Hi sir, i really love your work of converting a boring useless gadget into something more useful Can you also do the same for the Spotify car thing I would like the option whether to choose a esp32 s3 for iot projects or a mini computer like raspberry pi zero 2 w for mini linux computer Or a simple hdmi display with touch output through usb c port with the dial control and display and touch screen and touchscreen It shouldn't only be confined to car automation, it should also be programmable and everything like a regular esp32 I am really looking forward to it
@Waldemar_Pachol_official
@Waldemar_Pachol_official 2 дня назад
Interesting and amazing! Thanks for the video. 1:10:58 XD
@US5NAR
@US5NAR 2 дня назад
Take care of you!
@laulaja-7186
@laulaja-7186 12 часов назад
Wow highly entertaining. With vids like this who needs a university class?
@Darkstar2342
@Darkstar2342 5 дней назад
Awesome video, as always. Just one question remains: Does it run Doom? ;-)
@hjalfi
@hjalfi 5 дней назад
Thanks! You _might_ be able to run the Doom text adventure.
@wizdude
@wizdude 17 часов назад
Greetings. I’m super interested in that Elikliv microscope you use. Which model is it and how do you like it? Considering purchasing one. Many thanks and cheers on a great video.
@aigonewrong.
@aigonewrong. 17 часов назад
people: ahhhh. AI is taking over coding and engineers. youtube: check this shit out.
@cirusMEDIA
@cirusMEDIA 6 часов назад
When not connected to your watch and only used for telling time, these things last 10 to 14 days on a single charge 👌
@frederichominh3152
@frederichominh3152 14 часов назад
Too long video. Problem is, I love every second of it, even when the Atari music pops up.
@Falney
@Falney 15 часов назад
I don't know how accurate the heart monitor is, but heart rate and oximeter is likely legit. The BP? No idea how it would do it. The sensor is an LED/Sensor Pair. The Oximeter uses the colour of reflected light to determine how oxygenated your blood is, the heart rate monitor works in a similar way but I believe it uses amount of light reflected rather than the colour. I say its likely legit because the sensors for doing that are cheap. The accuracy however is a lottery.
@RomanTruman
@RomanTruman 4 дня назад
Cool, is it possible to change firmware via Bluetooth like OTA?
@hjalfi
@hjalfi 4 дня назад
Yes; it's just a small matter of figuring out how. (Also, if you have the Bluetooth stuff present there's no room for Python.)
@hamburgengineer
@hamburgengineer 22 часа назад
Man I am still using S2. I like its narrow shape and long battery life compared to other watch
@qwertykeyboard5901
@qwertykeyboard5901 17 часов назад
Essentially an arm microcomputer for $3 nifty!
@thomasleeuwen124
@thomasleeuwen124 3 дня назад
gkrellm of a boss!
@ALSPEHEIR
@ALSPEHEIR День назад
The RESET button is there to erase all the data about machines that was paired through bluetooth so you can pair again
@reinoud6377
@reinoud6377 2 дня назад
Glad that the source code is in English and not in Chinese!
@roostertechchan
@roostertechchan 6 дней назад
instead of 'ampy,' you can use 'mpremote', which is the standard tool now.
@hjalfi
@hjalfi 5 дней назад
Oh yeah --- it's even in Debian!
@tubeDude48
@tubeDude48 День назад
Couldn't finishing watching! Hated the 80's music!
@demostenesramos
@demostenesramos 2 дня назад
The display different color change is caused by the polarized case lens. Seems it dimm the screen brightness and affects the color.
@aigonewrong.
@aigonewrong. 17 часов назад
i understood 1%, regardless of my understanding, super cool shit!!! TIL there is a "superpython" for microcontrollers!
@gigaherz_
@gigaherz_ День назад
/me nods vigorously. enamel wire is annoying for everything except making inductors and transistors, where most of the time is spent winding and not soldering.
@hgn2217
@hgn2217 21 час назад
How about making it control a strong heavy-duty brushless motor to drive the Big Ben clock on the Palace of Westminster in London, England. :)
@raguaviva
@raguaviva 5 дней назад
I'd try CircuitPython as it is more solid than Micropython
@arijeetsarkar1512
@arijeetsarkar1512 22 часа назад
Dream come true ❤
@rasz
@rasz 2 дня назад
That kerning gave me cancer
@mattmmilli8287
@mattmmilli8287 19 часов назад
hardware people are insane 😮 so cool
@maalos
@maalos 2 дня назад
that's what I live for!
@martinfuentes7732
@martinfuentes7732 16 часов назад
I always wondered why nobody did a game to play with smart bands, like flappy bird or so. Seems its no as easy as i though
@roysigurdkarlsbakk3842
@roysigurdkarlsbakk3842 5 дней назад
what was that p command you used as a calculator? some sort of shell alias calling python?
@hjalfi
@hjalfi 5 дней назад
Shell alias calling Lua!
@_WalkTheEarth_
@_WalkTheEarth_ День назад
The UI and look is like a Mi Band (i have one)
@Azraelfromgamefax
@Azraelfromgamefax 17 часов назад
you sound quite like Roddy McDowall
@replikvltyoutube3727
@replikvltyoutube3727 2 дня назад
Damn you need so much stuff to hack on those things!!!, I want to run even simple JS application (default apps and faces run JS) on my Mi Band 7 pro, but thing is so locked down, even doesn't have com port all through bluetoothLE over encrypted connection. I mean it's good that connection is encrypted but like it's too locked down for hacking!!
@JamesChurchill
@JamesChurchill 3 дня назад
TSomeone tshould tslap the tperson tresponsible tfor tadding t tto tall tthe tmnemonics. What an utterly ridiculous thing to do.
@enantiodromia
@enantiodromia 2 дня назад
lol
@andririan6342
@andririan6342 День назад
for the price i think its not too bad
@randomazzy11
@randomazzy11 2 дня назад
awesome i love fucking around with smartwatches one of the reason i got a samsung galaxy watch 6 my parents think i use it for sleeptracking and calling and texting which i do but i sideloada shit ton of android apps on that thing
@goiterlanternbase
@goiterlanternbase 2 дня назад
5:50 Is it just me, or does this battery looks already ballooned🤔
@qdaniele97
@qdaniele97 2 дня назад
I don't think so, it just looks like because it's a really tiny pouch battery
@gteixeira
@gteixeira День назад
Just a poorly wrapped one, but it does look puffed.
@jacobdavidcunningham1440
@jacobdavidcunningham1440 2 дня назад
Pretty crazy though $3 lol... it reminds me of those vapes people throw away If they had microcontrollers/harvest em, chain em parallel compute idk... not worth it but yeah python is funny too easier to write than C++ but is it worth the cost
@jacobdavidcunningham1440
@jacobdavidcunningham1440 2 дня назад
8:39 this is so funny, this is the part people don't like to watch because it's actual work lol I say that as a creator, people just want to see the end result, ahh well I like watching it, I learn something
@willyarma_uk
@willyarma_uk 6 дней назад
Shame it'd be too big, but having micropython on CP/M would have been an interesting idea! ;)
@BillDemos
@BillDemos 14 часов назад
Well, it's not the watch that is only ugly, it even runs the most ugly "language", if you can call it that. I'm seriously surprised it does not crash on some untested line. LOL
@cerulity32k
@cerulity32k 14 часов назад
build script ahh language
@theodricaethelfrith
@theodricaethelfrith День назад
Industrial design and UI cribbed from the Mi Band 6/7 (which costs 16* the price)
@wolpumba4099
@wolpumba4099 5 дней назад
*Summary* *1. The Terrible Smartwatch (**0:00**):* * A cheap (~$3) fitness tracker smartwatch with questionable accuracy and features. * Features include: step counter, heart rate monitor (likely fake), sleep tracker, message notifications, music control, and weather. * Connects to smartphones via Bluetooth Low Energy (BLE). * Powered by a Telink TC32 CPU with 512KB flash, 16KB RAM, and BLE hardware. *2. Disassembly and Exploration (**5:00**):* * The watch is easily disassembled revealing a simple design. * Contains a touch sensor, small screen, battery, vibration unit, and a surprisingly accessible microcontroller (MCU). * Test pads on the PCB provide access to UART, reset, SWS (Single Wire Debug) and other signals. *3. Building a Debug Interface (**9:39**):* * The author initially attempts to use an STM32 Blue Pill as a debugger following existing instructions, but encounters issues. * After troubleshooting, the author develops a custom debugger using a Raspberry Pi Pico, which proves successful (20:42). * The Pico's PIO hardware simplifies the implementation of the unique debug protocol. *4. Deep Dive into the TC32 CPU (**21:58**):* * The Telink TC32 CPU is not an ARM processor, but appears to be a close derivative of the ARM Thumb instruction set. * Analysis of the assembly code suggests the TC32 is essentially a rearranged subset of Thumb, potentially for licensing reasons. * This makes the assembly code relatively easy to understand and work with. *5. Exploring the SDK and Writing Code (**27:15**):* * The Telink SDK, while not extensively documented, is relatively straightforward and easy to use. * It provides basic functionalities like GPIO control, UART communication, and access to hardware timers. * The author demonstrates the process of writing a simple program to blink an LED and send data over UART (30:07). *6. MicroPython to the Rescue (**36:19**):* * The author successfully ports MicroPython to the smartwatch, providing a full Python environment within its limited resources. * Despite the 16KB RAM constraint, MicroPython functions well, allowing for scripting, defining functions and classes, and interacting with hardware. * The implementation includes a file system, allowing for storing and running Python scripts directly from the flash memory. *7. Challenges and Future Work (**49:25**):* * The watch's battery life is a significant concern, as the current implementation lacks proper power management and runs the CPU at full power constantly. * Implementing sleep modes and utilizing interrupts for more efficient power consumption is crucial for practical use. * The BLE stack provided in the SDK consumes a significant portion of the available RAM, limiting its practicality with MicroPython. * A more lightweight BLE stack or optimizations to the existing one are needed for Bluetooth functionality. *8. Conclusion (**1:03:30**):* * Despite some challenges, these cheap smartwatches offer an interesting platform for hacking and experimenting with embedded systems. * The accessibility of the MCU, coupled with the power of MicroPython, opens up possibilities for creating custom applications and functionalities. * Further exploration and development can unlock the full potential of these devices, potentially leading to unique and innovative projects. i used gemini 1.5 pro to summarize the transcript
@Mooskislide
@Mooskislide 3 дня назад
Never do something so low effort again.
@hjalfi
@hjalfi 2 дня назад
Thanks --- pinned!
Далее
What is the Smallest Possible .EXE?
17:57
Просмотров 105 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 2,9 млн
The Problem with Wind Energy
16:47
Просмотров 447 тыс.
Phase Linear 9500: Very early CD player.
7:32
Просмотров 19 тыс.
The Hazardous Life of an Undersea Cable
15:46
Просмотров 207 тыс.
Why is HD 1080p? | Nostalgia Nerd
20:59
Просмотров 153 тыс.
🛑 STOP! SAMSUNG НЕ ПОКУПАТЬ!
1:00
Просмотров 62 тыс.
💅🏻Айфон vs Андроид🤮
0:20
Просмотров 739 тыс.