Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-17-2012, 12:00 PM
|
#1
|
Member
Registered: Jul 2010
Posts: 231
Rep:
|
ktechlab: Can't find voltage regulator in components.
I think I am missing some thing. How would ktechlab have all those components even the complicated ones, and not a simple 5 volt regulator.
|
|
|
08-19-2012, 12:33 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Ktechlab is still in development, and one article I read states that it's being rewritten in c++.
In my search for "ktechlab voltage regulator", I found source code for a voltage regulator in c++ and in c. You may be able to use that code to recompile your installation of ktechlab and add a voltage regulator.
As an alternative, you could look up circuit designs for voltage regulators and build one as a project. Save it and add it to your circuit(s) as needed.
Finally, when you have a design that works for you, send your code to the ktechlab devel team for possible addition to a future upgrade of ktechlab.
|
|
1 members found this post helpful.
|
08-19-2012, 01:16 PM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
The files voltageregulator.cpp, voltageregulator.h
are included in e.g. the ktechlab source code version 0.3.7
http://ktechlab.sourcearchive.com/downloads/0.3.7-3/
→ ktechlab-0.3.7.orig/src/electronics/components/*
Ktechlab-0.3.7 is available as a package for Debian Squeeze
http://packages.debian.org/squeeze/ktechlab
|
|
|
08-20-2012, 03:40 AM
|
#4
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
Sorry, I don't have (and can't currently get) ktechlab installed, but - You'd think that a voltage regulator was a pretty common component, but I'd bet, in simulation, most people, most of the time use a voltage source. Maybe they shouldn't for some particular applications, but i'd still bet that voltage sources are used most often.
- You could make your own; a series pass transistor and a Zener diode aren't exactly the most techie pile of components that you have ever seen, but that, plus maybe one or two other components, probably enable you to move on.
In the case in which, say, the timing of the reset line out of a power manager/regulator type IC was critical, you'd probably have no choice (but then you probably wouldn't find exactly the component that you want in ktechlab anyway) and then you'd have little alternative, but most of the time people will find a 'work around'.
Last edited by salasi; 08-20-2012 at 03:41 AM.
Reason: typo
|
|
|
All times are GMT -5. The time now is 04:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|