Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A Converting 5V to ±12V

You say the only thing that will be powered by the ±12 V supplies is a comparator. The first thing I would look at is whether you really need the comparator to run from that voltage range. Presum...

posted 12mo ago by Olin Lathrop‭  ·  edited 12mo ago by Olin Lathrop‭

Answer
#2: Post edited by user avatar Olin Lathrop‭ · 2023-12-03T17:34:40Z (12 months ago)
  • You say the only thing that will be powered by the &plusmn;12 V supplies is a comparator. The first thing I would look at is whether you really need the comparator to run from that voltage range.
  • Presumably you are asking for &plusmn;12 V because that is the range of the signals being compared. Use resistors to get the signals into the 0 to 5 V range, then run the comparator off the existing 5 V supply.
  • You say the only thing that will be powered by the &plusmn;12 V supplies is a comparator. The first thing I would look at is whether you really need the comparator to run from that voltage range.
  • Presumably you are asking for &plusmn;12 V because that is the range of the signals being compared. Use resistors to get the signals into the 0 to 5 V range, then run the comparator off the existing 5 V supply.
  • <blockquote>I need comparator output to be +-12V, not 0/5V.</blockquote>
  • Then you need to explain more about your overall system. Where does this -12 V to +12 V signal go if there are no such supply voltages anywhere? This smells like an X-Y problem.
#1: Initial revision by user avatar Olin Lathrop‭ · 2023-12-03T14:34:57Z (12 months ago)
You say the only thing that will be powered by the &plusmn;12 V supplies is a comparator.  The first thing I would look at is whether you really need the comparator to run from that voltage range.

Presumably you are asking for &plusmn;12 V because that is the range of the signals being compared.  Use resistors to get the signals into the 0 to 5 V range, then run the comparator off the existing 5 V supply.