From: Svjatoslav Agejenko Date: Sat, 2 Jan 2021 22:41:05 +0000 (+0200) Subject: Documented alternative USB layout. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=physical.git;a=commitdiff_plain;h=7b9f5c290553f6d5a7a157ceb150ed82c45815bb Documented alternative USB layout. --- diff --git a/misc/12V Lead-Acid battery changer and terminal/connector terminal/USB hack.png b/misc/12V Lead-Acid battery changer and terminal/connector terminal/USB hack.png deleted file mode 100644 index 842a1b2..0000000 Binary files a/misc/12V Lead-Acid battery changer and terminal/connector terminal/USB hack.png and /dev/null differ diff --git a/misc/12V Lead-Acid battery changer and terminal/index.html b/misc/12V Lead-Acid battery changer and terminal/index.html index 1a4104f..755b5eb 100644 --- a/misc/12V Lead-Acid battery changer and terminal/index.html +++ b/misc/12V Lead-Acid battery changer and terminal/index.html @@ -2,7 +2,7 @@ Battery charger and dual power supply unit - + @@ -242,10 +242,10 @@ DESIGNS AT YOUR OWN RISK.

I needed dual voltage power supply for my lab that runs on mains -electricity (wall power) and slowly charges attached 12V Lead-Acid -battery. Lead-acid battery in turn provides high current when needed -as well as power in portable situations or when mains electricity is -not available. +electricity (wall power) and slowly charges (use-changing) attached +12V Lead-Acid battery. Lead-acid battery in turn provides high current +when needed as well as power in portable situations or when mains +electricity is not available.

@@ -259,13 +259,13 @@ Power supply provides about 13 Volts and 5 Volts simultaneously.

-!!!WARNING!!! I use USB-A connectors for power output, but IT IS NOT -COMPATIBLE WITH USB DEVICES AND POSSIBLY WITH EXISTING USB CABLES. +!!!WARNING!!! Alternative and incompatible USB wiring/layout is +being used here.

-Normal USB devices and cables should not be plugged in! It would -damage device/cable and likely power supply. +Normal USB devices and cables should not be plugged in! It would +damage device/cable and likely power supply.

@@ -276,15 +276,18 @@ totally incompatible electrical wiring.

-

USB%20hack.png +

schematic.png

As seen, it has dual voltage output. Additionally one wire is -dedicated to data transmission and can be used with 1-wire -protocol. Power supply simply passively links all data wires together -but does not participate in communication. +dedicated to data transmission and can be used with 1-Wire protocol +

+ +

+1-Wire data router/hub is really simple. Power supply simply passively +links all data wires together.

@@ -673,7 +676,7 @@ Happy building! :)

diff --git a/misc/12V Lead-Acid battery changer and terminal/index.org b/misc/12V Lead-Acid battery changer and terminal/index.org index 36baa7f..d14cca2 100644 --- a/misc/12V Lead-Acid battery changer and terminal/index.org +++ b/misc/12V Lead-Acid battery changer and terminal/index.org @@ -32,31 +32,32 @@ * Project description I needed dual voltage power supply for my lab that runs on mains -electricity (wall power) and slowly charges attached 12V Lead-Acid -battery. Lead-acid battery in turn provides high current when needed -as well as power in portable situations or when mains electricity is -not available. +electricity (wall power) and slowly charges (use-changing) attached +12V Lead-Acid battery. Lead-acid battery in turn provides high current +when needed as well as power in portable situations or when mains +electricity is not available. [[file:make.png]] Power supply provides about 13 Volts and 5 Volts simultaneously. -!!!WARNING!!! I use USB-A connectors for power output, but IT IS NOT -COMPATIBLE WITH USB DEVICES AND POSSIBLY WITH EXISTING USB CABLES. +*!!!WARNING!!!* [[../alternative%20USB%20layout/][Alternative and incompatible USB wiring/layout]] is +being used here. -Normal USB devices and cables should not be plugged in! It would -damage device/cable and likely power supply. +*Normal USB devices and cables should not be plugged in! It would +damage device/cable and likely power supply.* I found USB-A connectors to be easily available, cheap, reliable and functional, so I re-purposed connector for my own needs but I'm using totally incompatible electrical wiring. -[[file:connector%20terminal/USB%20hack.png]] +[[file:../alternative%20USB%20layout/schematic.png]] As seen, it has dual voltage output. Additionally one wire is -dedicated to data transmission and can be used with [[https://en.wikipedia.org/wiki/1-Wire][1-wire]] -protocol. Power supply simply passively links all data wires together -but does not participate in communication. +dedicated to data transmission and can be used with [[https://en.wikipedia.org/wiki/1-Wire][1-Wire]] protocol + +1-Wire data router/hub is really simple. Power supply simply passively +links all data wires together. Power supply uses 3D printed body with lots of holes, for fanless cooling. diff --git a/misc/alternative USB layout/index.html b/misc/alternative USB layout/index.html new file mode 100644 index 0000000..9bbc08e --- /dev/null +++ b/misc/alternative USB layout/index.html @@ -0,0 +1,349 @@ + + + +Alternative (and incompatible) layout for USB connectors + + + + + + + + + + + + + +
+

