The Raspberry Pi Thread [4]


  1. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #411

    Just saw this in the Pi Weekly news letter, Basic Servo Use With the Raspberry Pi and GpioZero. I don't use GPIOZero but looks like some god info anyway.
    https://www.raspberrypi-spy.co.uk/20...-raspberry-pi/
      My Computer


  2. Posts : 5,286
    Win 10 Pro x64
       #412

    alphanumeric said:
    Just saw this in the Pi Weekly news letter, Basic Servo Use With the Raspberry Pi and GpioZero. I don't use GPIOZero but looks like some god info anyway.
    https://www.raspberrypi-spy.co.uk/20...-raspberry-pi/
    Thought about using servo motor for my smart PC switch project but that would mean the Pi will always be on.

    Here's a video showing basic servo contols with voice command. It starts at 0:30

      My Computer


  3. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #413

    Not sure what you mean by "but that would mean the Pi will always be on." ? Just so you know, the servo stays in what ever position its currently in when you remove power. It only ever moves when commanded to by the signal pin.

    Thanks for that video, I will be getting myself the actual AIY board at some point. I have other things I need first though. And my budget for this type of stuff is limited.
      My Computer


  4. Posts : 5,286
    Win 10 Pro x64
       #414

    alphanumeric said:
    Not sure what you mean by "but that would mean the Pi will always be on." ? Just so you know, the servo stays in what ever position its currently in when you remove power. It only ever moves when commanded to by the signal pin.

    Thanks for that video, I will be getting myself the actual AIY board at some point. I have other things I need first though. And my budget for this type of stuff is limited.
    My purpose is automation. Which means, the pi that controls the servo should always be on stand by for my command.
    With the smart plug, it goes to sleep and wakes up when it receives a signal from my
    command.
      My Computer


  5. Posts : 5,286
    Win 10 Pro x64
       #415

    If I have a blue LED (3.3Vf), 5V power supply with 0.5A current, what resistor to I need for the LED? 10 ohms? Is there anything less than 10 ohms?
      My Computer


  6. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #416

    5V - 3.3v = 1.7 V across the resistor. 50ma is 0.05 A. R=V/I 1.7/0.05 = 34 ohms. But is that 50ma what the LED wants or what your power supply can provide. 50ma seems high? I believe I used 220 ohm with my 10 mm Blue LED. The more current the brighter it gets, up to a point. Go too high and it burns out.
    Have a look at this, https://www.evilmadscientist.com/201...tors-for-leds/
      My Computer


  7. Posts : 5,286
    Win 10 Pro x64
       #417

    alphanumeric said:
    5V - 3.3v = 1.7 V across the resistor. 50ma is 0.05 A. R=V/I 1.7/0.05 = 34 ohms. But is that 50ma what the LED wants or what your power supply can provide. 50ma seems high? I believe I used 220 ohm with my 10 mm Blue LED. The more current the brighter it gets, up to a point. Go too high and it burns out.
    Have a look at this, https://www.evilmadscientist.com/201...tors-for-leds/
    It's a phone charger power supply so it's 500mA?
      My Computer


  8. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #418

    A quick google search found this, https://www.sparkfun.com/products/11372 3.4V and a rated forward current of 30mA.
      My Computer


  9. Posts : 5,286
    Win 10 Pro x64
       #419

    alphanumeric said:
    A quick google search found this, https://www.sparkfun.com/products/11372 3.4V and a rated forward current of 30mA.
    Ok. Thanks. I need 68ohms (using 25mA instead of 30mA). I thought it's the power supply's current that we need to account for.
      My Computer


  10. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #420

    badrobot said:
    Ok. Thanks. I need 68ohms. I thought it's the power supply's current that we need to account for.
    I have to correct what I aid above, I'm using 22 ohms not 220. They are Red, Red, Black. As near as I can tell anyway, I don't have an ohm meter handy to measure them. I'm partially color blind and they are behind a diffuser.
      My Computer


 

  Related Discussions
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 08:13.
Find Us




Windows 10 Forums