The Raspberry Pi Thread [4]


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

    badrobot said:
    Part of the fun of this project is creativity. The "chassis" of this project is actually from a disposable electric toothbrush.(I just love repurposing stuffs....lol). It is so perfect with one end holding the solenoid and the other end keeping all the wires together. So satisfying. :)
    I just need to find a nice casing for it. Probably a toothbrush tube from dollar store? :)
    Some nice creative thinking going on that's for sure. You basically turned your push pull plunger into a relay. Yes, sometimes its fun just to do something outside the box.

    The other thing that happens is people like me, with an electronics background, will often do it totally different than somebody with no electronics background. They both work, just different thought processes to get there.
      My Computer


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

    @badrobot, something to watch out for is a pulse (voltage spike) will be created when the plunger turns off. The collapsing magnetic field will generate a voltage spike in the coil. It may or may not be an issue depending on what your using to turn the coil on and off. Adding a diode is an easy fix though. https://en.wikipedia.org/wiki/Flyback_diode
      My Computer


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

    What voltage are you using to drive the plunger? If it's lower than what its rated for it will make it weak. For example if its built for a 12V signal and you use 5V, it will be running at less than half the voltage it was designed for. The higher the voltage the stronger the magnetic field generated and the more force the plunger has.
      My Computer


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

    alphanumeric said:
    What voltage are you using to drive the plunger? If it's lower than what its rated for it will make it weak. For example if its built for a 12V signal and you use 5V, it will be running at less than half the voltage it was designed for. The higher the voltage the stronger the magnetic field generated and the more force the plunger has.

    About the "pulse", good thing you mentioned, the solenoid is only 4.5v by rating but I am using a regular 5v, 0.5A charger to power it. Will it cause any issue?
    This is why I didn't put it inside the PC yet.

    The solenoid plunger is separated from switch contact points using a molten plastic (from 3D pen). So it is well insulated
      My Computer


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

    alphanumeric said:
    Some nice creative thinking going on that's for sure. You basically turned your push pull plunger into a relay. Yes, sometimes its fun just to do something outside the box.

    The other thing that happens is people like me, with an electronics background, will often do it totally different than somebody with no electronics background. They both work, just different thought processes to get there.
    The main thing here is the automation. I already have a smart plug that can communicate with Google Assistant. I also have an app that I can use to setup the flow. I just needed a mechanical device to drive with it. I have no coding knowledge to integrate a switch with Google. :)
      My Computer


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

    This might interest you Jack, https://shop.pimoroni.com/collection...ide-input-shim I do believe you have some projects with different voltage power supplies. For your LCD displays etc. This might let you run the Pi and the display off of the same power supply.
      My Computer


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

    badrobot said:
    About the "pulse", good thing you mentioned, the solenoid is only 4.5v by rating but I am using a regular 5v, 0.5A charger to power it. Will it cause any issue?
    This is why I didn't put it inside the PC yet.

    The solenoid plunger is separated from switch contact points using a molten plastic (from 3D pen). So it is well insulated
    Hard to say, switching power supply? The thing is the pulse will be the opposite polarity to the normal voltage. I think I'd add the diode just to be safe. Make sure you get the polarity correct, put it in backwards and it will short out your power supply. You want it reverse biased so its not conducting under normal circumstances.
      My Computer


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

    badrobot said:
    The main thing here is the automation. I already have a smart plug that can communicate with Google Assistant. I also have an app that I can use to setup the flow. I just needed a mechanical device to drive with it. I have no coding knowledge to integrate a switch with Google. :)
    It's what ever works for you and what your comfortable using. The electronics part would be easy peasy for me. The coding part, well maybe? I've come a long way in my use of Python, still have a long way to go to be really competent in it though.

    EDIT: If I ever get an AIY board I'll be more than happy to share my code.
      My Computer


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

    alphanumeric said:
    It's what ever works for you and what your comfortable using. The electronics part would be easy peasy for me. The coding part, well maybe? I've come a long way in my use of Python, still have a long way to go to be really competent in it though.
    Yup. My idea is ignited by that Microbot Button Pusher device I posted earler. And like you said, since I don't really have an electronics backround, the only thing I can think of is putting up stuffs together to come up with the same result... haha. Thanks for all your input.
      My Computer


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

    alphanumeric said:

    EDIT: If I ever get an AIY board I'll be more than happy to share my code.
    I am just using a regular Raspberry Pi 3 on that Google Assistant project I made. Just using the aux audio and USB mini mic with it.
      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 01:32.
Find Us




Windows 10 Forums