Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - evilkos

Pages: 1
General Discussion / Recommended 3D printing materials and method
« on: July 25, 2020, 01:54:21 AM »

TL;DR : do you know what material and method is used by TinyCircuits to 3D print the enclosures for Tiny TV and Tiny watch? Or any other recommendations? Would be neat if this was mentioned next to the 3D files offered.

I'm making a device for a present based on TinyScreen+. At first I was able to use the enclosure from the TinyWatch DIY kit (had to whip out my file). It actually worked really well, the material was sturdy and flexible enough, precisely and cleably printed. But I needed a longer battery life so I decided to fiddle with the 3D model (started from the Tiny TV model actually) and changed it to suit my specific device. Now that I need to print it, it turns out it's not that simple. I don't know anything about 3D printing and I decided to just put a couple of orders though local consumer 3D printing firms. But so far I'm unimpressed with their work compared to what I got as part of the TinyWatch DIY kit.

From a couple of tries I had the 3d firns do, it looks like "FDM ABS" is not precise enough, and "Resin" is better, but still a bit rough and looks like rubber (way too flexible).

TinyDuino Processors & TinyShields / Sleep for 300ms
« on: July 22, 2019, 11:04:41 AM »
Hey Tiny... Duiners!?

I'm doing a fairly simple virtual pet "game" using TinyScreen+ (Video Player kit). It's mostly short processed videos of our pet in an interactive shell so that it's kind of "alive" and has "needs" (tamagotchi like). Still WIP, I have a strict deadline for a gift to my wife :))

Would be neat to make it less power hungry. How do you make TinyScreen+ sleep for, say, 300ms (consuming very minimal power)? I think I figured out how to do deep sleep interrupted by press of a button:

    attachInterrupt(TSP_PIN_BT1, blink, LOW);
    attachInterrupt(TSP_PIN_BT2, blink, LOW);
    attachInterrupt(TSP_PIN_BT3, blink, LOW);
    attachInterrupt(TSP_PIN_BT4, blink, LOW);;
    delay(500); // Just to ignore the already pressed button for 0.5s
I'm pretty new at C++ and embedded. Looks as if this works (does it look so to you?), but still measuring the battery life with and without this mode on. What I cannot figure out though, is how to make it wake up by itself, say in 300ms? I know I need to crank up some magic clocks like TC5 and fiddle with some register, but I decided to not read the entire datasheet for SAMD21 just yet and ask if maybe some one has a routine handy for sleeping? And all of that is assuming that the built-in "delay" function is not good. I looked at its source code and it looks like it's just a `while` loop, so must be burning through these mAh pretty quick.

Willing to keep doing my research, but hit a roadblock for now, tough to get oriented in the world of C++ in a couple of weeks (I'm a .NET dev)

Pages: 1
SMF spam blocked by CleanTalk