I invented Chow Check to help my negligent friend

  Рет қаралды 3,498

byte sized engineering

byte sized engineering

Күн бұрын

Пікірлер: 19
@CuttingOutBack
@CuttingOutBack 11 ай бұрын
Fantastic! This has so many applications. Maybe a version for elderly people to remember to take pills.
@Ernzt8
@Ernzt8 10 ай бұрын
I think the "Previous State" function is very smart. Nice!
@makermelissa
@makermelissa 9 ай бұрын
My cats already have built in reminders.
@JonathanRansom
@JonathanRansom 11 ай бұрын
Cute dog!
@Triad3DStudio
@Triad3DStudio 11 ай бұрын
Very cool!!!! 😃👍
@JCWren
@JCWren 11 ай бұрын
If they're worrying about feeding the dog, I hope they're worrying a little more about making she gets outside to do her business :) Also, my three GSDs are VERY good at reminding me that I haven't fed them. Often they'll remind me even if I >have< fed them...
@RandomBogey
@RandomBogey 11 ай бұрын
Oh shoot, this reminded me I haven’t fed my kids today…
@wadefallin
@wadefallin 10 ай бұрын
Zack, have you entertained the idea of making several of these and making them available for purchase on your merch site? Just a thought! Regardless, I will let my friends at the dog park know about this idea and see if I can send some business your way, if you want it…. Great idea and video!
@bytesizedengineering
@bytesizedengineering 10 ай бұрын
I have considered it, but the BOM cost is a little high. I have some ideas to make it a little more affordable. Whoever buys it would probably need to be a maker. This isn't really ready to be a general consumer product
@OffGridOverLander
@OffGridOverLander 11 ай бұрын
That’s gonna be one fat dog! 🤣
@Mr76Pontiac
@Mr76Pontiac 11 ай бұрын
You're hitting an NTP server every loop? That ain't cool. I'd do a polling mechanism. Have it get the initial NTP request, count to some arbitrary large-ish number, get another NTP request, see how many seconds (Maybe even msec depending on the resolution provided by the server) have passed, then you know how long to wait (roughly) before hitting the next NTP request. As a network and service admin, I hate it when applications beat the snot out of services like that. Not to mention, since you're using wireless, that's going to chew up a lot of the spectrum. It'd be like "Ok, what time is it now? Ok. Going to count to a million. Done, what time is it now? Took me 10 seconds? Ok. Based on that, I can count to 100,000 each second. From there, if I wait 60,000,000, I can check what time it is and then do the button check. Wait... I'm a little long or short? I can adjust the base number of cycles per second and recheck later or earlier next time."
@evanbarnes9984
@evanbarnes9984 11 ай бұрын
I'm not sure which NTP library he's using, but it's probably the same one I used in a recent project, and it implements that behavior by default. You call timeclient.update() every loop, but the library only hits up the NTP server once every minute (I think, I don't quite recall the default polling interval).
@drstefankrank
@drstefankrank 11 ай бұрын
Easiest way is to set a global variable for each task you do not every time in a loop to millis() which gives you the runtime in milliseconds the microcontroller booted. During the loop you can check if the difference between the stored value and the current value of millis() to be greater than whatever you need. No manual loop calibration needed, which may be optimized to nothing by the compiler by chance if you aren't doing anything during the count with the value. The other option is to use threads which can use a delay function only blocking themselves, but this may require to use mutexes to avoid concurrent access to the same resources and thus may complicate things a lot. I only use it if the main loop introduce timing inconsistencies for some functions that require a fairly fixed interval.
@Mr76Pontiac
@Mr76Pontiac 11 ай бұрын
​@@drstefankrankIf its a 64-bit integer, then that makes sense. If there's a guard in the NTP library that protects against just slamming the heck out of the NTP server I'm good with that.
@JCWren
@JCWren 11 ай бұрын
@@evanbarnes9984The update interval is 60 seconds by default. That is FAR too often to be bothering an NTP server. These CPUs have stable enough clocks that every 6 hours would be plenty.
@markwebcraft
@markwebcraft 10 ай бұрын
Cool project, but dogs don't eat 3 times a day... Their metabolism is much slower than our is and this will cause them to gain a lot of extra weight.
@ThePlexman
@ThePlexman 7 ай бұрын
Puppy’s do in fact 4 smaller feeds a day until 4 months old
@jonathansteury
@jonathansteury 11 ай бұрын
First!
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Building a blast gate that opens when I turn on my tools
14:57
byte sized engineering
Рет қаралды 6 М.
Micronics SLS nylon 3D printer makes electronic circuits
19:08
Applied Science
Рет қаралды 172 М.
I finally cracked the safe! - Safe Cracking Robot Part 4
18:07
byte sized engineering
Рет қаралды 29 М.
Who would pay $120 for a Raspberry Pi?
9:31
Jeff Geerling
Рет қаралды 318 М.
A laser powered by tiny molecular springs (2^16)
27:40
AlphaPhoenix
Рет қаралды 370 М.
The Mathematician So Strange the FBI Thought He Was a Spy
13:11
Another cheap scope: $18, shipped! (FNIRSI DSO152)
51:30
Adrian's Digital Basement
Рет қаралды 449 М.
How to Learn Logical Redstone [Full Guide]
2:46:01
mattbatwings
Рет қаралды 214 М.
There's more than one way to skin a robot! - Life Size Rock'em Sock'em Robots Part 3
11:59
Photolithography on Silicon with PCB Chemicals
25:31
ProjectsInFlight
Рет қаралды 63 М.