Alternative (and incompatible) layout for USB connectors

+ +
+

1 General

+
+ +
+
+ +
+

2 Project description

+
+

+Warning! Here I describe a hack that I personally found useful for +my own needs. But it is dangerous. Not to be replicated unless you +know that you are doing. +

+ + + +
+

make.png +

+
+ +

+I needed a way to power various devices I build. +

+ +

+Requirements: +

+ +
    +
  • Reliable. +
  • +
  • Cheap. +
  • +
  • Easy to use. +
  • +
  • Popular and highly available. +
  • +
  • Ability to draw significant current directly from 12V cheap, popular +and powerful lead-acid battery (optionally off-grid). Useful for +powerful electric motors, heaters, soldering irons, radio +transmitters, etc. +
  • +
  • Ability to draw limited but stabilized 5V power. Good for digital +circuits. +
  • +
  • Ability to have limited and simple 1-wire digital communication. +
  • +
+ +

+USB Type A connectors are best match that I found. +

+ +

+The main problem is, I like USB connectors but I want to use different +and incompatible electrical layout with them. +

+ +

+Connecting proper USB power supplies, devices and even cables to the +ones that use alternative electrical layout would do damage!!! +

+ +

+To avoid accidental mismatches, I mark all connectors/cables and devices that +use alternative wiring with printed, laminated warning stickers. +

+ +

+Alternative wiring schematic: +schematic.png +

+ +
    +
  • Outer shell is ground. +
  • +
  • 2 central pins are re-purposed to deliver +12V and high power. +
  • +
  • 1 pin is for limited power +5V. +
  • +
  • 1 pin for 1-Wire data. +
  • +
+ + +

+Example warning marking on device to indicate that alternative USB +layout is used here: +

+ + +
+

make,%202.png +

+
+
+
+
+ + + diff --git a/misc/alternative USB layout/index.org b/misc/alternative USB layout/index.org new file mode 100644 index 0000000..307892e --- /dev/null +++ b/misc/alternative USB layout/index.org @@ -0,0 +1,81 @@ +#+TITLE: Alternative (and incompatible) layout for USB connectors +#+author: Svjatoslav Agejenko +#+LANGUAGE: en + +* (document settings) :noexport: +** use dark style for TWBS-HTML exporter +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: + +* General ++ DISCLAIMER: I DO ELECTRONICS AND 3D DESIGN SOLELY AS A HOBBY. THERE + COULD BE ERRORS THAT CAN RESULT IN ALL KINDS OF DAMAGE. USE THESE + DESIGNS AT YOUR OWN RISK. + ++ This design is released under Creative Commons Zero (CC0) license. + ++ Authors: + - Svjatoslav Agejenko + - Homepage: https://svjatoslav.eu + - Email: [[mailto://svjatoslav@svjatoslav.eu][svjatoslav@svjatoslav.eu]] + + - Valeria Agejenko + ++ See also: + - [[../../index.html][Other physical projects in this repository]] + - [[https://www.svjatoslav.eu/projects/][Other projects hosted at svjatoslav.eu]] + +* Project description + +*Warning!* Here I describe a hack that I personally found useful for +my own needs. But it is dangerous. Not to be replicated unless you +know that you are doing. + + +[[file:make.png]] + +I needed a way to power various devices I build. + +Requirements: + +- Reliable. +- Cheap. +- Easy to use. +- Popular and highly available. +- Ability to draw significant current directly from 12V cheap, popular + and powerful lead-acid battery (optionally off-grid). Useful for + powerful electric motors, heaters, soldering irons, radio + transmitters, etc. +- Ability to draw limited but stabilized 5V power. Good for digital + circuits. +- Ability to have limited and simple 1-wire digital communication. + +USB Type A connectors are best match that I found. + +The main problem is, I like USB connectors but I want to use different +and incompatible electrical layout with them. + +*Connecting proper USB power supplies, devices and even cables to the +ones that use alternative electrical layout would do damage!!!* + +To avoid accidental mismatches, I mark all connectors/cables and devices that +use alternative wiring with [[file:stickers.png][printed, laminated warning stickers]]. + +Alternative wiring schematic: +[[file:schematic.png]] + +- Outer shell is ground. +- 2 central pins are re-purposed to deliver +12V and high power. +- 1 pin is for limited power +5V. +- 1 pin for 1-Wire data. + + +Example warning marking on device to indicate that alternative USB +layout is used here: + +[[file:../lab%20heater%20and%20cooler/make,%202.png]] diff --git a/misc/alternative USB layout/schematic.png b/misc/alternative USB layout/schematic.png new file mode 100644 index 0000000..842a1b2 Binary files /dev/null and b/misc/alternative USB layout/schematic.png differ