[chbot] Power control of USB socket

Charles Manning cdhmanning at gmail.com
Fri Sep 29 07:24:26 BST 2023


If you are doing this professionally then consider an Acroname hub. It is a
USB hub with a control interface. You can turn ports on and off as well as
monitor voltage and current.
We use these for automated test farms.

On Fri, 29 Sep 2023, 19:21 Charles Manning, <cdhmanning at gmail.com> wrote:

> I use an STM32 BluePill with a USB CDC (serial) stack on it to control
> GPIOs.  Those could then control a relay or FET to interrupt power.
> I would think that for most devices interrupting power is enough.
>
>
> On Fri, 29 Sep 2023, 15:45 Synco Reynders, <synco.reynders at gmail.com>
> wrote:
>
>> If your workstation is linux, you could add a script around the following:
>>
>> https://superuser.com/questions/1707773/how-to-turn-usb-connected-device-on-and-off-in-linux
>> /s
>>
>> On Fri, 29 Sept 2023 at 13:41, Andrew Sands <andrew at theatrix.org.nz>
>> wrote:
>>
>>> Hi all list dwellers,
>>>
>>> Given my Goggle fu has failed me, I now have a request for those clever
>>> people whom are subscribed to this list.
>>>
>>> Like many of you, I have the odd project or two that connects a
>>> microcontroller to a USB port for communication and power. As my work area
>>> is mostly in my garage which is separate from my house, a major amount of
>>> programming is done my remotely accessing a workstation which has the
>>> project connected to it.
>>>
>>> What I'm looking for is either a device, module or even a circuit
>>> diagram of something that would enable me to disconect the USB power to
>>> this down stream device.
>>>
>>> Thanks for reading,
>>>
>>> Andrew
>>> (022)681 6655
>>>
>>> _______________________________________________
>>> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
>>> https://lists.ourshack.com/mailman/listinfo/chchrobotics
>>> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
>>> Meetings usually 3rd Monday each month. See http://kiwibots.org for
>>> venue, directions and dates.
>>> When replying, please edit your Subject line to reflect new subjects.
>>
>>
>> _______________________________________________
>> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
>> https://lists.ourshack.com/mailman/listinfo/chchrobotics
>> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
>> Meetings usually 3rd Monday each month. See http://kiwibots.org for
>> venue, directions and dates.
>> When replying, please edit your Subject line to reflect new subjects.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20230929/6b2e1b1e/attachment.html>


More information about the Chchrobotics mailing list