Click here to Skip to main content
15,867,568 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: USB for Power? Pin
trønderen11-Feb-21 7:31
trønderen11-Feb-21 7:31 
GeneralRe: USB for Power? Pin
David Crow11-Feb-21 9:29
David Crow11-Feb-21 9:29 
GeneralRe: USB for Power? Pin
James Curran11-Feb-21 9:59
James Curran11-Feb-21 9:59 
GeneralRe: USB for Power? Pin
David Crow11-Feb-21 10:09
David Crow11-Feb-21 10:09 
GeneralRe: USB for Power? Pin
James Curran11-Feb-21 10:24
James Curran11-Feb-21 10:24 
GeneralRe: USB for Power? Pin
trønderen11-Feb-21 11:04
trønderen11-Feb-21 11:04 
GeneralRe: USB for Power? Pin
trønderen11-Feb-21 10:38
trønderen11-Feb-21 10:38 
GeneralRe: USB for Power? Pin
raddevus11-Feb-21 9:31
mvaraddevus11-Feb-21 9:31 
James Curran wrote:
So, the question for the electrically minded here: If all you had available to power your device was an USB cable, would that be viable?

Well, it totally depends on what you are powering, but for many things it is totally viable.

For example, I built a device that runs off my USB port that is a Arduino pro micro (with ATMega 32u4) which emulates a HID (human interface device) --in my case keyboard.

Take a look at this snapshot of it running on my computer[^] right now.

The item closest is the Arduino pro micro. The item at the back is soldered to the basic UART on the pro micro and is a Bluetooth (BT) device.

I can unlock my computer from my phone.
My Android phone (via app I wrote)
1. connects to bluetooth
2. sends password (encrypted over BT)
3. pro micro forwards the bytes sent as keystrokes on my computer (via HID)
4. unlocks my computer

It all runs off low voltage 5v powered off one USB port of my computer.

I even wrote this up as an article here on cp: Ending the Era of Weak Passwords: Never Type A Password Again (Never Memorize A Password Again)[^]

And even better here: Never Type A Password Again (The Continuing Saga)[^]
GeneralRe: USB for Power? Pin
Eddy Vluggen11-Feb-21 10:06
professionalEddy Vluggen11-Feb-21 10:06 
GeneralRe: USB for Power? Pin
trønderen11-Feb-21 11:26
trønderen11-Feb-21 11:26 
GeneralRe: USB for Power? Pin
Eddy Vluggen11-Feb-21 11:58
professionalEddy Vluggen11-Feb-21 11:58 
GeneralRe: USB for Power? Pin
Jörgen Andersson11-Feb-21 21:48
professionalJörgen Andersson11-Feb-21 21:48 
GeneralRe: USB for Power? Pin
Richard MacCutchan11-Feb-21 21:28
mveRichard MacCutchan11-Feb-21 21:28 
GeneralRe: USB for Power? Pin
James Curran11-Feb-21 23:28
James Curran11-Feb-21 23:28 
GeneralRe: USB for Power? Pin
glennPattonWork312-Feb-21 0:00
professionalglennPattonWork312-Feb-21 0:00 
GeneralRe: USB for Power? Pin
James Curran12-Feb-21 5:37
James Curran12-Feb-21 5:37 
GeneralRe: USB for Power? Pin
trønderen12-Feb-21 7:23
trønderen12-Feb-21 7:23 
GeneralRe: USB for Power? Pin
ElectronProgrammer12-Feb-21 7:53
ElectronProgrammer12-Feb-21 7:53 
GeneralRe: USB for Power? Pin
trønderen12-Feb-21 9:34
trønderen12-Feb-21 9:34 
GeneralRe: USB for Power? Pin
ElectronProgrammer13-Feb-21 7:59
ElectronProgrammer13-Feb-21 7:59 
GeneralRe: USB for Power? Pin
trønderen13-Feb-21 12:54
trønderen13-Feb-21 12:54 
GeneralRe: USB for Power? Pin
ElectronProgrammer15-Feb-21 2:41
ElectronProgrammer15-Feb-21 2:41 
GeneralRe: USB for Power? Pin
trønderen15-Feb-21 4:20
trønderen15-Feb-21 4:20 
GeneralRe: USB for Power? Pin
glennPattonWork312-Feb-21 8:08
professionalglennPattonWork312-Feb-21 8:08 
GeneralY'know Pin
Chris Maunder11-Feb-21 6:15
cofounderChris Maunder11-Feb-21 6:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.