Windows 10: The Raspberry Pi Thread [4]

Page 35 of 112 FirstFirst ... 2533343536374585 ... LastLast

  1. Posts : 3,914
    insider build 10586.3 win10 pro 64
       10 Feb 2018 #341

    yeah, it amazes me how there know/remember when to use what parts of the code ,i have a hard time with English ,lol,,
    alphanumeric said: View Post
    Tried to roll in my button press shut down code but couldn't get it to work? I might have put it in the wrong location, not sure. There is a lot happing in that birthday.py file that I'm unsure about. Plus I don't want to break it so I'll just unplug that Pi to swap its original SD card back in. I run it headless. Nifty bit of coding going on in there, I must say.
      My ComputerSystem Spec

  2.    11 Feb 2018 #342

    Sorry to hear that Jack. I've been in a similar situation. My Wife's parents have both passed, and mine aren't getting any younger. My condolences.
      My ComputerSystem Spec

  3.    11 Feb 2018 #343

    Just got up at my normal time 6 AM, and realised its pouring rain outside. That means no morning walk. Ginger's not a happy dog. I'm already into my fist cup of coffee so no going back to bed. Hours to kill but can't make any noise as my wife is still asleep.
      My ComputerSystem Spec


  4. Posts : 3,914
    insider build 10586.3 win10 pro 64
       11 Feb 2018 #344

    Thank you ..
    alphanumeric said: View Post
    Sorry to hear that Jack. I've been in a similar situation. My Wife's parents have both passed, and mine aren't getting any younger. My condolences.
      My ComputerSystem Spec

  5.    11 Feb 2018 #345

    Managed to sneak a short walk in. Went down to the Open Hearth. Wasn't a sole around so I let her off the leash. She stretched her legs etc so she's happy. She was even happier when stopped at Tim's and got her a cookie, lol.

    On a more technical note I found some good info on continuous rotation servo's that might come in handy. I can drive those with PWM signals right from my Micro Bit with no need for a driver board. It's not as accurate as hardware PWM but perfectly fine for a rover etc. I think I can do the same thing (software PWM) on a Pi too.
    https://smalldevices.com.au/products...rotation-servo Some other cool stuff on that site too. I just happened on it while searching for FS90R servo.
      My ComputerSystem Spec


  6. Posts : 4,870
    Win 10 Pro x64
       12 Feb 2018 #346

    I was just looking at this servos last night for my next project.
    I am looking to build a "robotic" button pusher for fun.
    The application is straight forward: to shutdown and power on a computer by voice command. I know cortana can do this, but it can only do the powering off part.

    I will wire a momentary switch directly to the power switch pins on the motherboard. Then, use the "robotic" pusher to do the rest.

    There's one manufacturer who makes such device (Microbot Robotic Push) but it is so expensive so I am thinking of making one but without any controller board. It will be directly controlled by a power supply that toggles on and off within a specified time.
    This is what I found online: https://prota.info/microbot/push2/

    So basically, the device I am planning to put together is purely mechanical. No coding necessary. I will be using a Stringify app to program the power source which is a smart plug compatible with Google Assistant.

    Here is a rough scheme:

    Click image for larger version. 

Name:	IMG_20180212_134853.jpg 
Views:	1 
Size:	685.5 KB 
ID:	176829

    I guess a servo won't work because I would need something that can be powered with a 110v smart plug. :)

    EDIT:

    I just found the motor that I need.
    There is a 15rpm one.

    Click image for larger version. 

Name:	Screenshot_2018-02-12-13-55-50.png 
Views:	1 
Size:	198.0 KB 
ID:	176831
      My ComputerSystem Spec

  7.    12 Feb 2018 #347

    An actual servo has to be commanded to move via its signal pin. And its a digital signal that does it. It would work well because you could command it to move to push the button, then command it back again after a short pause. Fine control over how far to moves too. Can Google control the GPIO on the Pi? Does the AIY board have any input output PIN's?

    There are these though, https://www.adafruit.com/product/2941 DC Motor in Micro Servo Body. Apply 5V and it turns. It accepts all the servo attachments too. Doesn't come with any though, not sure why? I guess they assume your going to mount a wheel on them?

    Other options are an opto isolator / solid state relay. A 555 timer to do the off ,on, off. part. A quick search found this, https://shop.pimoroni.com/search?typ...id-state+relay+ You can buy just the relay part by itself, can't find a link to it at the moment. I know Pimoroni or Adafruit have them, just can't remember which one?
      My ComputerSystem Spec

  8.    12 Feb 2018 #348
      My ComputerSystem Spec


  9. Posts : 3,914
    insider build 10586.3 win10 pro 64
       12 Feb 2018 #349

    google aiy board can voice control motors and servos

    Control a motor with the AIY projects Voice HAT - The MagPi MagazineThe MagPi Magazine

    the servo pins are showing near the batteries,, you need to solder on some pins
      My ComputerSystem Spec


  10. Posts : 4,870
    Win 10 Pro x64
       12 Feb 2018 #350

    Heys guys... thanks for the cool ideas. @alphanumeric, that mini push-pull solenoid looks promising.

    I have a little bit of progress today. I got the motor that I posted above. It is a 110v motor, so I can plug it directly to a wifi plug that is Google Assistant compatible.
    It looks like this:

    Click image for larger version. 

Name:	image.png 
Views:	10 
Size:	90.4 KB 
ID:	176875

    This will be the brain of the motor that will communicate with the Google Assistant.
    I created a Stringify flow to control the rotation and it is looking good so far. I think, my design will actually work.
    Here's the video of how I will control the motor by voice command using my Google Assistant project:

      My ComputerSystem Spec


 
Page 35 of 112 FirstFirst ... 2533343536374585 ... LastLast

Related Threads
The Raspberry Pi Thread [3] in Chillout Room
Continued From - The Raspberry Pi Thread - Page 208 - Windows 10 Forums A black version of the Pi Zero case would be nice. Or white even.
The Raspberry Pi Thread [2] in Chillout Room
Continued from - The Raspberry Pi Thread - Windows 10 Forums (200 page limit) Looks like my error message is Configuring network interfaces... ioctl: Operation not permitted. I also get a ioctl: invalid argument, I get two of them, whatever...
Hello ladies andgents! :cool: @z3r010 from SevenForums pointed mehere to share this project, but since I don't want to interrupt yourdiscussions on The Raspberry Pi Thread , I thought it would be better to create a new thread. :) It's a cool...
The Raspberry Pi Thread in Chillout Room
After spaming this thread , https://www.tenforums.com/windows-10-news/3950-new-raspberry-pi-2-now-windows-10-support.html I figured a new thread may be in order. I have a B+ and one of the new model 2 B's. I just fired up Raspbian on the new one to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:19.
Find Us