believe me, as a full time worker, as much as I love my cat, it is kinda exhaust to play with him, but nonetheless I still want him to be amused,happy, and therefore this is awsome
This guy doesn't answer his comments :(. I just made one. You want a 180 servo motor. I got mine from Digi-key. I can't find the link to the actual one I bought but I think mine might be a little wimpy anyway. Whatever - they are cheap enough so I'll just replace it if need be. Good luck.
This guy doesn't seem to answer...I was going to ask where he got the plastic strut...anyway - a bit late - but I made one. Here's my code: #include Servo servo; long pos = 0; long delayMs = 0; void setup() { randomSeed(analogRead(0)); servo.attach(9); Serial.begin(115200); const char *helloWorld = {"Hello world."}; Serial.println(helloWorld); } void loop() { static int elapsedSeconds = 0; // random position - 0 to 180 pos = random(180); // random delay - 500 to 1500 miliseconds delayMs = random(500, 1500); // set the angle and wait servo.write(pos); delay(delayMs); }
The dude doesn't answer his own channel - but here's the code for mine. Hope it helps. #include Servo servo; long pos = 0; long delayMs = 0; void setup() { randomSeed(analogRead(0)); servo.attach(9); Serial.begin(115200); const char *helloWorld = {"Hello world."}; Serial.println(helloWorld); } void loop() { static int elapsedSeconds = 0; // random position - 0 to 180 pos = random(180); // random delay - 500 to 1500 miliseconds delayMs = random(500, 1500); // set the angle and wait servo.write(pos); delay(delayMs); }
Me too. I asked this youtuber to please have more Nara video when he was alive even if it was not about DIY stuff, just videos of him sleeping or doing something else because I said time was ticking for the senior cat. But I guess, he wants his content to be more about DIY stuff instead of more stories about his cats.
Ha - you are the third person who asked for this. Too bad the guy who owns the channel doesn't respond :( but I made one of these - here's my code. #include Servo servo; long pos = 0; long delayMs = 0; void setup() { randomSeed(analogRead(0)); servo.attach(9); Serial.begin(115200); const char *helloWorld = {"Hello world."}; Serial.println(helloWorld); } void loop() { static int elapsedSeconds = 0; // random position - 0 to 180 pos = random(180); // random delay - 500 to 1500 miliseconds delayMs = random(500, 1500); // set the angle and wait servo.write(pos); delay(delayMs); }